Namespaces

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

Classes

  • CacheMacro
  • CoreMacros
  • FormMacros
  • MacroSet
  • UIMacros
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class MacroSet

Base IMacro implementation. Allows add multiple macros.

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

Direct known subclasses

Nette\Latte\Macros\CoreMacros, Nette\Latte\Macros\FormMacros, Nette\Latte\Macros\UIMacros
Namespace: Nette\Latte\Macros
Author: David Grudl
Located at Latte/Macros/MacroSet.php
Methods summary
public
# __construct( Nette\Latte\Compiler $compiler )
public
# addMacro( $name, $begin, $end = NULL, $attr = NULL )
public static
# install( Nette\Latte\Compiler $compiler )
public
# initialize( )

Initializes before template parsing.

Initializes before template parsing.

Implementation of

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

Finishes template parsing.

Finishes template parsing.

Returns

array(prolog,
epilog)

Implementation of

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

New node is found.

New node is found.

Returns

boolean

Implementation of

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

Node is closed.

Node is closed.

Implementation of

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

Returns

Nette\Latte\Compiler
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Magic properties inherited from Nette\Object
$reflection
Nette 2.0 API documentation generated by ApiGen 2.8.0