PHP Класс HTMLPurifier_URISchemeRegistry, yii

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

Защищенные свойства (Protected)

Свойство Тип Описание
$schemes Cache of retrieved schemes.

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

Метод Описание
getScheme ( string $scheme, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : HTMLPurifier_URIScheme Retrieves a scheme validator object
instance ( HTMLPurifier_URISchemeRegistry $prototype = null ) : HTMLPurifier_URISchemeRegistry Retrieve sole instance of the registry.
register ( string $scheme, HTMLPurifier_URIScheme $scheme_obj ) Registers a custom scheme to the cache, bypassing reflection.

Описание методов

getScheme() публичный Метод

Retrieves a scheme validator object
public getScheme ( string $scheme, HTMLPurifier_Config $config, HTMLPurifier_Context $context ) : HTMLPurifier_URIScheme
$scheme string String scheme name like http or mailto
$config HTMLPurifier_Config
$context HTMLPurifier_Context
Результат HTMLPurifier_URIScheme

instance() публичный статический Метод

Retrieve sole instance of the registry.
public static instance ( HTMLPurifier_URISchemeRegistry $prototype = null ) : HTMLPurifier_URISchemeRegistry
$prototype HTMLPurifier_URISchemeRegistry Optional prototype to overload sole instance with, or bool true to reset to default registry.
Результат HTMLPurifier_URISchemeRegistry

register() публичный Метод

Registers a custom scheme to the cache, bypassing reflection.
public register ( string $scheme, HTMLPurifier_URIScheme $scheme_obj )
$scheme string Scheme name
$scheme_obj HTMLPurifier_URIScheme

Описание свойств

$schemes защищенное свойство

Cache of retrieved schemes.
protected $schemes