コード例 #1
0
 /**
  * clearCache method
  * NOTE: Overwrites parent
  *
  * @param mixed $template_name
  * @param int $cache_id
  * @param int $compile_id
  * @param mixed $exp_time
  * @param mixed $type
  * @return mixed
  */
 public function clearCache($template_name, $cache_id = null, $compile_id = null, $exp_time = null, $type = null)
 {
     if (is_null($cache_id) || $cache_id === '') {
         $cache_id = $this->_global_cache_id;
     } else {
         if ($cache_id[0] == '|') {
             $cache_id = $this->_global_cache_id . $cache_id;
         }
     }
     return parent::clearCache($template_name, $cache_id, $compile_id, $exp_time, $type);
 }