Namespaces

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

Classes

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

Interfaces

  • IMacro

Exceptions

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

Class MacroNode

Macro element node.

Nette\Object
Extended by Nette\Latte\MacroNode
Namespace: Nette\Latte
Author: David Grudl
Located at Latte/MacroNode.php
Methods summary
public
# __construct( Nette\Latte\IMacro $macro, $name, $args = NULL, $modifiers = NULL, Nette\Latte\MacroNode $parentNode = NULL, Nette\Latte\HtmlNode $htmlNode = NULL, $prefix = NULL )
public
# setArgs( $args )
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants summary
string PREFIX_INNER 'inner'
#
string PREFIX_TAG 'tag'
#
string PREFIX_NONE 'none'
#
Properties summary
public Nette\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 Nette\Latte\MacroTokens $tokenizer
#
public Nette\Latte\MacroNode $parentNode
#
public string $openingCode
#
public string $closingCode
#
public string $attrCode
#
public string $content
#
public stdClass $data
#

user data

user data

public Nette\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
#
Magic properties inherited from Nette\Object
$reflection
Nette 2.1 API documentation generated by ApiGen 2.8.0