category Zend
package Zend_Markup
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Add a new child token

addChild(\Zend_Markup_Token $child) : void

Parameters

$child

\Zend_Markup_Token

Get the current token

current() : \Zend_Markup_Token

Returns

\Zend_Markup_Token

Get the children of the current token

getChildren() : \Zend_Markup_TokenList

Returns

\Zend_Markup_TokenList

Check if the current token has children

hasChildren() : boolean

Returns

boolean

Get the key of the current token

key() : integer

Returns

integer

Go to the next token

next() : \Zend_Markup_Token

Returns

\Zend_Markup_Token

Rewind the iterator

rewind() : void

Check if the element is valid

valid() : void

 Properties

 

Array of tokens

$_tokens : array

Default

array()