Packages

  • 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

Interfaces

Exceptions

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (https://nette.org)
 5:  * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 6:  * @package Nette\Latte
 7:  */
 8: 
 9: 
10: 
11: /**
12:  * Latte macro.
13:  *
14:  * @author     David Grudl
15:  * @package Nette\Latte
16:  */
17: interface IMacro
18: {
19: 
20:     /**
21:      * Initializes before template parsing.
22:      * @return void
23:      */
24:     function initialize();
25: 
26:     /**
27:      * Finishes template parsing.
28:      * @return array(prolog, epilog)
29:      */
30:     function finalize();
31: 
32:     /**
33:      * New node is found. Returns FALSE to reject.
34:      * @return bool
35:      */
36:     function nodeOpened(MacroNode $node);
37: 
38:     /**
39:      * Node is closed.
40:      * @return void
41:      */
42:     function nodeClosed(MacroNode $node);
43: 
44: }
45: 
Nette Framework 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0