JHtmlMenu
class JHtmlMenu
Utility class working with menu select lists
Methods
static
array
menus(
int $clientId)
Get a list of the available menus.
static
array
menuItems(
array $config = array())
Returns an array of menu items grouped by menu.
static
string
menuItemList(
string $name,
string $selected = null,
string $attribs = null,
array $config = array())
Displays an HTML select list of menu items.
static
string
ordering(
object $row,
integer $id)
Build the select list for Menu Ordering
static
string
linkOptions(
boolean $all = false,
boolean $unassigned = false,
int $clientId)
Build the multiple select list for Menu Links/Pages
static
array
treerecurse(
integer $id,
string $indent,
array $list,
array $children,
integer $maxlevel = 9999,
integer $level,
int $type = 1)
Build the list representing the menu tree
Details
static
string
menuItemList(
string $name,
string $selected = null,
string $attribs = null,
array $config = array())
Displays an HTML select list of menu items.