Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct ($config=array()) | |
getUserIdFromToken ($token) | |
activate ($token) | |
getData () | |
getForm ($data=array(), $loadData=true) | |
register ($temp) | |
Fonctions membres protégées | |
loadFormData () | |
preprocessForm (JForm $form, $data, $group='user') | |
populateState () | |
Attributs protégés | |
$data | |
Registration model class for Users.
__construct | ( | $config = array() | ) |
Constructor
array | $config | An array of configuration options (name, state, dbo, table_path, ignore_request). |
Exception |
Références $config.
activate | ( | $token | ) |
getData | ( | ) |
Method to get the registration form data.
The base form data is loaded and then an event is fired for users plugins to extend the data.
Références $app, $data, $dispatcher, $form, $key, $params, $results, elseif, JEventDispatcher\getInstance(), et null.
getForm | ( | $data = array() , |
|
$loadData = true |
|||
) |
Method to get the registration 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.
getUserIdFromToken | ( | $token | ) |
|
protected |
Method to get the data that should be injected in the form.
Références $data.
|
protected |
|
protected |
Override preprocessForm to load the user plugin group instead of content.
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. |
register | ( | $temp | ) |
|
protected |