Class HTMLPurifier_AttrTypes
Inheritance | HTMLPurifier_AttrTypes |
---|
Provides lookup array of attribute types to HTMLPurifier_AttrDef objects
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$info | Lookup array of attribute string identifiers to concrete implementations. | HTMLPurifier_AttrTypes |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Constructs the info array, supplying default implementations for attribute types. | HTMLPurifier_AttrTypes |
get() | Retrieves a type | HTMLPurifier_AttrTypes |
set() | Sets a new implementation for a type | HTMLPurifier_AttrTypes |
Property Details
Method Details
Constructs the info array, supplying default implementations for attribute types.
public void __construct ( ) |
Retrieves a type
public HTMLPurifier_AttrDef get ( $type ) | ||
$type | string | String type name |
return | HTMLPurifier_AttrDef | Object AttrDef for type |
---|
Sets a new implementation for a type
public void set ( $type, $impl ) | ||
$type | string | String type name |
$impl | HTMLPurifier_AttrDef | Object AttrDef for type |