Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationLatte
      • ApplicationTracy
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsLatte
      • Framework
      • HttpTracy
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
    • Reflection
    • Security
    • Templating
    • Utils
  • NetteModule
  • none
  • Tracy

Classes

  • Compiler
  • Engine
  • HtmlNode
  • MacroNode
  • MacroTokens
  • Object
  • Parser
  • PhpWriter
  • Token

Interfaces

  • ILoader
  • IMacro

Exceptions

  • CompileException
  • RegexpException
  • RuntimeException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class MacroNode

Macro element node.

Latte\Object
Extended by Latte\MacroNode
Namespace: Latte
Author: David Grudl
Located at Latte/MacroNode.php
Methods summary
public
# __construct( Latte\IMacro $macro, $name, $args = NULL, $modifiers = NULL, Latte\MacroNode $parentNode = NULL, Latte\HtmlNode $htmlNode = NULL, $prefix = NULL )
public
# setArgs( $args )
Methods inherited from Latte\Object
__call(), __get(), __isset(), __set(), __unset()
Constants summary
string PREFIX_INNER 'inner'
#
string PREFIX_TAG 'tag'
#
string PREFIX_NONE 'none'
#
Properties summary
public Latte\IMacro $macro
#
public string $name
#
public boolean $isEmpty FALSE
#
public string $args
#

raw arguments

raw arguments

public string $modifiers
#

raw modifier

raw modifier

public boolean $closing FALSE
#
public boolean $replaced
#

has output?

has output?

public Latte\MacroTokens $tokenizer
#
public Latte\MacroNode $parentNode
#
public string $openingCode
#
public string $closingCode
#
public string $attrCode
#
public string $content
#
public stdClass $data
#

user data

user data

public Latte\HtmlNode $htmlNode
#

closest HTML node

closest HTML node

public string $prefix
#

indicates n:attribute macro and type of prefix (PREFIX_INNER, PREFIX_TAG, PREFIX_NONE)

indicates n:attribute macro and type of prefix (PREFIX_INNER, PREFIX_TAG, PREFIX_NONE)

public $saved
#
Nette 2.2 API documentation generated by ApiGen 2.8.0