namespace Nette\Templates
Class CachingHelper
Caching template helper.
- Nette\Object
-
Nette\Templates\CachingHelper
public static
CachingHelper
|
#
create(
string
$key,
array
& $parents,
array
$args = NULL
)
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$parents array of CachingHelper$args array |
public
void
|
#
save(
)
Stops and saves the cache. Stops and saves the cache. |
public
void
|
#
addFile(
string
$file
)
Adds the file dependency. Adds the file dependency. Parameters$file string |
protected static
Nette\Caching\Cache
|
#
getCache(
)
|