XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
HTMLPurifier_AttrTypes Class Reference

Public Member Functions

 __construct ()
 
 get ($type)
 
 set ($type, $impl)
 

Protected Attributes

 $info = array()
 

Static Private Member Functions

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.

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.

References $type.

static HTMLPurifier_AttrTypes::makeEnum (   $in)
staticprivate

Definition at line 57 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 86 of file AttrTypes.php.

References $type.

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 file: