Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Utils
  • none
  • Tracy
    • Bridges
      • Nette

Classes

  • BlockMacros
  • BlockMacrosRuntime
  • CoreMacros
  • MacroSet
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class BlockMacros

Block macros.

Latte\Object
Extended by Latte\Macros\MacroSet implements Latte\IMacro
Extended by Latte\Macros\BlockMacros
Namespace: Latte\Macros
Located at Latte/Macros/BlockMacros.php
Methods summary
public static
# install( Latte\Compiler $compiler )
public
# initialize( )

Initializes before template parsing.

Initializes before template parsing.

Overrides

Latte\Macros\MacroSet::initialize()
public array(prolog,
# finalize( )

Finishes template parsing.

Finishes template parsing.

Returns

array(prolog,
epilog)

Overrides

Latte\Macros\MacroSet::finalize()
public
# macroInclude( Latte\MacroNode $node, Latte\PhpWriter $writer )

{include #block}

{include #block}

public
# macroIncludeBlock( Latte\MacroNode $node, Latte\PhpWriter $writer )

{includeblock "file"}

{includeblock "file"}

public
# macroExtends( Latte\MacroNode $node, Latte\PhpWriter $writer )

{extends auto | none | $var | "file"}

{extends auto | none | $var | "file"}

public
# macroBlock( Latte\MacroNode $node, Latte\PhpWriter $writer )

{block [[#]name]} {snippet [name [,]] [tag]} {snippetArea [name]} {define [#]name}

{block [[#]name]} {snippet [name [,]] [tag]} {snippetArea [name]} {define [#]name}

public
# macroBlockEnd( Latte\MacroNode $node, Latte\PhpWriter $writer )

{/block} {/snippet} {/snippetArea} {/define}

{/block} {/snippet} {/snippetArea} {/define}

public
# macroIfset( Latte\MacroNode $node, Latte\PhpWriter $writer )

{ifset #block} {elseifset #block}

{ifset #block} {elseifset #block}

Methods inherited from Latte\Macros\MacroSet
__construct(), addMacro(), getCompiler(), nodeClosed(), nodeOpened()
Methods inherited from Latte\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset()
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0