Zend Framework
1.12
|
Public Member Functions | |
__construct ($tag, $type, $name= '', array $attributes=array(), Zend_Markup_Token $parent=null) | |
Construct the token. | |
setStopper ($stopper) | |
Set the stopper. | |
getStopper () | |
Get the stopper. | |
getName () | |
Get the token's name. | |
getType () | |
Get the token's type. | |
getTag () | |
Get the complete tag. | |
getAttribute ($name) | |
Get an attribute. | |
hasAttribute ($name) | |
Check if the token has an attribute. | |
getAttributes () | |
Get all the attributes. | |
addAttribute ($name, $value) | |
Add an attribute. | |
attributeIsEmpty ($name) | |
Check if an attribute is empty. | |
addChild (Zend_Markup_Token $child) | |
Add a child token. | |
setChildren (Zend_Markup_TokenList $children) | |
Set the children token list. | |
getChildren () | |
Get the children for this token. | |
hasChildren () | |
Does this token have any children. | |
getParent () | |
Get the parent token (if any) | |
setParent (Zend_Markup_Token $parent) | |
Set a parent token. | |
__clone () | |
Magic clone function. | |
Public Attributes | |
const | TYPE_NONE = 'none' |
const | TYPE_TAG = 'tag' |
Protected Attributes | |
$_children | |
$_tag | |
$_type | |
$_name = '' | |
$_attributes = array() | |
$_stopper = '' | |
$_parent | |
__construct | ( | $tag, | |
$type, | |||
$name = '' , |
|||
array | $attributes = array() , |
||
Zend_Markup_Token | $parent = null |
||
) |
Construct the token.
string | $tag | |
string | $type | |
string | $name | |
array | $attributes | |
Zend_Markup_Token | $parent |
__clone | ( | ) |
Magic clone function.
addAttribute | ( | $name, | |
$value | |||
) |
Add an attribute.
addChild | ( | Zend_Markup_Token | $child | ) |
Add a child token.
attributeIsEmpty | ( | $name | ) |
Check if an attribute is empty.
string | $name |
getAttribute | ( | $name | ) |
Get an attribute.
string | $name |
getAttributes | ( | ) |
Get all the attributes.
getChildren | ( | ) |
Get the children for this token.
getName | ( | ) |
Get the token's name.
getParent | ( | ) |
Get the parent token (if any)
getStopper | ( | ) |
Get the stopper.
getTag | ( | ) |
Get the complete tag.
getType | ( | ) |
Get the token's type.
hasAttribute | ( | $name | ) |
Check if the token has an attribute.
string | $name |
hasChildren | ( | ) |
Does this token have any children.
setChildren | ( | Zend_Markup_TokenList | $children | ) |
setParent | ( | Zend_Markup_Token | $parent | ) |
setStopper | ( | $stopper | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const TYPE_NONE = 'none' |
const TYPE_TAG = 'tag' |