Class HTMLPurifier_DoctypeRegistry

Description
Variable Summary
mixed $aliases
mixed $doctypes
Method Summary
Editable get ($doctype $doctype)
void getDoctypeFromConfig ( $config)
void make ( $config)
Editable register ($doctype $doctype, [$modules $xml = true], [$modules_for_modes $modules = array()], [$aliases $tidy_modules = array()], [ $aliases = array()], [ $dtd_public = null], [ $dtd_system = null])
Variables
mixed $aliases (line 14)

Lookup table of aliases to real doctype names

Lookup table of aliases to real doctype names

  • access: protected
mixed $doctypes (line 9)

Hash of doctype names to doctype objects

Hash of doctype names to doctype objects

  • access: protected
Methods
get (line 56)

Retrieves reference to a doctype of a certain name

Retrieves reference to a doctype of a certain name

  • return: doctype object
  • access: public
Editable get ($doctype $doctype)
  • $doctype $doctype: Name of doctype
getDoctypeFromConfig (line 81)

Retrieves the doctype from the configuration object

Retrieves the doctype from the configuration object

  • access: public
void getDoctypeFromConfig ( $config)
  • $config
make (line 74)

Creates a doctype based on a configuration object,

Creates a doctype based on a configuration object, will perform initialization on the doctype

  • access: public
void make ( $config)
  • $config
register (line 26)

Registers a doctype to the registry

Registers a doctype to the registry

  • return: registered doctype
  • access: public
Editable register ($doctype $doctype, [$modules $xml = true], [$modules_for_modes $modules = array()], [$aliases $tidy_modules = array()], [ $aliases = array()], [ $dtd_public = null], [ $dtd_system = null])
  • $doctype $doctype: Name of doctype or literal doctype object
  • $modules $xml: Modules doctype will load
  • $modules_for_modes $modules: Modules doctype will load for certain modes
  • $aliases $tidy_modules: Alias names for doctype
  • $aliases
  • $dtd_public
  • $dtd_system

Documentation generated on Thu, 19 Jun 2008 18:49:04 -0400 by phpDocumentor 1.4.2