Exemplo n.º 1
0
 /**
  * isCached method
  * NOTE: Overwrites parent
  *
  * @param mixed $template_name
  * @param int $cache_id
  * @param int $compile_id
  * @param mixed $parent
  * @return mixed
  */
 public function isCached($template = null, $cache_id = null, $compile_id = null, $parent = 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::isCached($template, $cache_id, $compile_id, $parent);
 }