PHP 클래스 HTMLPurifier_URIFilter, yii

These filters can perform custom actions on a URI filter object, including transformation or blacklisting.
파일 보기 프로젝트 열기: yiisoft/yii

공개 프로퍼티들

프로퍼티 타입 설명
$always_load This permits a filter to be named Foo without the corresponding %URI.Foo directive existing.
$name Unique identifier of filter.
$post True if this filter should be run after scheme validation.

공개 메소드들

메소드 설명
filter ( HTMLPurifier_URI &$uri, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean Filter a URI object
prepare ( HTMLPurifier_Config $config ) : boolean Performs initialization for the filter. If the filter returns false, this means that it shouldn't be considered active.

메소드 상세

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

Filter a URI object
abstract public filter ( HTMLPurifier_URI &$uri, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : boolean
$uri HTMLPurifier_URI Reference to URI object variable
$config HTMLPurifier_Config
$context HTMLPurifier_Context
리턴 boolean Whether or not to continue processing: false indicates URL is no good, true indicates continue processing. Note that all changes are committed directly on the URI object

prepare() 공개 메소드

Performs initialization for the filter. If the filter returns false, this means that it shouldn't be considered active.
public prepare ( HTMLPurifier_Config $config ) : boolean
$config HTMLPurifier_Config
리턴 boolean

프로퍼티 상세

$always_load 공개적으로 프로퍼티

This permits a filter to be named Foo without the corresponding %URI.Foo directive existing.
public $always_load

$name 공개적으로 프로퍼티

Unique identifier of filter.
public $name

$post 공개적으로 프로퍼티

True if this filter should be run after scheme validation.
public $post