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.

string
$_stopper= ''''
The used tag stopper (empty when none is found)
''
Details
__construct(
string $tag, string $type, string $name
=
'', array $attributes
=
array(), \Zend_Markup_Token $parent
=
null
)
:
void
Construct the token
Name | Type | Description |
---|---|---|
$tag | string | |
$type | string | |
$name | string | |
$attributes | array | |
$parent | \Zend_Markup_Token |

attributeIsEmpty(
string $name
)
:
bool
Check if an attribute is empty
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
bool |

getAttribute(
string $name
)
:
string
Get an attribute
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
string |

getChildren(
)
:
\Zend_Markup_TokenList
Get the children for this token
Type | Description |
---|---|
\Zend_Markup_TokenList |

getParent(
)
:
\Zend_Markup_Token
Get the parent token (if any)
Type | Description |
---|---|
\Zend_Markup_Token |

hasAttribute(
string $name
)
:
bool
Check if the token has an attribute
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
bool |

setChildren(
\Zend_Markup_TokenList $children
)
:
\Zend_Markup_Token
Set the children token list
Name | Type | Description |
---|---|---|
$children | \Zend_Markup_TokenList |
Type | Description |
---|---|
\Zend_Markup_Token |

setParent(
\Zend_Markup_Token $parent
)
:
\Zend_Markup_Token
Set a parent token
Name | Type | Description |
---|---|---|
$parent | \Zend_Markup_Token |
Type | Description |
---|---|
\Zend_Markup_Token |