Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct ($config=array()) | |
getItems () | |
Fonctions membres protégées | |
populateState ($ordering='a.lft', $direction='asc') | |
getStoreId ($id='') | |
getListQuery () | |
preprocessForm (JForm $form, $data, $group='content') | |
getMenu ($menuType, $check=false) | |
Menu Item List Model for Menus.
__construct | ( | $config = array() | ) |
Constructor.
array | $config | An optional associative array of configuration settings. |
getItems | ( | ) |
Method to get an array of data items.
Références $client, $extension, $item, $items, $lang, JPATH_ADMINISTRATOR, et null.
|
protected |
Builds an SQL query to load the list data.
Références $app, $assoc, $db, $groups, $language, $menuType, $menuTypes, $published, $query, $type, $user, elseif, et null.
|
protected |
|
protected |
Method to get a store id based on model configuration state.
This is necessary because the model is used by the component and different modules that might need different sets of data or different ordering requirements.
string | $id | A prefix for the store id. |
Références $id.
|
protected |
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.
string | $ordering | An optional ordering field. |
string | $direction | An optional direction (asc|desc). |
Références $app, $clientId, $direction, $forcedLanguage, $language, $layout, $menuType, $ordering, $params, $published, $user, elseif, JPATH_ADMINISTRATOR, et null.
|
protected |
Method to allow derived classes to preprocess the form.
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"). |
Exception | if there is an error in the form event. |