Class JMenuSite

Description

JMenu class

  • since: 1.5

Located in /includes/menu.php (line 17)

JObject
   |
   --JMenu
      |
      --JMenuSite
Method Summary
object The getDefault ([string $language = '*'])
array getItems (string $attributes, string $values, [boolean $firstonly = false])
array load ()
Variables
Methods
getDefault (line 123)

Get menu item by id

  • return: item object
  • since: 1.5
  • access: public
object The getDefault ([string $language = '*'])
  • string $language: The language code.

Redefinition of:
JMenu::getDefault()
Get the default item by language code.
getItems (line 76)

Gets menu items by attribute

  • access: public
array getItems (string $attributes, string $values, [boolean $firstonly = false])
  • string $attributes: The field name
  • string $values: The value of the field
  • boolean $firstonly: If true, only returns the first item found

Redefinition of:
JMenu::getItems()
Gets menu items by attribute
load (line 24)

Loads the entire menu table into memory.

  • access: public
array load ()

Redefinition of:
JMenu::load()
Loads the menu items

Inherited Methods

Inherited From JMenu

JMenu::__construct()
JMenu::authorise()
JMenu::getActive()
JMenu::getDefault()
JMenu::getInstance()
JMenu::getItem()
JMenu::getItems()
JMenu::getMenu()
JMenu::getParams()
JMenu::load()
JMenu::setActive()
JMenu::setDefault()

Inherited From JObject

JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 13:57:04 -0500 by phpDocumentor 1.4.4