![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de ConfigModelComponent:Fonctions membres publiques | |
| getForm ($data=array(), $loadData=true) | |
| getComponent () | |
| save ($data) | |
Fonctions membres publiques hérités de ConfigModelForm | |
| checkin ($pk=null) | |
| checkout ($pk=null) | |
| getForm ($data=array(), $loadData=true) | |
| validate ($form, $data, $group=null) | |
Fonctions membres publiques hérités de ConfigModelCms | |
| __construct ($config=array()) | |
| getName () | |
| getState () | |
| registerTablePaths ($config=array()) | |
Fonctions membres publiques hérités de JModelDatabase | |
| __construct (Registry $state=null, JDatabaseDriver $db=null) | |
| getDb () | |
| setDb (JDatabaseDriver $db) | |
Fonctions membres publiques hérités de JModelBase | |
| __construct (Registry $state=null) | |
| getState () | |
| setState (Registry $state) | |
Fonctions membres protégées | |
| populateState () | |
Fonctions membres protégées hérités de ConfigModelForm | |
| loadForm ($name, $source=null, $options=array(), $clear=false, $xpath=false) | |
| loadFormData () | |
| preprocessData ($context, &$data) | |
| preprocessForm (JForm $form, $data, $group='content') | |
Fonctions membres protégées hérités de ConfigModelCms | |
| cleanCache ($group=null, $clientId=0) | |
| populateState () | |
| canDelete ($record) | |
| canEditState ($record) | |
Fonctions membres protégées hérités de JModelDatabase | |
| loadDb () | |
Fonctions membres protégées hérités de JModelBase | |
| loadState () | |
Membres hérités additionnels | |
Attributs protégés hérités de ConfigModelForm | |
| $forms = array() | |
Attributs protégés hérités de ConfigModelCms | |
| $name | |
| $option = null | |
| $text_prefix = null | |
| $__state_set = null | |
Attributs protégés hérités de JModelDatabase | |
| $db | |
Attributs protégés hérités de JModelBase | |
| $state | |
Model for component configuration
| getComponent | ( | ) |
Get the component information.
Références $lang, $option, $state, JPATH_BASE, et null.
| getForm | ( | $data = array(), |
|
$loadData = true |
|||
| ) |
Method to get a form object.
| 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, $lang, $option, $path, $state, JPATH_ADMINISTRATOR, JPATH_BASE, et null.
|
protected |
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.
Références $component, $input, $path, $state, et JPATH_SITE.
| save | ( | $data | ) |
Method to save the configuration data.
| array | $data | An array containing all global config data. |
| RuntimeException |
Références $asset, $context, $data, $dispatcher, $field, $form, $name, $root, JEventDispatcher\getInstance(), et option.