Class: SimpleItemTreeWalker

Source Location: /CORE/system/classes/item/SimpleItemTreeWalker.php

Class SimpleItemTreeWalker

Class Overview

The SimpleItemTreeWalker takes a ItemRequest as constructor parameter and then serves as enumeration above the returned items.

Located in /CORE/system/classes/item/SimpleItemTreeWalker.php [line 39]



		
				Author(s):
		
  • Kevin Papst
Information Tags:
Version:  $Id: SimpleItemTreeWalker.php,v 1.19 2009/03/16 19:16:24 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Descendants
Child Class Description
ItemTreeWalker The ItemTreeWalker provides methods for receiving childs of a special Item.

[ Top ]
Method Summary
SimpleItemTreeWalker   SimpleItemTreeWalker()   Get all children of the given Item.
int   count()   Count the amount of all fetched Items.
Item   next()   Get the next Item.

[ Top ]
Methods
Constructor SimpleItemTreeWalker  [line 53]

  SimpleItemTreeWalker SimpleItemTreeWalker( ItemRequest $treeRequest  )

Get all children of the given Item.

Parameters:
ItemRequest   $treeRequest:  the ItemRequest defining the Items to fetch


[ Top ]
count  [line 191]

  int count( )

Count the amount of all fetched Items.


API Tags:
Return:  the amount of Items


[ Top ]
next  [line 200]

  Item next( )

Get the next Item.


API Tags:
Return:  the next received Item


[ Top ]