Packages

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

Classes

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

Class MacroSet

Base IMacro implementation. Allowes add multiple macros.

Object
Extended by MacroSet implements IMacro

Direct known subclasses

CoreMacros, FormMacros, UIMacros
Package: Nette\Latte\Macros
Author: David Grudl
Located at Latte/Macros/MacroSet.php
Methods summary
public
# __construct( Parser $parser )
public
# addMacro( $name, $begin, $end = NULL )
public static
# install( Parser $parser )
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( MacroNode $node )

New node is found.

New node is found.

Returns

boolean|string

Implementation of

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

Node is closed.

Node is closed.

Returns

string

Implementation of

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