PHP 클래스 HTMLPurifier_TagTransform, yii

파일 보기 프로젝트 열기: yiisoft/yii

공개 프로퍼티들

프로퍼티 타입 설명
$transform_to Tag name to transform the tag to.

공개 메소드들

메소드 설명
transform ( HTMLPurifier_Token_Tag $tag, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) Transforms the obsolete tag into the valid tag.

보호된 메소드들

메소드 설명
prependCSS ( array &$attr, string $css ) Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.

메소드 상세

prependCSS() 보호된 메소드

Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist.
protected prependCSS ( array &$attr, string $css )
$attr array Attribute array to process (passed by reference)
$css string CSS to prepend

transform() 추상적인 공개 메소드

Transforms the obsolete tag into the valid tag.
abstract public transform ( HTMLPurifier_Token_Tag $tag, HTMLPurifier_Config $config, HTMLPurifier_Context $context )
$tag HTMLPurifier_Token_Tag Tag to be transformed.
$config HTMLPurifier_Config Mandatory HTMLPurifier_Config object
$context HTMLPurifier_Context Mandatory HTMLPurifier_Context object

프로퍼티 상세

$transform_to 공개적으로 프로퍼티

Tag name to transform the tag to.
public $transform_to