Свойство | Тип | Описание | |
---|---|---|---|
$attr | Associative array of the tag's attributes. | ||
$is_tag | This allows us to check objects with !empty($obj->is_tag) without having to use a function call is_a(). | ||
$name | The lower-case name of the tag, like 'a', 'b' or 'blockquote'. |
Метод | Описание | |
---|---|---|
__construct ( string $name, array $attr = [], integer $line = null, integer $col = null, array $armor = [] ) | Non-overloaded constructor, which lower-cases passed tag name. | |
toNode ( ) |
public $is_tag |