Пример #1
0
 /**
  * Cache HTML without checking for database updates
  *
  * This function caches blocks of HTML code
  *
  * @param int $timeout timeout in minutes before cache file is deleted
  * @param string $html block of HTML to cache
  * @param string $label name to identify the cached file
  * @return bool
  */
 public function cacheHTML($timeout = 0, $html = '', $label = '')
 {
     $caching = Caching::instance();
     return $caching->cacheHTML($this, $timeout, $html, $label);
 }