HTMLPurifier 4.4.0
HTMLPurifier_AttrTypes Class Reference

Provides lookup array of attribute types to HTMLPurifier_AttrDef objects. More...

List of all members.

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)

Detailed Description

Provides lookup array of attribute types to HTMLPurifier_AttrDef objects.

Definition at line 6 of file AttrTypes.php.


Constructor & Destructor Documentation

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().


Member Function Documentation

HTMLPurifier_AttrTypes::get ( type)

Retrieves a type.

Parameters:
$typeString type name
Returns:
Object AttrDef for type

Definition at line 66 of file AttrTypes.php.

HTMLPurifier_AttrTypes::get ( type)

Retrieves a type.

Parameters:
$typeString type name
Returns:
Object AttrDef for type

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.

Parameters:
$typeString type name
$implObject AttrDef for type

Definition at line 86 of file AttrTypes.php.

HTMLPurifier_AttrTypes::set ( type,
impl 
)

Sets a new implementation for a type.

Parameters:
$typeString type name
$implObject AttrDef for type

Definition at line 654 of file HTMLPurifier.standalone.php.


Member Data Documentation

HTMLPurifier_AttrTypes::$info = array() [protected]

Lookup array of attribute string identifiers to concrete implementations.

Definition at line 11 of file AttrTypes.php.


The documentation for this class was generated from the following files: