_table = 'mobile_wsq_threadlist'; $this->_pk = 'skey'; $this->_pre_cache_key = 'wsq_threadlist_'; $this->_cache_ttl = 0; parent::__construct(); } public function insert($tid, $data, $return_insert_id = false, $replace = false, $silent = false) { if($this->_allowmem) { $this->store_cache($tid, $data); } return DB::insert($this->_table, $data, $return_insert_id, $replace, $silent); } }