|
| | populateState () |
| |
| | preprocessForm (JForm $form, $data, $group='content') |
| |
| | loadForm ($name, $source=null, $options=array(), $clear=false, $xpath=false) |
| |
| | loadFormData () |
| |
| | preprocessData ($context, &$data) |
| |
| | preprocessForm (JForm $form, $data, $group='content') |
| |
| | cleanCache ($group=null, $clientId=0) |
| |
| | populateState () |
| |
| | canDelete ($record) |
| |
| | canEditState ($record) |
| |
| | loadDb () |
| |
| | loadState () |
| |
Template style model.
- Depuis
- 3.2
◆ getForm()
| getForm |
( |
|
$data = array(), |
|
|
|
$loadData = true |
|
) |
| |
Method to get the record form.
- Paramètres
-
| 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. |
- Renvoie
- JForm A JForm object on success, false on failure
- Depuis
- 3.2
Références $data, et $form.
◆ populateState()
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.
- Renvoie
- null
- Depuis
- 3.2
Références $params, et $state.
◆ preprocessForm()
| preprocessForm |
( |
JForm |
$form, |
|
|
|
$data, |
|
|
|
$group = 'content' |
|
) |
| |
|
protected |
Method to preprocess the form
- Paramètres
-
| JForm | $form | A form object. |
| mixed | $data | The data expected for the form. |
| string | $group | Plugin group to load |
- Renvoie
- void
- Depuis
- 3.2
- Exceptions
-
| Exception | if there is an error in the form event. |
Références $data, $form, $lang, $template, jimport(), JPATH_BASE, et null.
La documentation de cette classe a été générée à partir du fichier suivant :