XOOPS API 2.5.11 Beta1  UI v0.5
Réalisé par monxoops.fr
Référence de la classe HTMLPurifier_DoctypeRegistry

Fonctions membres publiques

 register ( $doctype, $xml=true, $modules=array(), $tidy_modules=array(), $aliases=array(), $dtd_public=null, $dtd_system=null)
 
 get ($doctype)
 
 make ($config)
 
 getDoctypeFromConfig ($config)
 

Attributs protégés

 $doctypes
 
 $aliases
 

Documentation des fonctions membres

◆ get()

get (   $doctype)

Retrieves reference to a doctype of a certain name

Note
This function resolves aliases
When possible, use the more fully-featured make()
Paramètres
string$doctypeName of doctype
Renvoie
HTMLPurifier_Doctype Editable doctype object

◆ getDoctypeFromConfig()

getDoctypeFromConfig (   $config)

Retrieves the doctype from the configuration object

Paramètres
HTMLPurifier_Config$config
Renvoie
string
+ Voici le graphe des appelants de cette fonction :

◆ make()

make (   $config)

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

Note
Use this function to get a copy of doctype that config can hold on to (this is necessary in order to tell Generator whether or not the current document is XML based or not).
Paramètres
HTMLPurifier_Config$config
Renvoie
HTMLPurifier_Doctype
+ Voici le graphe d'appel pour cette fonction :

◆ register()

register (   $doctype,
  $xml = true,
  $modules = array(),
  $tidy_modules = array(),
  $aliases = array(),
  $dtd_public = null,
  $dtd_system = null 
)

Registers a doctype to the registry

Note
Accepts a fully-formed doctype object, or the parameters for constructing a doctype object
Paramètres
string$doctypeName of doctype or literal doctype object
bool$xml
array$modulesModules doctype will load
array$tidy_modulesModules doctype will load for certain modes
array$aliasesAlias names for doctype
string$dtd_public
string$dtd_system
Renvoie
HTMLPurifier_Doctype Editable registered doctype

Documentation des champs

◆ $aliases

$aliases
protected

Lookup table of aliases to real doctype names. @type array

◆ $doctypes

$doctypes
protected

Hash of doctype names to doctype objects. @type array


La documentation de cette classe a été générée à partir du fichier suivant :