PHP Class HTMLPurifier_AttrCollections, yii

Mostrar archivo Open project: yiisoft/yii Class Usage Examples

Public Properties

Property Type Description
$info Associative array of attribute collections, indexed by name.

Public Methods

Method Description
__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.

Method Details

__construct() public method

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 method

public doConstruct ( $attr_types, $modules )

expandIdentifiers() public method

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() public method

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

Property Details

$info public_oe property

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