Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques statiques | |
static | menus ($clientId=0) |
static | menuItems ($config=array()) |
static | menuItemList ($name, $selected=null, $attribs=null, $config=array()) |
static | ordering (&$row, $id) |
static | linkOptions ($all=false, $unassigned=false, $clientId=0) |
static | treerecurse ($id, $indent, $list, &$children, $maxlevel=9999, $level=0, $type=1) |
Attributs protégés statiques | |
static | $menus = array() |
static | $items = array() |
Utility class working with menu select lists
Build the multiple select list for Menu Links/Pages
boolean | $all | True if all can be selected |
boolean | $unassigned | True if unassigned can be selected |
int | $clientId | The client id |
Références $clientId, $db, $list, $query, Text\_(), HTMLHelper\_(), Factory\getDbo(), ParameterType\INTEGER, et null.
Displays an HTML select list of menu items.
string | $name | The name of the control. |
string | $selected | The value of the selected option. |
string | $attribs | Attributes for the control. |
array | $config | An array of options for the control [id, published, checkacl, clientid]. |
Références $attribs, $config, $count, $name, $options, $selected, et HTMLHelper\_().
|
static |
Returns an array of menu items grouped by menu.
array | $config | An array of configuration options [published, checkacl, clientid]. |
Références $clientId, $config, $db, $item, $items, $key, $menu, $query, $user, Text\_(), HTMLHelper\_(), elseif, Factory\getDbo(), Factory\getUser(), et ParameterType\INTEGER.
|
static |
Get a list of the available menus.
int | $clientId | The client id |
Références $clientId, $db, $key, $query, Factory\getDbo(), et ParameterType\INTEGER.
|
static |
Build the select list for Menu Ordering
object | $row | The row object |
integer | $id | The id for the row. Must exist to enable menu ordering |
Références $db, $id, $ordering, $query, Text\_(), HTMLHelper\_(), Factory\getDbo(), et ParameterType\INTEGER.
|
static |
Build the list representing the menu tree
integer | $id | Id of the menu item |
string | $indent | The indentation string |
array | $list | The list to process |
array | $children | The children of the current item |
integer | $maxlevel | The maximum number of levels in the tree |
integer | $level | The starting level |
int | $type | Set the type of spacer to use. Use 1 for |_ or 0 for - |
|
staticprotected |
|
staticprotected |