JMenu
Description
JMenu class
Located in /joomla/application/menu.php (line 27)
JObject (Subpackage Base)
![]()
JMenu (Subpackage Application)
Method Summary
Variables
Methods
Class constructor
boolean
__construct
([ $options = array()])
- $options
Redefinition of:
- JObject::__construct()
- Class constructor, overridden in descendant classes.
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
Returns a reference to a JMenu object
This method must be invoked as:
$menu = &JSite::getMenu();
- string $client: The name of the client
- array $options: An associative array of options
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
Getter for the menu array
array
getMenu
(string $name)
- string $name: The menu name
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::getError()
JObject::getErrors()
JObject::getProperties()
JObject::getPublicProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
Documentation generated on Tue, 29 Jan 2008 18:48:20 +0000 by phpDocumentor 1.3.1



