$is_tag
$is_tag
Static bool marker that indicates the class is a tag.
This allows us to check objects with !empty($obj->is_tag) without having to use a function call is_a().
Concrete end token class.
__construct(string $name, array $attr = array(), int $line = null, int $col = null, array $armor = array()) : mixed
Non-overloaded constructor, which lower-cases passed tag name.
string | $name | String name. |
array | $attr | Associative array of attributes. |
int | $line | |
int | $col | |
array | $armor |
<?php
/**
* Concrete end token class.
*
* @warning This class accepts attributes even though end tags cannot. This
* is for optimization reasons, as under normal circumstances, the Lexers
* do not pass attributes.
*/
class HTMLPurifier_Token_End extends HTMLPurifier_Token_Tag
{
/**
* Token that started this node.
* Added by MakeWellFormed. Please do not edit this!
* @type HTMLPurifier_Token
*/
public $start;
public function toNode() {
throw new Exception("HTMLPurifier_Token_End->toNode not supported!");
}
}
// vim: et sw=4 sts=4