Example #1
0
 protected function cacheInit()
 {
     if (!$this->_cache_ok && $this->_cache_ttl > -1) {
         $this->_cache_ok = ycache('check');
         if (empty($this->_cache_prename)) {
             $this->_cache_prename = $this->_name;
         }
     }
 }
Example #2
0
 protected function _cacheDel($key)
 {
     return ycache('del', $key);
 }