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 license@zend.com so we can send you a copy immediately.
array $_attributes = 'array'
Tag attributes
Zend_Markup_TokenList $_children = ''
Children of this token
string $_name = ''
Tag name
Zend_Markup_Token $_parent = ''
The parent token
string $_stopper = ''
The used tag stopper (empty when none is found)
string $_tag = ''
The complete tag
string $_type = ''
The tag's type
__clone(
)
:
void
Magic clone function
__construct(
string $tag, string $type, string $name, array $attributes
=
array, Zend_Markup_Token $parent
=
null
)
:
void
Construct the token
addAttribute(
$name, $value
)
:
Zend_Markup_Token
Add an attribute
addChild(
$child
)
:
void
Add a child token
attributeIsEmpty(
string $name
)
:
bool
Check if an attribute is empty
getAttribute(
string $name
)
:
string
Get an attribute
getAttributes(
)
:
array
Get all the attributes
getChildren(
)
:
Zend_Markup_TokenList
Get the children for this token
getName(
)
:
string
Get the token's name
getParent(
)
:
Zend_Markup_Token
Get the parent token (if any)
getStopper(
)
:
string
Get the stopper
getTag(
)
:
string
Get the complete tag
getType(
)
:
string
Get the token's type
hasAttribute(
string $name
)
:
bool
Check if the token has an attribute
hasChildren(
)
:
bool
Does this token have any children
setChildren(
Zend_Markup_TokenList $children
)
:
Zend_Markup_Token
Set the children token list
setParent(
Zend_Markup_Token $parent
)
:
Zend_Markup_Token
Set a parent token
setStopper(
string $stopper
)
:
Zend_Markup_Token
Set the stopper