示例#1
0
文件: Factory.php 项目: ngchie/system
 /**
  * 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));
 }
示例#3
0
 public function parseTrailer($data)
 {
     return Billrun_Factory::chain()->trigger('parseTrailer', array($this->getType(), $data, &$this));
 }