Markup/TokenList.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Markup  
Version
$Id$  

\Zend_Markup_TokenList

Package: Zend_Markup
Implements
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_tokens = array()
Array of tokens
Default valuearray()Details
Type
array

Methods

methodpublicaddChild(\Zend_Markup_Token $child) : void

Add a new child token

Parameters
NameTypeDescription
$child\Zend_Markup_Token
methodpubliccurrent() : \Zend_Markup_Token

Get the current token

Returns
TypeDescription
\Zend_Markup_Token
methodpublicgetChildren() : \Zend_Markup_TokenList

Get the children of the current token

Returns
TypeDescription
\Zend_Markup_TokenList
methodpublichasChildren() : bool

Check if the current token has children

Returns
TypeDescription
bool
methodpublickey() : int

Get the key of the current token

Returns
TypeDescription
int
methodpublicnext() : \Zend_Markup_Token

Go to the next token

Returns
TypeDescription
\Zend_Markup_Token
methodpublicrewind() : void

Rewind the iterator

methodpublicvalid() : void

Check if the element is valid

Documentation was generated by phpDocumentor 2.2.0 .