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

  • NCacheMacro
  • NCoreMacros
  • NFormMacros
  • NMacroSet
  • NUIMacros
  • Overview
  • Package
  • Class
  • Tree

Class NMacroSet

Base IMacro implementation. Allowes add multiple macros.

NObject
Extended by NMacroSet implements IMacro

Direct known subclasses

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

New node is found.

New node is found.

Returns

boolean|string

Implementation of

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

Node is closed.

Node is closed.

Returns

string

Implementation of

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