Namespaces

  • 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

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

Interfaces

  • IMacro

Exceptions

  • CompileException
  • Overview
  • Namespace
  • 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:  */
 7: 
 8: namespace Nette\Latte;
 9: 
10: use Nette;
11: 
12: 
13: /**
14:  * HTML element node.
15:  *
16:  * @author     David Grudl
17:  */
18: class HtmlNode extends Nette\Object
19: {
20:     /** @var string */
21:     public $name;
22: 
23:     /** @var bool */
24:     public $isEmpty = FALSE;
25: 
26:     /** @var array */
27:     public $attrs = array();
28: 
29:     /** @var array */
30:     public $macroAttrs = array();
31: 
32:     /** @var bool */
33:     public $closing = FALSE;
34: 
35:     /** @var string */
36:     public $attrCode;
37: 
38:     /** @var int */
39:     public $offset;
40: 
41: 
42:     public function __construct($name)
43:     {
44:         $this->name = $name;
45:     }
46: 
47: }
48: 
Nette 2.0 API documentation generated by ApiGen 2.8.0