table_mobile_wsq_threadlist.php 772 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * [Discuz!] (C)2001-2099 Comsenz Inc.
  4. * This is NOT a freeware, use is subject to license terms
  5. *
  6. * $Id: table_mobile_wsq_threadlist.php 34398 2014-04-14 07:11:22Z nemohou $
  7. */
  8. if(!defined('IN_DISCUZ')) {
  9. exit('Access Denied');
  10. }
  11. class table_mobile_wsq_threadlist extends discuz_table {
  12. public function __construct() {
  13. $this->_table = 'mobile_wsq_threadlist';
  14. $this->_pk = 'skey';
  15. $this->_pre_cache_key = 'wsq_threadlist_';
  16. $this->_cache_ttl = 0;
  17. parent::__construct();
  18. }
  19. public function insert($tid, $data, $return_insert_id = false, $replace = false, $silent = false) {
  20. if($this->_allowmem) {
  21. $this->store_cache($tid, $data);
  22. }
  23. return DB::insert($this->_table, $data, $return_insert_id, $replace, $silent);
  24. }
  25. }