/** * Initialize the parser. Nothing much here. * * @return void */ function init() { parent::init(); $this->parser_type = $this->module_id; }
/** * Do whatever setup necessary that wasn't already done in the constructor. * * This method was added so that sub-classes would have something "safe" to * over-ride without having to deal with PHP4/5 constructors. * * @return void */ function init() { parent::init(); $this->container_type = $this->module_id; //Sub-classes might also use it to set up hooks, etc. }