[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_login/src/Model/ -> LoginModel.php (summary)

(no description)

Copyright: (C) 2009 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 200 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

LoginModel:: (3 methods):
  populateState()
  getLoginModule()
  _load()


Class: LoginModel  - X-Ref

Login Model

populateState()   X-Ref
Method to auto-populate the model state.

Note. Calling getState in this method will result in recursion.

return: void

getLoginModule($name = 'mod_login', $title = null)   X-Ref
Get the administrator login module by name (real, eg 'login' or folder, eg 'mod_login').

param: string  $name   The name of the module.
param: string  $title  The title of the module, optional.
return: object  The Module object.

_load($module)   X-Ref
Load login modules.

Note that we load regardless of state or access level since access
for public is the only thing that makes sense since users are not logged in
and the module lets them log in.
This is put in as a failsafe to avoid super user lock out caused by an unpublished
login module or by a module set to have a viewing access level that is not Public.

param: string  $module  The name of the module.
return: array



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer