public function __construct(&$parser) { parent::__construct($parser, 'Text'); $this->mapHandler('Text', 'Text'); foreach ($this->_modes as $mode) { $this->{'_add' . $mode . 'Tokens'}(); } }
public function __construct(&$Parser) { parent::__construct($Parser, 'Text'); $this->mapHandler('Text', 'Text'); $this->addPhpTokens(); }