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 MacroSet

Base IMacro implementation. Allows add multiple macros.

Latte\Object
Extended by Latte\Macros\MacroSet implements Latte\IMacro

Direct known subclasses

Latte\Macros\BlockMacros, Latte\Macros\CoreMacros, Nette\Bridges\ApplicationLatte\UIMacros, Nette\Bridges\FormsLatte\FormMacros
Namespace: Latte\Macros
Located at Latte/Macros/MacroSet.php
Methods summary
public
# __construct( Latte\Compiler $compiler )
public
# addMacro( $name, $begin, $end = NULL, $attr = NULL )
public
# initialize( )

Initializes before template parsing.

Initializes before template parsing.

Implementation of

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

Finishes template parsing.

Finishes template parsing.

Returns

array(prolog,
epilog)

Implementation of

Latte\IMacro::finalize()
public boolean
# nodeOpened( Latte\MacroNode $node )

New node is found.

New node is found.

Returns

boolean
bool

Implementation of

Latte\IMacro::nodeOpened()
public
# nodeClosed( Latte\MacroNode $node )

Node is closed.

Node is closed.

Implementation of

Latte\IMacro::nodeClosed()
public Latte\Compiler
# getCompiler( )

Returns

Latte\Compiler
Latte\Compiler
Methods inherited from Latte\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset()
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0