Beispiel #1
0
 /**
  * Deletes a value with the specified key from cache
  * This is the implementation of the method declared in the parent class.
  * @param string $key The key of the value to be deleted
  * @return boolean If no error happens during deletion. If something goes wrong we return false.
  */
 protected function deleteValue($key)
 {
     try {
         $this->_yiiron->cacheDeleteItem($this->yiironCacheName, $key);
         return true;
     } catch (Exception $e) {
         Yii::log($e->getMessage(), CLogger::LEVEL_ERROR, "ext.yiiron");
         return false;
     }
 }