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