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