public __construct ( SimpleSaxParser $parser ) | ||
$parser | SimpleSaxParser | Handling strategy by reference. |
public function __construct($parser)
{
parent::__construct($parser, 'text');
$this->mapHandler('text', 'acceptTextToken');
$this->addSkipping();
foreach ($this->getParsedTags() as $tag) {
$this->addTag($tag);
}
$this->addInTagTokens();
}