Packages

  • 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

Interfaces

Exceptions

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