Packages

  • Nette
    • Application
      • Application\Diagnostics
      • Application\Responses
      • Application\Routers
      • Application\UI
    • Caching
      • Caching\Storages
    • ComponentModel
    • Config
      • Config\Extensions
    • Database
      • Database\Diagnostics
      • Database\Drivers
      • Database\Reflection
      • Database\Table
    • DI
      • DI\Diagnostics
    • Diagnostics
    • Forms
      • Forms\Controls
      • Forms\Rendering
    • Http
    • Iterators
    • Latte
      • Latte\Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Security\Diagnostics
    • Templating
    • Utils
      • Utils\PhpGenerator
  • NetteModule
  • None
  • PHP

Classes

  • NCacheMacro
  • NCoreMacros
  • NFormMacros
  • NMacroSet
  • NUIMacros
  • Overview
  • Package
  • Class
  • Tree

Class NCacheMacro

Macro {cache} ... {/cache}

NObject
Extended by NCacheMacro implements IMacro
Package: Nette\Latte\Macros
Author: David Grudl
Located at Latte/Macros/CacheMacro.php
Methods summary
public
# initialize( )

Initializes before template parsing.

Initializes before template parsing.

Implementation of

IMacro::initialize
public array(prolog,
# finalize( )

Finishes template parsing.

Finishes template parsing.

Returns

array(prolog,
epilog)

Implementation of

IMacro::finalize
public boolean|string
# nodeOpened( NMacroNode $node )

New node is found.

New node is found.

Returns

boolean|string

Implementation of

IMacro::nodeOpened
public string
# nodeClosed( NMacroNode $node )

Node is closed.

Node is closed.

Returns

string

Implementation of

IMacro::nodeClosed
public static
# initRuntime( ITemplate $template, $global )

Parameters

$template
ITemplate
$global
public static NCachingHelper
# createCache( ICacheStorage $cacheStorage, string $key, array & $parents, array $args = NULL )

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

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

Parameters

$cacheStorage
ICacheStorage
$key
string
$parents
array
of NCachingHelper
$args
array

Returns

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