Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Markup_TokenList Class Reference

Public Member Functions

 current ()
 Get the current token.
 
 getChildren ()
 Get the children of the current token.
 
 addChild (Zend_Markup_Token $child)
 Add a new child token.
 
 hasChildren ()
 Check if the current token has children.
 
 key ()
 Get the key of the current token.
 
 next ()
 Go to the next token.
 
 rewind ()
 Rewind the iterator.
 
 valid ()
 Check if the element is valid.
 

Protected Attributes

 $_tokens = array()
 

Member Function Documentation

addChild ( Zend_Markup_Token  $child)

Add a new child token.

Parameters
Zend_Markup_Token$child
Returns
void
current ( )

Get the current token.

Returns
Zend_Markup_Token
getChildren ( )

Get the children of the current token.

Returns
Zend_Markup_TokenList
hasChildren ( )

Check if the current token has children.

Returns
bool
key ( )

Get the key of the current token.

Returns
int
next ( )

Go to the next token.

Returns
Zend_Markup_Token
rewind ( )

Rewind the iterator.

Returns
void
valid ( )

Check if the element is valid.

Returns
void

Member Data Documentation

$_tokens = array()
protected