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
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Latte (https://latte.nette.org)
 5:  * Copyright (c) 2008 David Grudl (https://davidgrudl.com)
 6:  */
 7: 
 8: namespace Latte;
 9: 
10: 
11: /**
12:  * HTML element node.
13:  */
14: class HtmlNode extends Object
15: {
16:     /** @var string */
17:     public $name;
18: 
19:     /** @var bool */
20:     public $isEmpty;
21: 
22:     /** @var array */
23:     public $attrs = array();
24: 
25:     /** @var array */
26:     public $macroAttrs = array();
27: 
28:     /** @var bool */
29:     public $closing = FALSE;
30: 
31:     /** @var HtmlNode */
32:     public $parentNode;
33: 
34:     /** @var string */
35:     public $attrCode;
36: 
37:     /** @var int */
38:     public $offset;
39: 
40: 
41:     public function __construct($name, self $parentNode = NULL)
42:     {
43:         $this->name = $name;
44:         $this->parentNode = $parentNode;
45:     }
46: 
47: }
48: 
Nette 2.3-20161221 API API documentation generated by ApiGen 2.8.0