Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques statiques | |
static | preprocess ($parent) |
Helper class to handle permissions in mod_submenu
|
static |
Filter and perform other preparatory tasks for loaded menu items based on access rights and module configurations for display
MenuItem | $parent | A menu item to process |
Trigger onPreprocessMenuItems for the current level of backend menu items. $children is an array of MenuItem objects. A plugin can traverse the whole tree, but new nodes will only be run through this method if their parents have not been processed yet.
This is needed to populate the element property when the component is no longer installed but its core menu items are left behind.
Références $app, $c, $iconImage, $item, $language, $option, $parts, $query, $temp, $uri, $user, Joomla\CMS\MVC\Model\$workflow, Text\_(), elseif, Factory\getApplication(), Factory\getLanguage(), MenusHelper\getMenuItems(), ComponentHelper\getParams(), ComponentHelper\isEnabled(), Associations\isEnabled(), JPATH_ADMINISTRATOR, null, et ArrayHelper\sortObjects().