[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2010 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 155 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
LoginModel:: (5 methods):
getForm()
loadFormData()
populateState()
preprocessForm()
getMenuLanguage()
Class: LoginModel - X-Ref
Login model class for Users.getForm($data = array() X-Ref |
Method to get the login form. The base form is loaded from XML and then an event is fired for users plugins to extend the form with extra fields. param: array $data An optional array of data for the form to interrogate. param: boolean $loadData True if the form is to load its own data (default case), false if not. return: Form A Form object on success, false on failure |
loadFormData() X-Ref |
Method to get the data that should be injected in the form. return: array The default data is an empty array. |
populateState() X-Ref |
Method to auto-populate the model state. Calling getState in this method will result in recursion. return: void |
preprocessForm(Form $form, $data, $group = 'user') X-Ref |
Override Joomla\CMS\MVC\Model\AdminModel::preprocessForm to ensure the correct plugin group is loaded. param: Form $form A Form object. param: mixed $data The data expected for the form. param: string $group The name of the plugin group to import (defaults to "content"). return: void |
getMenuLanguage(int $id) X-Ref |
Returns the language for the given menu id. param: int $id The menu id return: string |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |