JMenu
Description
JMenu class
Located in /joomla/application/menu.php (line 27)
JObject (Subpackage Base) JMenu (Subpackage Application)
Method Summary
Methods
Constructor __construct (line 60)
Class constructor
boolean
__construct
()
Redefinition of:
- JObject::__construct()
- Class constructor, overridden in descendant classes.
authorize (line 241)
Method to check JMenu object authorization against an access control object and optionally an access extension object
boolean
authorize
(integer $id, integer $accessid)
- integer $id: The menu id
- integer $accessid: The users access identifier
getInstance (line 85)
Returns a reference to the global JMenu object, only creating it if it doesn't already exist.
This method must be invoked as:
$menu = &JMenu::getInstance();
JMenu
&getInstance
()
getItems (line 182)
Gets menu items by attribute
array
getItems
(string $attribute, string $value, [boolean $firstonly = false])
- string $attribute: The field name
- string $value: The value of the field
- boolean $firstonly: If true, only returns the first item found
getMenu (line 228)
Getter for the menu array
array
getMenu
(string $name)
- string $name: The menu name
getParams (line 210)
Gets the parameter object for a certain menu item
object A
&getParams
(int $id)
- int $id: The item id
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 21:10:34 +0000 by phpDocumentor 1.3.1