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; }
function __construct() { parent::__construct(); }
public function update($primary_value = '', $updatedata = '', $where = '') { $result = parent::update($primary_value, $updatedata); $this->cache->delete('popup-info-' . cdate('Y-m-d')); return $result; }
public function delete($primary_value = '', $where = '') { $result = parent::delete($primary_value, $where); $this->cache->delete('super-admin-list'); return $result; }