Example #1
0
 /**
  * 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));
 }
Example #3
0
 public function parseTrailer($data)
 {
     return Billrun_Factory::chain()->trigger('parseTrailer', array($this->getType(), $data, &$this));
 }