Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
HTMLPurifier_AttrTypes Class Reference

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.
 

Protected Attributes

 $info = array()
 Lookup array of attribute string identifiers to concrete implementations.
 

Member Function Documentation

◆ get()

HTMLPurifier_AttrTypes::get ( $type)

Retrieves a type.

Parameters
string$typeString type name
Return values
HTMLPurifier_AttrDefObject AttrDef for type

◆ set()

HTMLPurifier_AttrTypes::set ( $type,
$impl )

Sets a new implementation for a type.

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

Member Data Documentation

◆ $info

HTMLPurifier_AttrTypes::$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: