Class JMenuItem
Object representing a menu item
- stdClass
- JMenuItem
Copyright: Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 3.7.0
Note: This class will no longer extend stdClass in Joomla 4
Located at cms/menu/item.php
Methods summary
public
|
|
public
mixed
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
mixed
|
|
public
mixed
|
Magic methods summary
Properties summary
public
integer
|
$id |
#
Primary key |
public
integer
|
$menutype |
#
The type of menu this item belongs to |
public
string
|
$title |
#
The display title of the menu item |
public
string
|
$alias |
#
The SEF alias of the menu item |
public
string
|
$note |
#
A note associated with the menu item |
public
string
|
$route |
#
The computed path of the menu item based on the alias field, this is
populated from the |
public
string
|
$link |
#
The actual link the menu item refers to |
public
string
|
$type |
#
The type of link |
public
integer
|
$level |
#
The relative level in the tree |
public
string
|
$language |
#
The assigned language for this item |
public
string
|
$browserNav |
#
The click behaviour of the link |
public
integer
|
$access |
#
The access level required to view the menu item |
protected
string| |
$params |
#
The menu item parameters |
public
integer
|
$home |
#
Indicates if this menu item is the home or default page |
public
string
|
$img |
#
The image of the menu item |
public
integer
|
$template_style_id |
#
The optional template style applied to this menu item |
public
integer
|
$component_id |
#
The extension ID of the component this menu item is for |
public
integer
|
$parent_id |
#
The parent menu item in the menu tree |
public
string
|
$component |
#
The name of the component this menu item is for |
public
array
|
$tree |
#
The tree of parent menu items |
public
array
|
$query |
#
An array of the query string values for this item |