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 | |
getForm ($data=array(), $loadData=true) | |
getTable ($name='Request', $prefix='PrivacyTable', $options=array()) | |
save ($data) | |
validate ($form, $data, $group=null) | |
getForm ($data=array(), $loadData=true) | |
getTable ($name='Request', $prefix='PrivacyTable', $options=array()) | |
Fonctions membres protégées | |
cleanCache ($group='com_privacy', $clientId=1) | |
loadFormData () | |
populateState () | |
Request item model class.
Request model class.
|
protected |
Clean the cache
string | $group | The cache group |
integer | $clientId | The ID of the client |
getForm | ( | $data = array() , |
|
$loadData = true |
|||
) |
Method for getting the form from the model.
array | $data | Data for the form. |
boolean | $loadData | True if the form is to load its own data (default case), false if not. |
Références $form.
getForm | ( | $data = array() , |
|
$loadData = true |
|||
) |
Method for getting the form from the model.
array | $data | Data for the form. |
boolean | $loadData | True if the form is to load its own data (default case), false if not. |
getTable | ( | $name = 'Request' , |
|
$prefix = 'PrivacyTable' , |
|||
$options = array() |
|||
) |
getTable | ( | $name = 'Request' , |
|
$prefix = 'PrivacyTable' , |
|||
$options = array() |
|||
) |
|
protected |
Method to get the data that should be injected in the form.
Références $data.
|
protected |
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.
Références $params.
save | ( | $data | ) |
validate | ( | $form, | |
$data, | |||
$group = null |
|||
) |
Method to validate the form data.
JForm | $form | The form to validate against. |
array | $data | The data to validate. |
string | $group | The name of the field group to validate. |
Références $data, $db, $form, $query, et validate().