Class: MenuService

Source Location: /CORE/system/classes/menu/MenuService.php

Class MenuService

Class Overview

Class used for handling Menus.

Located in /CORE/system/classes/menu/MenuService.php [line 40]

MasterItemType
   |
   --Itemtype
      |
      --ItemService
         |
         --MenuService
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: MenuService.php,v 1.9 2007/12/27 21:54:18 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From ItemService

ItemService::ItemService()
Initalizes a new ItemService for the given Itemtype.
ItemService::countAllItems()
Counts all Items, except TOP_LEVEL.
ItemService::countLevel()
Calculates the Level beneath TOP LEVEL.
ItemService::getItem()
ItemService::getItemLanguageEnumeration()
ItemService::getItemtype()
ItemService::getLastEditedItems()
Get the last edited Items for the specified Language.
ItemService::getLightTree()
ItemService::getLightTreeForLanguage()
ItemService::getTree()
ItemService::getTreeForLanguage()
ItemService::getTreeWalker()
ItemService::getWayHome()
ItemService::increaseViewCounter()
ItemService::initItemService()
ItemService::isChildOf()
Returns true if "child" is somewhere beneath "parent" in the Menu Tree.
ItemService::isLeaf()
Checks whether the given Item is a Leaf.

Inherited From Itemtype

Itemtype::Itemtype()
Itemtype::getClass()
Itemtype::getClassName()
Itemtype::getCommand()
Itemtype::getDirectory()
Itemtype::getItemtypeID()
Itemtype::initItemtype()

Inherited From MasterItemType

MasterItemType::MasterItemType()
Empty Constructor.
MasterItemType::countItemtypes()
Returns how many Itemtypes are known by the System.
MasterItemType::getClassForItemType()
Returns a new instance of the Class for the given Itentype ID.
MasterItemType::getClassNameForItemType()
Returns the Classname for the given Itentype ID.
MasterItemType::getCommandForItemType()
Return the Command for the given Itemtype ID.
MasterItemType::getDirectoryForItemType()
Return the Directory for the given Itemtype ID.
MasterItemType::getItemTypeForCommand()
Get the Itemtype ID for the given Command (or null).
MasterItemType::getSelectColumns()
Returns the Select Columns to be used for Item- and Treeselects.

[ Top ]
Method Summary
MenuService   MenuService()   Instantiates a MenuService.
void   existsLanguageVersion()  
void   getMenu()  

[ Top ]
Methods
Constructor MenuService  [line 46]

  MenuService MenuService( )

Instantiates a MenuService.



[ Top ]
existsLanguageVersion  [line 60]

  void existsLanguageVersion( $id, $langid  )

Parameters:
   $id: 
   $langid: 


[ Top ]
getMenu  [line 51]

  void getMenu( $id, [ $languageID = null]  )

Parameters:
   $id: 
   $languageID: 


[ Top ]