Namespaces

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

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
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(), __callStatic(), __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.3-20161221 API API documentation generated by ApiGen 2.8.0