class CacheNode extends StatementNode

{cache} ... {/cache}

Properties

$args
$content
$endLine

Methods

static Generator
create(Tag $tag)

No description

string
print(PrintContext $context)

No description

getIterator()

No description

static void
initRuntime(Template $template)

No description

createCache(Storage $cacheStorage, string $key, array|null $parents, array|null $args = null)

Starts the output cache. Returns Nette\Caching\OutputHelper object if buffering was started.

static void
endCache(array $parents)

Ends the output cache.

static void
rollback(array $parents)

No description

Details

at line 34
static Generator create(Tag $tag)

No description

Parameters

Tag $tag

Return Value

Generator

at line 44
string print(PrintContext $context)

No description

Parameters

PrintContext $context

Return Value

string

at line 67
Generator getIterator()

No description

Return Value

Generator

at line 76
static void initRuntime(Template $template)

No description

Parameters

Template $template

Return Value

void

at line 91
static OutputHelper|stdClass createCache(Storage $cacheStorage, string $key, array|null $parents, array|null $args = null)

Starts the output cache. Returns Nette\Caching\OutputHelper object if buffering was started.

Parameters

Storage $cacheStorage
string $key
array|null $parents
array|null $args

Return Value

OutputHelper|stdClass

at line 129
static void endCache(array $parents)

Ends the output cache.

Parameters

array $parents

Return Value

void

at line 141
static void rollback(array $parents)

No description

Parameters

array $parents

Return Value

void