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 | |
getTable ($type='MenuType', $prefix='JTable', $config=array()) | |
& | getItem ($itemId=null) |
getForm ($data=array(), $loadData=true) | |
validate ($form, $data, $group=null) | |
save ($data) | |
delete ($itemIds) | |
& | getModules () |
Fonctions membres protégées | |
canDelete ($record) | |
canEditState ($record) | |
populateState () | |
loadFormData () | |
cleanCache ($group=null, $clientId=0) | |
Attributs protégés | |
$text_prefix = 'COM_MENUS_MENU' | |
$_context = 'com_menus.menu' | |
Menu Item Model for Menus.
|
protected |
Method to test whether a record can be deleted.
object | $record | A record object. |
|
protected |
Method to test whether the state of a record can be edited.
object | $record | A record object. |
Références $user.
|
protected |
Custom clean the cache
string | $group | Cache group name. |
integer | $clientId | Application client id. |
delete | ( | $itemIds | ) |
Method to delete groups.
array | $itemIds | An array of item ids. |
Références $dispatcher, $itemId, JEventDispatcher\getInstance(), et ArrayHelper\toInteger().
getForm | ( | $data = array() , |
|
$loadData = true |
|||
) |
Method to get the menu item form.
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.
& getItem | ( | $itemId = null | ) |
Method to get a menu item.
integer | $itemId | The id of the menu item to get. |
Références $itemId, $return, $value, et ArrayHelper\toObject().
& getModules | ( | ) |
getTable | ( | $type = 'MenuType' , |
|
$prefix = 'JTable' , |
|||
$config = array() |
|||
) |
|
protected |
Method to get the data that should be injected in the form.
Références $data.
|
protected |
save | ( | $data | ) |
Method to save the form data.
array | $data | The form data. |
Références $data, $dispatcher, $id, et JEventDispatcher\getInstance().
validate | ( | $form, | |
$data, | |||
$group = null |
|||
) |
Method to validate the form data.
JForm | $form | The form to validate against. |
array | $data | The data to validate. |
string | $group | The name of the field group to validate. |
Références $data, $form, et validate().
|
protected |
|
protected |