API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JMenu::__construct | ( | $ | options = array() | ) |
JMenu::authorize | ( | $ | id, |
$ | accessid = 0 |
||
) |
& JMenu::getActive | ( | ) |
& JMenu::getDefault | ( | ) |
& JMenu::getInstance | ( | $ | client, |
$ | options = array() |
||
) |
Returns a reference to a JMenu object
This method must be invoked as:
$menu = &JSite::getMenu();
public
string | $client | The name of the client |
array | $options | An associative array of options |
Références $classname, $client, $error, $path, et JApplicationHelper::getClientInfo().
Référencé par JApplication::getMenu().
& JMenu::getItem | ( | $ | id | ) |
Get menu item by id
public
int | The item id |
Références $id.
JMenu::getItems | ( | $ | attribute, |
$ | value, | ||
$ | firstonly = false |
||
) |
JMenu::getMenu | ( | ) |
Getter for the menu array
public
& JMenu::getParams | ( | $ | id | ) |
Gets the parameter object for a certain menu item
public
int | The item id |
JMenu::load | ( | ) |
& JMenu::setActive | ( | $ | id | ) |
Set the default item by id
int | The item id public |
Références $id.
JMenu::setDefault | ( | $ | id | ) |
Set the default item by id
int | The item id public |
Références $id.
JMenu::$_active = 0 |
Identifier of the active menu item
private
integer |
JMenu::$_default = 0 |
Identifier of the default menu item
private
integer |
JMenu::$_items = array () |
Array to hold the menu items
private
array |