Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 /**
  * 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;
 }
Exemplo n.º 3
0
	public function __construct() {
		// make this a parser function extension (no tag extension) only:
		parent::__construct( false, true );
	}
Exemplo n.º 4
0
 public function __construct()
 {
     // make this a parser function extension (no tag extension) only:
     parent::__construct(false, true, ParserHook::FH_NO_HASH);
 }