Esempio n. 1
0
 public static function &getInstance()
 {
     if (self::$_instance === null) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Esempio n. 2
0
 /**
  * 添加发票
  * @param $data
  * @return mixed
  */
 public function insertData($data)
 {
     return Model_Mobile_CustomerInvoice::getInstance()->insertData($data);
 }