JMenu

API Package Subpackage Class Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Application Class JMenu Reference JMenu Never Work in Progress

JMenu class

Methods

Method Description
method.php __construct Class constructor
method.php authorize Method to check JMenu object authorization against an access control object and optionally an access extension object
method.php getActive Gets the active menu item
method.php getDefault Gets the default menu item (typically the frontpage)
method.php getInstance Returns a reference to the global JMenu object, only creating it if it doesn’t already exist.
method.php getItem Get menu item by id
method.php getItems Gets menu items by attribute
method.php getMenu Getter for the menu array
method.php getParams Gets the parameter object for a certain menu item
method.php setActive Set the default item by id
method.php setDefault Set the default item by id
method.php _load Loads the entire menu table into memory