bigace.classes.menu
[ class tree: bigace.classes.menu ] [ index: bigace.classes.menu ] [ all elements ]

Class: Menu

Source Location: /classes/menu/Menu.php

Class Overview

MasterItemType
   |
   --Itemtype
      |
      --Item
         |
         --FilesystemItem
            |
            --Menu

Class used for handling Menus.


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: FilesystemItem

FilesystemItem::FilesystemItem()
This intializes the Object with the given Itemtype and ID
FilesystemItem::getContent()
Fetches the Content from the linked File.
FilesystemItem::getOriginalName()
Gets the original File Name. This MUST only work with uploaded Files.
FilesystemItem::getSize()
Gets the Size of the linked File.
FilesystemItem::lastModified()
Returns the last modified date of the File (filemtime).

Class: Item

Item::Item()
Item::countChilds()
Returns the number of Childs for this Item.
Item::countHistoryVersions()
Counts the History Versions for this Item
Item::exists()
Checks whether this Item exists or not.
Item::getChilds()
Item::getCreateBy()
Item::getCreateDate()
Item::getDescription()
Item::getFullURL()
Item::getID()
Item::getItemDate()
Item::getItemNum()
Item::getItemText()
Item::getItemType()
Item::getLanguageID()
Item::getLastBy()
Item::getLastByID()
Item::getLastDate()
Returns the timestamp of the last changes on this Item (like Description or Content).
Item::getMimetype()
Item::getName()
Item::getParentID()
Item::getPosition()
Gets the Position of this Item
Item::getURL()
Item::hasChilds()
Checks if the Item has childs.
Item::init()
Item::_setItemValues()

Class: Itemtype

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

Class: MasterItemType

MasterItemType::MasterItemType()
MasterItemType::countItemtypes()
Returns how many Itemtypes are known by the System.
MasterItemType::getClassForItemType()
MasterItemType::getClassNameForItemType()
MasterItemType::getCommandForItemType()
MasterItemType::getDirectoryForItemType()
MasterItemType::getItemForItemType()
MasterItemType::getItemTypeArray()
MasterItemType::getItemTypeForCommand()
MasterItemType::getItemTypeIDforName()
MasterItemType::getTableNameForItemType()
MasterItemType::initMasterItemType()

Class Details

[line 50]
Class used for handling Menus.

getItemText('3') = getModulID() getItemText('4') = getLayoutName()




[ Top ]


Class Methods


constructor Menu [line 58]

Menu Menu( int $id, [mixed $treetype = 'full'], [mixed $languageID = ''])

Instantiates a MenuService representing the given Menu ID.



Parameters:

int   $id   the Menu ID

[ Top ]

method getLayout [line 102]

Object getLayout( )

Returns the layout defined for that Menu.



Tags:

return:  a new Layout instance


[ Top ]

method getLayoutName [line 74]

void getLayoutName( )

Gets the Layout Name



[ Top ]

method getModul [line 92]

String getModul( )

Gets the Modul URL that is linked to this Menu.



Tags:

return:  the Modul URL


[ Top ]

method getModulID [line 66]

void getModulID( )

Gets the Modul ID for the current Menu



[ Top ]

method getModusID [line 82]

void getModusID( )

Gets the Menu Modus.



[ Top ]

method getParent [line 112]

Object getParent( )

Gets a Menu instance that holds all information about the Parent MenuEntry.



Tags:

return:  the Parent to this Menu


[ Top ]

method isRoot [line 117]

void isRoot( )



[ Top ]


Documentation generated on Tue, 11 Oct 2005 23:02:15 +0200 by phpDocumentor 1.3.0RC2