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 | |
checkin ($userId=null) | |
checkout ($userId=null) | |
getData () | |
getForm ($data=array(), $loadData=true) | |
save ($data) | |
Fonctions membres publiques inherited from JModelForm | |
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() |
UsersModelProfile::checkin | ( | $userId = null | ) |
Method to check in a user.
integer | The id of the row to check out. |
Réimplémentée à partir de JModelForm.
Références $userId, et JTable\getInstance().
UsersModelProfile::checkout | ( | $userId = null | ) |
Method to check out a user for editing.
integer | The id of the row to check out. |
Réimplémentée à partir de JModelForm.
Références $user, $userId, JTable\getInstance(), et JFactory\getUser().
UsersModelProfile::getData | ( | ) |
Method to get the profile form data.
The base form data is loaded and then an event is fired for users plugins to extend the data.
Références $data, $dispatcher, $userId, JFactory\getApplication(), JDispatcher\getInstance(), JPluginHelper\importPlugin(), et null.
UsersModelProfile::getForm | ( | $data = array() , |
|
$loadData = true |
|||
) |
Method to get the profile 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.
Références JComponentHelper\getParams().
|
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 $params, $userId, JFactory\getApplication(), et JFactory\getUser().
|
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(), JFactory\getUser(), et JForm\loadFile().
UsersModelProfile::save | ( | $data | ) |
Method to save the form data.
array | The form data. |
Références $data, $user, $userId, JComponentHelper\getParams(), JPluginHelper\importPlugin(), null, et JText\sprintf().
|
protected |