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

Fonctions membres publiques

 getScheme ($scheme, $config, $context)
 
 register ($scheme, $scheme_obj)
 

Fonctions membres publiques statiques

static instance ($prototype=null)
 

Attributs protégés

 $schemes = array()
 

Description détaillée

Registry for retrieving specific URI scheme validator objects.

Documentation des fonctions membres

◆ getScheme()

getScheme (   $scheme,
  $config,
  $context 
)

Retrieves a scheme validator object

Paramètres
string$schemeString scheme name like http or mailto
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Renvoie
HTMLPurifier_URIScheme
+ Voici le graphe d'appel pour cette fonction :

◆ instance()

static instance (   $prototype = null)
static

Retrieve sole instance of the registry.

Paramètres
HTMLPurifier_URISchemeRegistry$prototypeOptional prototype to overload sole instance with, or bool true to reset to default registry.
Renvoie
HTMLPurifier_URISchemeRegistry
Note
Pass a registry object $prototype with a compatible interface and the function will copy it and return it all further times.
+ Voici le graphe des appelants de cette fonction :

◆ register()

register (   $scheme,
  $scheme_obj 
)

Registers a custom scheme to the cache, bypassing reflection.

Paramètres
string$schemeScheme name
HTMLPurifier_URIScheme$scheme_obj

Documentation des champs

◆ $schemes

$schemes = array()
protected

Cache of retrieved schemes. @type HTMLPurifier_URIScheme[]


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