Exemple #1
0
 /**
  *	Constructor.
  * Add your listeners and extension spans/blocks/glyphs in here...
  */
 public function __construct($parser)
 {
     self::$parser = $parser;
     self::$verbose = false;
     # change to true for more output.
     self::$parser->AddParseListener('*', 'TextileOutputGenerator::ParseListener');
     # We want to know *everything*
 }
Exemple #2
0
 public function __construct($controller)
 {
     self::$controller = $controller;
 }