Joomla CMS
2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
activate ($token) | |
getData () | |
getForm ($data=array(), $loadData=true) | |
register ($temp) | |
Fonctions membres publiques inherited from JModelForm | |
checkin ($pk=null) | |
checkout ($pk=null) | |
validate ($form, $data, $group=null) | |
Fonctions membres publiques inherited from JModel | |
__construct ($config=array()) | |
getDbo () | |
getName () | |
getState ($property=null, $default=null) | |
getTable ($name= '', $prefix= 'Table', $options=array()) | |
setDbo (&$db) | |
setState ($property, $value=null) | |
Fonctions membres publiques inherited from JObject | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
toString () |
Fonctions membres protégées | |
loadFormData () | |
preprocessForm (JForm $form, $data, $group= 'user') | |
populateState () | |
Fonctions membres protégées inherited from JModelForm | |
loadForm ($name, $source=null, $options=array(), $clear=false, $xpath=false) | |
Fonctions membres protégées inherited from JModel | |
_getList ($query, $limitstart=0, $limit=0) | |
_getListCount ($query) | |
_createTable ($name, $prefix= 'Table', $config=array()) | |
cleanCache ($group=null, $client_id=0) |
Attributs protégés | |
$data | |
Attributs protégés inherited from JModelForm | |
$_forms = array() | |
Attributs protégés inherited from JModel | |
$__state_set = null | |
$_db | |
$name | |
$option = null | |
$state | |
$event_clean_cache = null | |
Attributs protégés inherited from JObject | |
$_errors = array() |
UsersModelRegistration::activate | ( | $token | ) |
Method to activate a user account.
string | The activation token. |
Références $base, $config, $data, $db, $id, $query, $return, $row, $uri, $user, $userId, JText\_(), elseif, JUserHelper\genRandomPassword(), JFactory\getConfig(), JApplication\getHash(), JURI\getInstance(), JFactory\getMailer(), JComponentHelper\getParams(), JFactory\getUser(), JPluginHelper\importPlugin(), et JText\sprintf().
UsersModelRegistration::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, $params, JFactory\getApplication(), JDispatcher\getInstance(), JComponentHelper\getParams(), JPluginHelper\importPlugin(), et null.
UsersModelRegistration::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 interogate. |
boolean | $loadData | True if the form is to load its own data (default case), false if not. |
Réimplémentée à partir de JModelForm.
|
protected |
Method to get the data that should be injected in the form.
Réimplémentée à partir de JModelForm.
|
protected |
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.
Réimplémentée à partir de JModel.
Références $app, $params, et JFactory\getApplication().
|
protected |
Override preprocessForm to load the user plugin group instead of content.
object | A form object. |
mixed | The data expected for the form. |
Exception | if there is an error in the form event. |
Réimplémentée à partir de JModelForm.
Références $data, JComponentHelper\getParams(), et JForm\loadFile().
UsersModelRegistration::register | ( | $temp | ) |
Method to save the form data.
array | The form data. |
Références $base, $config, $data, $db, $params, $query, $return, $row, $uri, $user, JText\_(), elseif, JUserHelper\genRandomPassword(), JFactory\getConfig(), JApplication\getHash(), JURI\getInstance(), JFactory\getMailer(), JComponentHelper\getParams(), JPluginHelper\importPlugin(), et JText\sprintf().
|
protected |