public static function &getInstance() { if (self::$_instance === null) { self::$_instance = new self(); } return self::$_instance; }
/** * 报名操作 * @param $cityId * @param $date * @param $dayNum * @return array|bool */ public function updateActivateNum($cityId, $date, $dayNum) { return Model_Fyk_UserActivateInfo::updateActivateNum(intval($cityId), intval($date), intval($dayNum)); }