PHP Класс Nette\Bridges\CacheLatte\CacheMacro

.. {/cache}
Наследование: implements Latte\IMacro, use trait Nette\SmartObject
Показать файл Открыть проект

Открытые методы

Метод Описание
createCache ( Nette\Caching\IStorage $cacheStorage, $key, &$parents, array $args = NULL ) : OutputHelper Starts the output cache. Returns Nette\Caching\OutputHelper object if buffering was started.
finalize ( ) : array(prolog, Finishes template parsing.
initRuntime ( Template $template ) : void
initialize ( ) : void Initializes before template parsing.
nodeClosed ( MacroNode $node ) : void Node is closed.
nodeOpened ( MacroNode $node ) : boolean New node is found.

Описание методов

createCache() публичный статический метод

Starts the output cache. Returns Nette\Caching\OutputHelper object if buffering was started.
public static createCache ( Nette\Caching\IStorage $cacheStorage, $key, &$parents, array $args = NULL ) : OutputHelper
$cacheStorage Nette\Caching\IStorage
$args array
Результат Nette\Caching\OutputHelper

finalize() публичный метод

Finishes template parsing.
public finalize ( ) : array(prolog,
Результат array(prolog,

initRuntime() публичный статический метод

public static initRuntime ( Template $template ) : void
$template Latte\Runtime\Template
Результат void

initialize() публичный метод

Initializes before template parsing.
public initialize ( ) : void
Результат void

nodeClosed() публичный метод

Node is closed.
public nodeClosed ( MacroNode $node ) : void
$node Latte\MacroNode
Результат void

nodeOpened() публичный метод

New node is found.
public nodeOpened ( MacroNode $node ) : boolean
$node Latte\MacroNode
Результат boolean