Class SimpleItemTreeWalker

Description

The SimpleItemTreeWalker takes a ItemRequest as Constructor Parameter.

FIXME: WILL RESULT IN AN ENDLESS LOOP IF TOP_LEVEL IS NOT THERE FOR THE REQUESTED LANGUAGE!

  • version: $Id: SimpleItemTreeWalker.php,v 1.12 2006/11/26 22:04:09 kpapst Exp $
  • copyright: Copyright (C) 2002-2006 Kevin Papst
  • author: Kevin Papst
  • license: GNU Public License
MasterItemType
   |
   --Itemtype
      |
      --SimpleItemTreeWalker
Direct descendents
Class Description
ItemTreeWalker The ItemTreeWalker provides methods for receiving childs of a special Item.
Method Summary
SimpleItemTreeWalker SimpleItemTreeWalker (ItemRequest $treeRequest, int 1)
int count ()
DBItem next ()
Methods
Constructor SimpleItemTreeWalker (line 60)

Gets all Children of the given Item.

SimpleItemTreeWalker SimpleItemTreeWalker (ItemRequest $treeRequest, int 1)
  • int 1: the Item ID for that all first level childs will be fetched
  • ItemRequest $treeRequest: the ItemRequest defining the Items to fetch
count (line 166)

Count the amount of all fetched Items.

  • return: the amount of Items
int count ()
next (line 175)

Get the next Item.

  • return: the next received Item
DBItem next ()

Inherited Methods

Inherited From Itemtype

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

Inherited From MasterItemType

MasterItemType::MasterItemType()
MasterItemType::countItemtypes()
MasterItemType::getClassForItemType()
MasterItemType::getClassNameForItemType()
MasterItemType::getCommandForItemType()
MasterItemType::getDirectoryForItemType()
MasterItemType::getItemTypeForCommand()
MasterItemType::getSelectColumns()

Documentation generated by phpDocumentor 1.3.1