Class MenusModelMenutypes

Description

Menu Item Types Model for Menus.

  • since: 1.6

Located in /administrator/components/com_menus/models/menutypes.php (line 21)

JObject
   |
   --JModelLegacy
      |
      --MenusModelMenutypes
Variable Summary
 array $rlu
Method Summary
 void addReverseLookupUrl ($option $option)
 array getReverseLookup ()
 array getTypeOptions ()
 void getTypeOptionsByComponent ( $component)
 void getTypeOptionsFromLayouts ( $component,  $view)
 void getTypeOptionsFromMVC ( $component)
 void getTypeOptionsFromXML ( $file,  $component)
Variables
array $rlu = array() (line 28)

A reverse lookup of the base link URL to Title

  • access: protected

Inherited Variables

Inherited from JModelLegacy

JModelLegacy::$event_clean_cache
JModelLegacy::$name
JModelLegacy::$option
JModelLegacy::$state
JModelLegacy::$_db
JModelLegacy::$__state_set

Inherited from JObject

JObject::$_errors
Methods
addReverseLookupUrl (line 107)

Method to create the reverse lookup for link-to-name.

(can be used from onAfterGetMenuTypeOptions handlers)

  • since: 3.1
  • access: public
void addReverseLookupUrl ($option $option)
  • $option $option: JObject with request array or string and title public variables
getReverseLookup (line 36)

Method to get the reverse lookup of the base link URL to Title

  • return: Array of reverse lookup of the base link URL to Title
  • since: 1.6
  • access: public
array getReverseLookup ()
getTypeOptions (line 51)

Method to get the available menu item type options.

  • return: Array of groups with menu item types.
  • since: 1.6
  • access: public
array getTypeOptions ()
getTypeOptionsByComponent (line 112)
  • access: protected
void getTypeOptionsByComponent ( $component)
  • $component
getTypeOptionsFromLayouts (line 316)
  • access: protected
void getTypeOptionsFromLayouts ( $component,  $view)
  • $component
  • $view
getTypeOptionsFromMVC (line 211)
  • access: protected
void getTypeOptionsFromMVC ( $component)
  • $component
getTypeOptionsFromXML (line 131)
  • access: protected
void getTypeOptionsFromXML ( $file,  $component)
  • $file
  • $component

Inherited Methods

Inherited From JModelLegacy

 JModelLegacy::__construct()
 JModelLegacy::addIncludePath()
 JModelLegacy::addTablePath()
 JModelLegacy::cleanCache()
 JModelLegacy::getDbo()
 JModelLegacy::getInstance()
 JModelLegacy::getName()
 JModelLegacy::getState()
 JModelLegacy::getTable()
 JModelLegacy::loadHistory()
 JModelLegacy::populateState()
 JModelLegacy::setDbo()
 JModelLegacy::setState()
 JModelLegacy::_createFileName()
 JModelLegacy::_createTable()
 JModelLegacy::_getList()
 JModelLegacy::_getListCount()

Inherited From JObject

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

Documentation generated on Tue, 19 Nov 2013 15:08:02 +0100 by phpDocumentor 1.4.3