![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de UsersModelLogin:Fonctions membres publiques | |
| getForm ($data=array(), $loadData=true) | |
Fonctions membres protégées | |
| loadFormData () | |
| populateState () | |
| preprocessForm (JForm $form, $data, $group='user') | |
Rest model class for Users.
| getForm | ( | $data = array(), |
|
$loadData = true |
|||
| ) |
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.
| array | $data | An optional array of data for the form to interrogate. |
| boolean | $loadData | True if the form is to load its own data (default case), false if not. |
Références $form.
|
protected |
|
protected |
Method to auto-populate the model state.
Calling getState in this method will result in recursion.
Références $params.
|
protected |
Override JModelAdmin::preprocessForm to ensure the correct plugin group is loaded.
| JForm | $form | A JForm object. |
| mixed | $data | The data expected for the form. |
| string | $group | The name of the plugin group to import (defaults to "content"). |
| Exception | if there is an error in the form event. |