public function __construct()
 {
     $this->_table = 'common_member_count';
     $this->_pk = 'uid';
     $this->_pre_cache_key = 'common_member_count_';
     parent::__construct();
 }
 public function insert($token, $other = '')
 {
     if ($token) {
         $base = array('token' => $token, 'other' => (string) $other);
         parent::insert($base, false, true);
     }
 }
 public function __construct()
 {
     $this->_table = 'common_member_profile';
     $this->_pk = 'uid';
     $this->_pre_cache_key = 'common_member_profile_';
     $this->_fields = array('uid', 'realname', 'gender', 'birthyear', 'birthmonth', 'birthday', 'constellation', 'zodiac', 'telephone', 'mobile', 'idcardtype', 'idcard', 'address', 'zipcode', 'nationality', 'birthprovince', 'birthcity', 'birthdist', 'birthcommunity', 'resideprovince', 'residecity', 'residedist', 'residecommunity', 'residesuite', 'graduateschool', 'education', 'company', 'occupation', 'position', 'revenue', 'affectivestatus', 'lookingfor', 'bloodtype', 'height', 'weight', 'alipay', 'icq', 'qq', 'yahoo', 'msn', 'taobao', 'site', 'bio', 'interest', 'field1', 'field2', 'field3', 'field4', 'field5', 'field6', 'field7', 'field8');
     parent::__construct();
 }
 public function __construct()
 {
     $this->_table = 'common_member_profile';
     $this->_pk = 'uid';
     $this->_pre_cache_key = 'common_member_profile_';
     //$this->_fields = array('qq');
     parent::__construct();
 }
Example #5
0
 public function __construct()
 {
     $this->_table = 'server';
     $this->_pk = 'server_id';
     parent::__construct();
 }
Example #6
0
 public function delete($val, $unbuffered = false, $fetch_archive = 0)
 {
     $ret = false;
     if ($val = dintval($val, true)) {
         $ret = parent::delete($val, $unbuffered, $fetch_archive);
         if ($this->_allowmem) {
             $data = ($data = memory('get', 'deleteuids')) === false ? array() : $data;
             foreach ((array) $val as $uid) {
                 $data[$uid] = $uid;
             }
             memory('set', 'deleteuids', $data, 86400 * 2);
         }
     }
     return $ret;
 }
 public function __construct()
 {
     $this->_table = 'common_card_log';
     $this->_pk = 'id';
     parent::__construct();
 }
 public function __construct()
 {
     $this->_table = 'common_magiclog';
     $this->_pk = '';
     parent::__construct();
 }