\Horde_Date_Parser_Token

Summary

Methods
Properties
Constants
__construct()
tag()
untag()
tagged()
getTag()
__toString()
$word
$tags
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$word

$word : 

Type

$tags

$tags : 

Type

Methods

__construct()

__construct(  $word) 

Parameters

$word

tag()

tag(  $tagClass,   $tag) 

Tag this token with the specified tag

Parameters

$tagClass
$tag

untag()

untag(  $tagClass) 

Remove all tags of the given class

Parameters

$tagClass

tagged()

tagged() 

Return true if this token has any tags

getTag()

getTag(  $tagClass) 

Return the Tag that matches the given class

Parameters

$tagClass

__toString()

__toString() 

Print this Token in a pretty way