HTMLPurifier 4.4.0
|
Provides lookup array of attribute types to HTMLPurifier_AttrDef objects. More...
Public Member Functions | |
__construct () | |
Constructs the info array, supplying default implementations for attribute types. | |
get ($type) | |
Retrieves a type. | |
set ($type, $impl) | |
Sets a new implementation for a type. | |
__construct () | |
Constructs the info array, supplying default implementations for attribute types. | |
get ($type) | |
Retrieves a type. | |
set ($type, $impl) | |
Sets a new implementation for a type. | |
Protected Attributes | |
$info = array() | |
Lookup array of attribute string identifiers to concrete implementations. | |
Static Private Member Functions | |
static | makeEnum ($in) |
static | makeEnum ($in) |
Provides lookup array of attribute types to HTMLPurifier_AttrDef objects.
Definition at line 6 of file AttrTypes.php.
HTMLPurifier_AttrTypes::__construct | ( | ) |
Constructs the info array, supplying default implementations for attribute types.
Definition at line 17 of file AttrTypes.php.
References makeEnum().
HTMLPurifier_AttrTypes::__construct | ( | ) |
Constructs the info array, supplying default implementations for attribute types.
Definition at line 585 of file HTMLPurifier.standalone.php.
References makeEnum().
HTMLPurifier_AttrTypes::get | ( | $ | type | ) |
Retrieves a type.
$type | String type name |
Definition at line 66 of file AttrTypes.php.
HTMLPurifier_AttrTypes::get | ( | $ | type | ) |
Retrieves a type.
$type | String type name |
Definition at line 634 of file HTMLPurifier.standalone.php.
static HTMLPurifier_AttrTypes::makeEnum | ( | $ | in | ) | [static, private] |
Definition at line 57 of file AttrTypes.php.
Referenced by __construct().
static HTMLPurifier_AttrTypes::makeEnum | ( | $ | in | ) | [static, private] |
Definition at line 625 of file HTMLPurifier.standalone.php.
HTMLPurifier_AttrTypes::set | ( | $ | type, |
$ | impl | ||
) |
Sets a new implementation for a type.
$type | String type name |
$impl | Object AttrDef for type |
Definition at line 86 of file AttrTypes.php.
HTMLPurifier_AttrTypes::set | ( | $ | type, |
$ | impl | ||
) |
Sets a new implementation for a type.
$type | String type name |
$impl | Object AttrDef for type |
Definition at line 654 of file HTMLPurifier.standalone.php.
HTMLPurifier_AttrTypes::$info = array() [protected] |
Lookup array of attribute string identifiers to concrete implementations.
Definition at line 11 of file AttrTypes.php.