PHP 클래스 HTMLPurifier_Context, yii

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

공개 메소드들

메소드 설명
destroy ( string $name ) Destroys a variable in the context.
exists ( string $name ) : boolean Checks whether or not the variable exists.
get ( string $name, boolean $ignore_error = false ) : mixed Retrieves a variable reference from the context.
loadArray ( array $context_array ) Loads a series of variables from an associative array
register ( string $name, mixed &$ref ) Registers a variable into the context.

메소드 상세

destroy() 공개 메소드

Destroys a variable in the context.
public destroy ( string $name )
$name string String name

exists() 공개 메소드

Checks whether or not the variable exists.
public exists ( string $name ) : boolean
$name string String name
리턴 boolean

get() 공개 메소드

Retrieves a variable reference from the context.
public get ( string $name, boolean $ignore_error = false ) : mixed
$name string String name
$ignore_error boolean Boolean whether or not to ignore error
리턴 mixed

loadArray() 공개 메소드

Loads a series of variables from an associative array
public loadArray ( array $context_array )
$context_array array Assoc array of variables to load

register() 공개 메소드

Registers a variable into the context.
public register ( string $name, mixed &$ref )
$name string String name
$ref mixed Reference to variable to be registered