\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.

Methods

__construct()

__construct() : mixed

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

Returns

mixed —

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) : mixed

Sets a new implementation for a type

Parameters

string $type

String type name

\HTMLPurifier_AttrDef $impl

Object AttrDef for type

Returns

mixed —

makeEnum()

makeEnum(mixed  $in) : mixed

Parameters

mixed $in

Returns

mixed —