|
| getForm ($data=array(), $loadData=true) |
|
| getPositions () |
|
| checkin ($pk=null) |
|
| checkout ($pk=null) |
|
| validate ($form, $data, $group=null) |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null, FormFactoryInterface $formFactory=null) |
|
| checkin ($pk=null) |
|
| checkout ($pk=null) |
|
| validate ($form, $data, $group=null) |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| getTable ($name='', $prefix='', $options=array()) |
|
| isCheckedOut ($item) |
|
| getDbo () |
|
| setDbo (DatabaseInterface $db=null) |
|
| __get ($name) |
|
| __construct ($config=array()) |
|
| getName () |
|
| __construct ($properties=null) |
|
| __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) |
|
| getState ($property=null, $default=null) |
|
| setState ($property, $value=null) |
|
| setDispatcher (DispatcherInterface $dispatcher) |
|
| setCurrentUser (User $currentUser) |
|
| setCacheControllerFactory (CacheControllerFactoryInterface $factory) |
|
| setDatabase (DatabaseInterface $db) |
|
| setFormFactory (FormFactoryInterface $factory) |
|
|
| populateState () |
|
| preprocessForm (Form $form, $data, $group='content') |
|
| loadForm ($name, $source=null, $options=array(), $clear=false, $xpath=false) |
|
| loadFormData () |
|
| preprocessData ($context, &$data, $group='content') |
|
| preprocessForm (Form $form, $data, $group='content') |
|
| _getList ($query, $limitstart=0, $limit=0) |
|
| _getListCount ($query) |
|
| _createTable ($name, $prefix='Table', $config=array()) |
|
| bootComponent ($component) |
|
| dispatchEvent (EventInterface $event) |
|
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
- Form A Form object on success, false on failure
- Depuis
- 3.2
Implémente FormModelInterface.
Références $form, et Joomla\CMS\MVC\Model\loadForm().
◆ getPositions()
Method to get list of module positions in current template
- Renvoie
- array
- Depuis
- 3.2
Références $lang, $option, $path, $position, $text, $value, $xml, Text\_(), Path\clean(), Factory\getApplication(), Factory\getLanguage(), et JPATH_BASE.
◆ populateState()
◆ preprocessForm()
preprocessForm |
( |
Form |
$form, |
|
|
|
$data, |
|
|
|
$group = 'content' |
|
) |
| |
|
protected |
Method to preprocess the form
- Paramètres
-
Form | $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
-
Références $basePath, $data, $form, $lang, $module, $xml, Text\_(), Form\addFormPath(), Path\clean(), Factory\getLanguage(), Joomla\CMS\MVC\Model\getState(), JPATH_BASE, et Joomla\CMS\MVC\Model\preprocessForm().
La documentation de cette classe a été générée à partir du fichier suivant :