Ejemplo n.º 1
0
 public function update($primary_value = '', $updatedata = '', $where = '')
 {
     if (empty($primary_value)) {
         return false;
     }
     $result = parent::update($primary_value, $updatedata);
     if ($result) {
         $this->cache->delete($this->cache_prefix . $primary_value);
     }
     return $result;
 }
Ejemplo n.º 2
0
 function __construct()
 {
     parent::__construct();
 }
Ejemplo n.º 3
0
 public function update($primary_value = '', $updatedata = '', $where = '')
 {
     $result = parent::update($primary_value, $updatedata);
     $this->cache->delete('popup-info-' . cdate('Y-m-d'));
     return $result;
 }
Ejemplo n.º 4
0
 public function delete($primary_value = '', $where = '')
 {
     $result = parent::delete($primary_value, $where);
     $this->cache->delete('super-admin-list');
     return $result;
 }