/** * method to retrieve the chain instance * * @return Billrun_Chain */ public static function chain() { if (!self::$chain) { self::$chain = Billrun_Dispatcher::getInstance(array('type' => 'chain')); } return self::$chain; }
/** * @see Billrun_Processor::getSequenceData */ public function getFilenameData($filename) { return Billrun_Factory::chain()->trigger('getFilenameData', array($this->getType(), $filename, &$this)); }
public function parseTrailer($data) { return Billrun_Factory::chain()->trigger('parseTrailer', array($this->getType(), $data, &$this)); }