Class LoginModelLogin

Description

Login Model

  • since: 1.5

Located in /administrator/components/com_login/models/login.php (line 19)

JObject
   |
   --JModelLegacy
      |
      --LoginModelLogin
Method Summary
 static object The getLoginModule ([string $name = 'mod_login'], [string $title = null])
 static array _load ( $module, string $name)
 void populateState ()
Variables
Methods
static getLoginModule (line 66)

Get the administrator login module by name (real, eg 'login' or folder, eg 'mod_login')

  • return: Module object
  • since: 11.1
  • access: public
static object The getLoginModule ([string $name = 'mod_login'], [string $title = null])
  • string $name: The name of the module
  • string $title: The title of the module, optional
static _load (line 115)

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.

  • since: 11.1
  • access: protected
static array _load ( $module, string $name)
  • string $name: The name of the module
  • $module
populateState (line 28)

Method to auto-populate the model state.

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

  • since: 1.6
  • access: protected
void populateState ()

Redefinition of:
JModelLegacy::populateState()
Method to auto-populate the model state.

Inherited Methods

Inherited From JModelLegacy

 JModelLegacy::__construct()
 JModelLegacy::addIncludePath()
 JModelLegacy::addTablePath()
 JModelLegacy::cleanCache()
 JModelLegacy::getDbo()
 JModelLegacy::getInstance()
 JModelLegacy::getName()
 JModelLegacy::getState()
 JModelLegacy::getTable()
 JModelLegacy::loadHistory()
 JModelLegacy::populateState()
 JModelLegacy::setDbo()
 JModelLegacy::setState()
 JModelLegacy::_createFileName()
 JModelLegacy::_createTable()
 JModelLegacy::_getList()
 JModelLegacy::_getListCount()

Inherited From JObject

 JObject::__construct()
 JObject::def()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::__toString()

Documentation generated on Tue, 19 Nov 2013 15:07:27 +0100 by phpDocumentor 1.4.3