|
| 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 () |
|
Config Module model.
- Depuis
- 3.2
◆ createOption()
static createOption |
( |
|
$value = '' , |
|
|
|
$text = '' |
|
) |
| |
|
staticprivate |
Create and return a new Option
- Paramètres
-
string | $value | The option value [optional] |
string | $text | The option text [optional] |
- Renvoie
- object The option as an object (stdClass instance)
- Depuis
- 3.6.3
Références $option, $text, et $value.
◆ createOptionGroup()
static createOptionGroup |
( |
|
$label = '' , |
|
|
|
$options = array() |
|
) |
| |
|
staticprivate |
Create and return a new Option Group
- Paramètres
-
string | $label | Value and label for group [optional] |
array | $options | Array of options to insert into group [optional] |
- Renvoie
- array Return the new group as an array
- Depuis
- 3.6.3
Références $label, et $options.
◆ getActivePositions()
static getActivePositions |
( |
|
$clientId, |
|
|
|
$editPositions = false |
|
) |
| |
|
static |
◆ getForm()
getForm |
( |
|
$data = array() , |
|
|
|
$loadData = true |
|
) |
| |
Method to get the record form.
- Paramètres
-
array | $data | Data for the form. |
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 $form.
◆ getPositions()
◆ populateState()
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.
- Renvoie
- void
- Depuis
- 3.2
Références $app, 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 | The name of the plugin group to import (defaults to "content"). |
- Renvoie
- void
- Depuis
- 3.2
- Exceptions
-
Exception | if there is an error loading the form. |
Références $basePath, $data, $form, $lang, $module, jimport(), JPATH_BASE, et null.
La documentation de cette classe a été générée à partir du fichier suivant :