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
DetailsZend_Markup_TokenList $_children = ''Children of this token
Detailsstring $_name = ''Tag name
DetailsZend_Markup_Token $_parent = ''The parent token
Detailsstring $_stopper = ''The used tag stopper (empty when none is found)
Detailsstring $_tag = ''The complete tag
Detailsstring $_type = ''The tag's type
Details__clone(
)
:
voidMagic clone function
Details__construct(
string $tag, string $type, string $name, array $attributes
=
array, Zend_Markup_Token $parent
=
null
)
:
voidConstruct the token
DetailsaddAttribute(
$name, $value
)
:
Zend_Markup_TokenAdd an attribute
DetailsaddChild(
$child
)
:
voidAdd a child token
DetailsattributeIsEmpty(
string $name
)
:
boolCheck if an attribute is empty
DetailsgetAttribute(
string $name
)
:
stringGet an attribute
DetailsgetAttributes(
)
:
arrayGet all the attributes
DetailsgetChildren(
)
:
Zend_Markup_TokenListGet the children for this token
DetailsgetName(
)
:
stringGet the token's name
DetailsgetParent(
)
:
Zend_Markup_TokenGet the parent token (if any)
DetailsgetStopper(
)
:
stringGet the stopper
DetailsgetTag(
)
:
stringGet the complete tag
DetailsgetType(
)
:
stringGet the token's type
DetailshasAttribute(
string $name
)
:
boolCheck if the token has an attribute
DetailshasChildren(
)
:
boolDoes this token have any children
DetailssetChildren(
Zend_Markup_TokenList $children
)
:
Zend_Markup_TokenSet the children token list
DetailssetParent(
Zend_Markup_Token $parent
)
:
Zend_Markup_TokenSet a parent token
DetailssetStopper(
string $stopper
)
:
Zend_Markup_TokenSet the stopper
Details