public function __construct() { /* * make this a tag extension only to avoid weird parser function * syntax as we have it in 'display_point' from the beginning! */ parent::__construct(true, false); }
/** * Returns an instance of the class handling the specified parser hook, * or false if there is none. * * @since 0.4.3 * * @param string $parserHookName * * @return mixed ParserHook or false */ protected function getParserHookInstance($parserHookName) { $className = ParserHook::getHookClassName($parserHookName); return $className !== false && class_exists($className) ? new $className() : false; }
public function __construct() { // make this a parser function extension (no tag extension) only: parent::__construct( false, true ); }
public function __construct() { // make this a parser function extension (no tag extension) only: parent::__construct(false, true, ParserHook::FH_NO_HASH); }