/** * 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* }
public function __construct($controller) { self::$controller = $controller; }