Formatting output Plese Wait...

zItem Class Reference
[OOPS data structures.]

zItem Class Constructs a Node of a Linked List or a tree More...

Inheritance diagram for zItem:

Inheritance graph
[legend]
Collaboration diagram for zItem:

Collaboration graph
[legend]

Public Member Functions

 zItem ($type)
 Constructs an Item Node with the Specified data Type.
 hasParent ()
 Checks wheather or not the Current Node has a Parent.
 setParent (&$parentNode)
 Sets the Parent Node of a Node.
getParent ()
 Returns a Reference to the Parent Node.
 setData ($val)
 Store Data in teh data Block Data Must be of same type as it is Supposed to be.
 getData ()
 Returns teh Data in the data Block.
 hasNext ()
 Checks wheather or not its the Last Item.
 setNext ($nextElem)
 Sets the Next Element on the link Block returns False also fires Error if the next element is not of zItem Class Type.
getNext ()
 Get the next Eelement.
 removeNext ()
 Removes the Link.
 getType ()
 retrns teh TypeId used in this Node
 isDataValid ($type)
 Checks Wheather or not the Current Node Contains a Valid Type Safe Data in Its Data Block.
 isValid ($type)
 Checks wheather this Node as well as the Child Nodes are Valid Recursively.

Data Fields

 $type
 $data
 $link = null
 $parent = null

Detailed Description

zItem Class Constructs a Node of a Linked List or a tree

Definition at line 15 of file zitem.php.


Member Function Documentation

zItem::zItem( String $type ) 

zItem::hasParent( ) 

zItem::setParent( parentNode ) 

& zItem::getParent( ) 

zItem::setData( mixed $val ) 

zItem::getData( ) 

zItem::hasNext( ) 

zItem::setNext( nextElem ) 

& zItem::getNext( ) 

zItem::removeNext( ) 

zItem::getType( ) 

zItem::isDataValid( String $type ) 

zItem::isValid( String $type ) 


Field Documentation

zItem::$type

zItem::$data

zItem::$link = null

zItem::$parent = null


The documentation for this class was generated from the following file:

Generated on Mon Oct 27 23:54:08 2008 for zigmoyd.kdevelop by doxygen 1.5.6
CompoundsX
Build Compounds List