ACC SHELL

Path : /srv/www/vhosts/pk-dane/kliminvest/vendor/latte/latte/src/Latte/
File Upload :
Current File : /srv/www/vhosts/pk-dane/kliminvest/vendor/latte/latte/src/Latte/HtmlNode.php

<?php

/**
 * This file is part of the Nette Framework (http://nette.org)
 * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 */

namespace Latte;


/**
 * HTML element node.
 *
 * @author     David Grudl
 */
class HtmlNode extends Object
{
	/** @var string */
	public $name;

	/** @var bool */
	public $isEmpty = FALSE;

	/** @var array */
	public $attrs = array();

	/** @var array */
	public $macroAttrs = array();

	/** @var bool */
	public $closing = FALSE;

	/** @var HtmlNode */
	public $parentNode;

	/** @var string */
	public $attrCode;

	/** @var int */
	public $offset;


	public function __construct($name, self $parentNode = NULL)
	{
		$this->name = $name;
		$this->parentNode = $parentNode;
	}

}

ACC SHELL 2018