API - XOOPS 2.5.11 Beta 2
By monxoops.fr
HTMLPurifier_AttrTypes Class Reference

Public Member Functions

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

Protected Attributes

 $info = array()
 

Detailed Description

Provides lookup array of attribute types to HTMLPurifier_AttrDef objects

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Constructs the info array, supplying default implementations for attribute types.

Member Function Documentation

◆ get()

get (   $type)

Retrieves a type

Parameters
string$typeString type name
Returns
HTMLPurifier_AttrDef Object AttrDef for type

◆ set()

set (   $type,
  $impl 
)

Sets a new implementation for a type

Parameters
string$typeString type name
HTMLPurifier_AttrDef$implObject AttrDef for type

Field Documentation

◆ $info

$info = array()
protected

Lookup array of attribute string identifiers to concrete implementations. @type HTMLPurifier_AttrDef[]


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