Provides lookup array of attribute types to HTMLPurifier_AttrDef objects
Methods | ||||||
---|---|---|---|---|---|---|
public
|
__construct()
Constructs the info array, supplying default implementations for attribute
types.
Constructs the info array, supplying default implementations for attribute types. |
# | ||||
public
|
get(string $type): HTMLPurifier_AttrDef
Retrieves a type
Retrieves a type Parameters
ReturnsObject AttrDef for type |
# | ||||
public
|
set(string $type, HTMLPurifier_AttrDef $impl)
Sets a new implementation for a type
Sets a new implementation for a type Parameters
|
# |
Properties | |||
---|---|---|---|
protected
|
|
$info = []
Lookup array of attribute string identifiers to concrete implementations.
Lookup array of attribute string identifiers to concrete implementations. |
# |