PHP Класс HTMLPurifier_AttrTypes, yii

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

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

Свойство Тип Описание
$info Lookup array of attribute string identifiers to concrete implementations.

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

Метод Описание
__construct ( ) Constructs the info array, supplying default implementations for attribute types.
get ( string $type ) : HTMLPurifier_AttrDef Retrieves a type
set ( string $type, HTMLPurifier_AttrDef $impl ) Sets a new implementation for a type

Приватные методы

Метод Описание
makeEnum ( $in )

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

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

Constructs the info array, supplying default implementations for attribute types.
public __construct ( )

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

Retrieves a type
public get ( string $type ) : HTMLPurifier_AttrDef
$type string String type name
Результат HTMLPurifier_AttrDef Object AttrDef for type

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

Sets a new implementation for a type
public set ( string $type, HTMLPurifier_AttrDef $impl )
$type string String type name
$impl HTMLPurifier_AttrDef Object AttrDef for type

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

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

Lookup array of attribute string identifiers to concrete implementations.
protected $info