PHP 클래스 HTMLPurifier_IDAccumulator, yii

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

공개 프로퍼티들

프로퍼티 타입 설명
$ids Lookup table of IDs we've accumulated.

공개 메소드들

메소드 설명
add ( string $id ) : boolean Add an ID to the lookup table.
build ( HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : HTMLPurifier_IDAccumulator Builds an IDAccumulator, also initializing the default blacklist
load ( $array_of_ids ) Load a list of IDs into the lookup table

메소드 상세

add() 공개 메소드

Add an ID to the lookup table.
public add ( string $id ) : boolean
$id string ID to be added.
리턴 boolean status, true if success, false if there's a dupe

build() 공개 정적인 메소드

Builds an IDAccumulator, also initializing the default blacklist
public static build ( HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : HTMLPurifier_IDAccumulator
$config HTMLPurifier_Config Instance of HTMLPurifier_Config
$context HTMLPurifier_Context Instance of HTMLPurifier_Context
리턴 HTMLPurifier_IDAccumulator Fully initialized HTMLPurifier_IDAccumulator

load() 공개 메소드

Load a list of IDs into the lookup table
public load ( $array_of_ids )
$array_of_ids Array of IDs to load

프로퍼티 상세

$ids 공개적으로 프로퍼티

Lookup table of IDs we've accumulated.
public $ids