PHP 클래스 HTMLPurifier_Token_Tag, yii

상속: extends HTMLPurifier_Token
파일 보기 프로젝트 열기: yiisoft/yii 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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 ( )

메소드 상세

__construct() 공개 메소드

Non-overloaded constructor, which lower-cases passed tag name.
public __construct ( string $name, array $attr = [], integer $line = null, integer $col = null, array $armor = [] )
$name string String name.
$attr array Associative array of attributes.
$line integer
$col integer
$armor array

toNode() 공개 메소드

public toNode ( )

프로퍼티 상세

$attr 공개적으로 프로퍼티

Associative array of the tag's attributes.
public $attr

$is_tag 공개적으로 프로퍼티

This allows us to check objects with !empty($obj->is_tag) without having to use a function call is_a().
public $is_tag

$name 공개적으로 프로퍼티

The lower-case name of the tag, like 'a', 'b' or 'blockquote'.
public $name