[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/administrator/components/com_menus/models/ -> menus.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 224 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MenusModelMenus:: (6 methods):
  __construct()
  getItems()
  getListQuery()
  populateState()
  getModMenuId()
  getModules()


Class: MenusModelMenus  - X-Ref

Menu List Model for Menus.

__construct($config = array()   X-Ref
Constructor.

param: array    An optional associative array of configuration settings.

getItems()   X-Ref
Overrides the getItems method to attach additional metrics to the list.

return: mixed  An array of data items on success, false on failure.

getListQuery()   X-Ref
Method to build an SQL query to load the list data.

return: string  An SQL query

populateState($ordering = null, $direction = null)   X-Ref
Method to auto-populate the model state.

Note. Calling getState in this method will result in recursion.

param: string  $ordering   An optional ordering field.
param: string  $direction  An optional direction (asc|desc).
return: void

getModMenuId()   X-Ref
Gets the extension id of the core mod_menu module.

return: integer

getModules()   X-Ref
Gets a list of all mod_mainmenu modules and collates them by menutype

return: array



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1