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
  • PHP

Classes

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

Interfaces

  • IMacro

Exceptions

  • CompileException
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework.
 5:  *
 6:  * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 7:  *
 8:  * This source file is subject to the "Nette license", and/or
 9:  * GPL license. For more information please see http://nette.org
10:  */
11: 
12: namespace Nette\Latte;
13: 
14: use Nette;
15: 
16: 
17: 
18: /**
19:  * HTML element node.
20:  *
21:  * @author     David Grudl
22:  */
23: class HtmlNode extends Nette\Object
24: {
25:     /** @var string */
26:     public $name;
27: 
28:     /** @var bool */
29:     public $isEmpty = FALSE;
30: 
31:     /** @var array */
32:     public $attrs = array();
33: 
34:     /** @var array */
35:     public $macroAttrs = array();
36: 
37:     /** @var bool */
38:     public $closing = FALSE;
39: 
40:     /** @var string */
41:     public $attrCode;
42: 
43:     /** @var int */
44:     public $offset;
45: 
46: 
47: 
48:     public function __construct($name)
49:     {
50:         $this->name = $name;
51:     }
52: 
53: }
54: 
Nette Framework 2.0.4 API API documentation generated by ApiGen 2.7.0