XOOPS API 2.5.11 Beta1  UI v0.5
Réalisé par monxoops.fr
Référence de la classe HTMLPurifier_ChildDef_Custom
+ Graphe d'héritage de HTMLPurifier_ChildDef_Custom:
+ Graphe de collaboration de HTMLPurifier_ChildDef_Custom:

Fonctions membres publiques

 __construct ($dtd_regex)
 
 validateChildren ($children, $config, $context)
 
- Fonctions membres publiques hérités de HTMLPurifier_ChildDef
 getAllowedElements ($config)
 

Champs de données

 $type = 'custom'
 
 $allow_empty = false
 
 $dtd_regex
 
- Champs de données hérités de HTMLPurifier_ChildDef
 $type
 
 $allow_empty
 
 $elements = array()
 

Fonctions membres protégées

 _compileRegex ()
 

Attributs privés

 $_pcre_regex
 

Description détaillée

Custom validation class, accepts DTD child definitions

Avertissement
Currently this class is an all or nothing proposition, that is, it will only give a bool return value.

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $dtd_regex)
Paramètres
$dtd_regexAllowed child pattern from the DTD
+ Voici le graphe d'appel pour cette fonction :

Documentation des fonctions membres

◆ _compileRegex()

_compileRegex ( )
protected

Compiles the PCRE regex from a DTD regex ($dtd_regex to $_pcre_regex)

+ Voici le graphe des appelants de cette fonction :

◆ validateChildren()

validateChildren (   $children,
  $config,
  $context 
)
Paramètres
HTMLPurifier_Node[]$children
HTMLPurifier_Config$config
HTMLPurifier_Context$context
Renvoie
bool

Réimplémentée à partir de HTMLPurifier_ChildDef.

Documentation des champs

◆ $_pcre_regex

$_pcre_regex
private

PCRE regex derived from $dtd_regex. @type string

◆ $allow_empty

$allow_empty = false

@type bool

◆ $dtd_regex

$dtd_regex

Allowed child pattern as defined by the DTD. @type string

◆ $type

$type = 'custom'

@type string


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