PHP Класс HTMLPurifier_Context, yii

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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