PHP Класс HTMLPurifier_AttrCollections, yii

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

Открытые свойства

Свойство Тип Описание
$info Associative array of attribute collections, indexed by name.

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

Метод Описание
__construct ( HTMLPurifier_AttrTypes $attr_types, HTMLPurifier_HTMLModule[] $modules ) Performs all expansions on internal data for use by other inclusions It also collects all attribute collection extensions from modules
doConstruct ( $attr_types, $modules )
expandIdentifiers ( &$attr, HTMLPurifier_AttrTypes $attr_types ) Expands all string identifiers in an attribute array by replacing them with the appropriate values inside HTMLPurifier_AttrTypes
performInclusions ( &$attr ) Takes a reference to an attribute associative array and performs all inclusions specified by the zero index.

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

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

Performs all expansions on internal data for use by other inclusions It also collects all attribute collection extensions from modules
public __construct ( HTMLPurifier_AttrTypes $attr_types, HTMLPurifier_HTMLModule[] $modules )
$attr_types HTMLPurifier_AttrTypes HTMLPurifier_AttrTypes instance
$modules HTMLPurifier_HTMLModule[] Hash array of HTMLPurifier_HTMLModule members

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

public doConstruct ( $attr_types, $modules )

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

Expands all string identifiers in an attribute array by replacing them with the appropriate values inside HTMLPurifier_AttrTypes
public expandIdentifiers ( &$attr, HTMLPurifier_AttrTypes $attr_types )
$attr_types HTMLPurifier_AttrTypes HTMLPurifier_AttrTypes instance

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

Takes a reference to an attribute associative array and performs all inclusions specified by the zero index.
public performInclusions ( &$attr )

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

$info публичное свойство

Associative array of attribute collections, indexed by name.
public $info