Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NBaseTemplate
  • NCachingHelper
  • NCurlyBracketsMacros
  • NLatteFilter
  • NLatteMacros
  • NSnippetHelper
  • NTemplate
  • NTemplateCacheStorage
  • NTemplateFilters
  • NTemplateHelpers

Interfaces

  • IFileTemplate
  • ITemplate
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Class NCachingHelper

Caching template helper.

NObject
Extended by NCachingHelper
Package: Nette\Templates
Author: David Grudl
Located at Templates/Filters/CachingHelper.php
Methods summary
public static NCachingHelper
# create( string $key, string $file, array $tags )

Starts the output cache. Returns CachingHelper object if buffering was started.

Starts the output cache. Returns CachingHelper object if buffering was started.

Parameters

$key
string
$file
string
$tags
array

Returns

NCachingHelper
public
# save( )

Stops and saves the cache.

Stops and saves the cache.

public
# addFile( string $file )

Adds the file dependency.

Adds the file dependency.

Parameters

$file
string
public
# addItem( string $item )

Adds the cached item dependency.

Adds the cached item dependency.

Parameters

$item
string
protected static NCache
# getCache( )

Returns

NCache
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0