\HTMLPurifier_AttrTypes

Provides lookup array of attribute types to HTMLPurifier_AttrDef objects

Summary

Methods
Properties
Constants
__construct()
get()
set()
No public properties found
No constants found
No protected methods found
$info
N/A
makeEnum()
No private properties found
N/A

Properties

$info

$info : 

Lookup array of attribute string identifiers to concrete implementations.

Type

Methods

__construct()

__construct() 

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

get()

get(string  $type) : \HTMLPurifier_AttrDef

Retrieves a type

Parameters

string $type

String type name

Returns

\HTMLPurifier_AttrDef

Object AttrDef for type

set()

set(string  $type, \HTMLPurifier_AttrDef  $impl) 

Sets a new implementation for a type

Parameters

string $type

String type name

\HTMLPurifier_AttrDef $impl

Object AttrDef for type

makeEnum()

makeEnum(  $in) 

Parameters

$in