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

Classes

  • NHtmlNode
  • NLatteCompiler
  • NLatteFilter
  • NLatteToken
  • NMacroNode
  • NMacroTokenizer
  • NParser
  • NPhpWriter

Interfaces

  • IMacro

Exceptions

  • NCompileException
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
 1: <?php
 2: 
 3: /**
 4:  * This file is part of the Nette Framework (http://nette.org)
 5:  *
 6:  * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 7:  *
 8:  * For the full copyright and license information, please view
 9:  * the file license.txt that was distributed with this source code.
10:  * @package Nette\Latte
11:  */
12: 
13: 
14: 
15: /**
16:  * HTML element node.
17:  *
18:  * @author     David Grudl
19:  * @package Nette\Latte
20:  */
21: class NHtmlNode extends NObject
22: {
23:     /** @var string */
24:     public $name;
25: 
26:     /** @var bool */
27:     public $isEmpty = FALSE;
28: 
29:     /** @var array */
30:     public $attrs = array();
31: 
32:     /** @var array */
33:     public $macroAttrs = array();
34: 
35:     /** @var bool */
36:     public $closing = FALSE;
37: 
38:     /** @var string */
39:     public $attrCode;
40: 
41:     /** @var int */
42:     public $offset;
43: 
44: 
45:     public function __construct($name)
46:     {
47:         $this->name = $name;
48:     }
49: 
50: }
51: 
Nette Framework 2.0.11 (for PHP 5.2, prefixed) API API documentation generated by ApiGen 2.8.0