Liste de tous les membres
Fonctions membres publiques |
| checkin ($pk=null) |
| checkout ($pk=null) |
| getForm ($data=array(), $loadData=true) |
| validate ($form, $data, $group=null) |
| __construct ($config=array()) |
| getDbo () |
| getName () |
| getState ($property=null, $default=null) |
| getTable ($name= '', $prefix= 'Table', $options=array()) |
| setDbo (&$db) |
| setState ($property, $value=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) |
| toString () |
Fonctions membres protégées |
| loadForm ($name, $source=null, $options=array(), $clear=false, $xpath=false) |
| loadFormData () |
| preprocessForm (JForm $form, $data, $group= 'content') |
| _getList ($query, $limitstart=0, $limit=0) |
| _getListCount ($query) |
| _createTable ($name, $prefix= 'Table', $config=array()) |
| populateState () |
| cleanCache ($group=null, $client_id=0) |
Documentation des fonctions membres
JModelForm::checkin |
( |
|
$pk = null | ) |
|
JModelForm::checkout |
( |
|
$pk = null | ) |
|
JModelForm::getForm |
( |
|
$data = array() , |
|
|
|
$loadData = true |
|
) |
| |
|
abstract |
Abstract method for getting the form from the model.
- 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:
- mixed A JForm object on success, false on failure
- Depuis:
- 11.1
Réimplémentée dans MenusModelItem, ModulesModelModule, BannersModelBanner, ContactModelContact, ContentModelArticle, UsersModelRegistration, NewsfeedsModelNewsfeed, CategoriesModelCategory, TemplatesModelStyle, MessagesModelMessage, UsersModelProfile, UsersModelLevel, MenusModelMenu, FinderModelFilter, LanguagesModelLanguage, WeblinksModelWeblink, BannersModelClient, RedirectModelLink, MessagesModelConfig, UsersModelUser, ContactModelContact, ConfigModelComponent, TemplatesModelSource, UsersModelGroup, PluginsModelPlugin, BannersModelDownload, LanguagesModelOverride, UsersModelNote, UsersModelLogin, UsersModelRemind, UsersModelReset, AdminModelProfile, ConfigModelApplication, et UsersModelMail.
JModelForm::loadForm |
( |
|
$name, |
|
|
|
$source = null , |
|
|
|
$options = array() , |
|
|
|
$clear = false , |
|
|
|
$xpath = false |
|
) |
| |
|
protected |
JModelForm::loadFormData |
( |
| ) |
|
|
protected |
Method to get the data that should be injected in the form.
- Renvoie:
- array The default data is an empty array.
- Depuis:
- 11.1
Réimplémentée dans MenusModelItem, ModulesModelModule, BannersModelBanner, ContactModelContact, ContentModelArticle, CategoriesModelCategory, NewsfeedsModelNewsfeed, UsersModelRegistration, TemplatesModelStyle, MessagesModelMessage, UsersModelProfile, UsersModelLevel, MenusModelMenu, FinderModelFilter, WeblinksModelWeblink, LanguagesModelLanguage, RedirectModelLink, BannersModelClient, TemplatesModelSource, UsersModelUser, PluginsModelPlugin, ContactModelContact, UsersModelNote, UsersModelGroup, AdminModelProfile, BannersModelDownload, LanguagesModelOverride, UsersModelLogin, et UsersModelMail.
JModelForm::preprocessForm |
( |
JForm |
$form, |
|
|
|
$data, |
|
|
|
$group = 'content' |
|
) |
| |
|
protected |
Method to allow derived classes to preprocess the form.
- Paramètres:
-
JForm | $form | A JForm object. |
mixed | $data | The data expected for the form. |
string | $group | The name of the plugin group to import (defaults to "content"). |
- Renvoie:
- void
- Voir également:
- JFormField
- Depuis:
- 11.1
- Exceptions:
-
Exception | if there is an error in the form event. |
Réimplémentée dans MenusModelItem, ModulesModelModule, TemplatesModelStyle, CategoriesModelCategory, UsersModelRegistration, UsersModelProfile, PluginsModelPlugin, UsersModelLevel, UsersModelUser, UsersModelLogin, UsersModelGroup, UsersModelReset, UsersModelMail, et UsersModelRemind.
Références $data, $dispatcher, JDispatcher\getInstance(), et JPluginHelper\importPlugin().
JModelForm::validate |
( |
|
$form, |
|
|
|
$data, |
|
|
|
$group = null |
|
) |
| |
Method to validate the form data.
- Paramètres:
-
JForm | $form | The form to validate against. |
array | $data | The data to validate. |
string | $group | The name of the field group to validate. |
- Renvoie:
- mixed Array of filtered data if valid, false otherwise.
- Voir également:
- JFormRule
-
JFilterInput
- Depuis:
- 11.1
Réimplémentée dans ModulesModelModule.
Références $data, $message, $return, et JText\_().
Documentation des données membres
JModelForm::$_forms = array() |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :