Overview

Namespaces

  • Budovy
  • Kdyby
    • BootstrapFormRenderer
      • DI
      • Latte
  • 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
  • Nextras
    • Datagrid
  • None
  • PHP
  • Tester
    • CodeCoverage
    • Runner
      • Output
  • Vodacek
    • Forms
      • Controls
  • WebLoader
    • Filter
    • Nette

Classes

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

Interfaces

  • IMacro

Exceptions

  • CompileException
  • Overview
  • Namespace
  • Class
  • Tree

Class MacroNode

Macro element node.

Nette\Object
Extended by Nette\Latte\MacroNode
Namespace: Nette\Latte
Author: David Grudl
Located at vendor/nette/nette/Nette/Latte/MacroNode.php
Methods summary
public
# __construct( Nette\Latte\IMacro $macro, mixed $name, mixed $args = NULL, mixed $modifiers = NULL, Nette\Latte\MacroNode $parentNode = NULL, Nette\Latte\HtmlNode $htmlNode = NULL, mixed $prefix = NULL )
public
# setArgs( mixed $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 mixed $saved
#
Magic properties inherited from Nette\Object
$reflection
API documentation generated by ApiGen 2.8.0