Namespaces

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

Classes

  • CacheMacro
  • CoreMacros
  • FormMacros
  • MacroSet
  • UIMacros
  • Overview
  • Namespace
  • Class
  • Tree

Class MacroSet

Base IMacro implementation. Allowes 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\Parser $parser )
public
# addMacro( $name, $begin, $end = NULL )
public static
# install( Nette\Latte\Parser $parser )
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|string
# nodeOpened( Nette\Latte\MacroNode $node )

New node is found.

New node is found.

Returns

boolean|string

Implementation of

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

Node is closed.

Node is closed.

Returns

string

Implementation of

Nette\Latte\IMacro::nodeClosed
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Properties summary
public Nette\Latte\Parser $parser
#
Nette Framework 2.0beta1 API API documentation generated by ApiGen 2.3.0