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

Fonctions membres publiques

 __construct ()
 
 validate ($interchange)
 
 validateId ($id)
 
 validateDirective ($d)
 
 validateDirectiveAllowed ($d)
 
 validateDirectiveValueAliases ($d)
 
 validateDirectiveAliases ($d)
 

Fonctions membres protégées

 with ($obj, $member)
 
 error ($target, $msg)
 
 getFormattedContext ()
 

Attributs protégés

 $interchange
 
 $aliases
 
 $context = array()
 
 $parser
 

Description détaillée

Performs validations on HTMLPurifier_ConfigSchema_Interchange

Note
If you see '// handled by InterchangeBuilder', that means a design decision in that class would prevent this validation from ever being necessary. We have them anyway, however, for redundancy.

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( )

Documentation des fonctions membres

◆ error()

error (   $target,
  $msg 
)
protected

Emits an error, providing helpful context.

Exceptions
HTMLPurifier_ConfigSchema_Exception
+ Voici le graphe d'appel pour cette fonction :
+ Voici le graphe des appelants de cette fonction :

◆ getFormattedContext()

getFormattedContext ( )
protected

Returns a formatted context string.

Renvoie
string
+ Voici le graphe des appelants de cette fonction :

◆ validate()

validate (   $interchange)

Validates a fully-formed interchange object.

Paramètres
HTMLPurifier_ConfigSchema_Interchange$interchange
Renvoie
bool
+ Voici le graphe d'appel pour cette fonction :

◆ validateDirective()

validateDirective (   $d)

Validates a HTMLPurifier_ConfigSchema_Interchange_Directive object.

Paramètres
HTMLPurifier_ConfigSchema_Interchange_Directive$d
+ Voici le graphe d'appel pour cette fonction :
+ Voici le graphe des appelants de cette fonction :

◆ validateDirectiveAliases()

validateDirectiveAliases (   $d)

Extra validation if $aliases member variable of HTMLPurifier_ConfigSchema_Interchange_Directive is defined.

Paramètres
HTMLPurifier_ConfigSchema_Interchange_Directive$d
+ Voici le graphe d'appel pour cette fonction :
+ Voici le graphe des appelants de cette fonction :

◆ validateDirectiveAllowed()

validateDirectiveAllowed (   $d)

Extra validation if $allowed member variable of HTMLPurifier_ConfigSchema_Interchange_Directive is defined.

Paramètres
HTMLPurifier_ConfigSchema_Interchange_Directive$d
+ Voici le graphe d'appel pour cette fonction :
+ Voici le graphe des appelants de cette fonction :

◆ validateDirectiveValueAliases()

validateDirectiveValueAliases (   $d)

Extra validation if $valueAliases member variable of HTMLPurifier_ConfigSchema_Interchange_Directive is defined.

Paramètres
HTMLPurifier_ConfigSchema_Interchange_Directive$d
+ Voici le graphe d'appel pour cette fonction :
+ Voici le graphe des appelants de cette fonction :

◆ validateId()

validateId (   $id)

Validates a HTMLPurifier_ConfigSchema_Interchange_Id object.

Paramètres
HTMLPurifier_ConfigSchema_Interchange_Id$id
+ Voici le graphe d'appel pour cette fonction :
+ Voici le graphe des appelants de cette fonction :

◆ with()

with (   $obj,
  $member 
)
protected

Convenience function for generating HTMLPurifier_ConfigSchema_ValidatorAtom for validating simple member variables of objects.

Paramètres
$obj
$member
Renvoie
HTMLPurifier_ConfigSchema_ValidatorAtom
+ Voici le graphe d'appel pour cette fonction :
+ Voici le graphe des appelants de cette fonction :

Documentation des champs

◆ $aliases

$aliases
protected

@type array

◆ $context

$context = array()
protected

Context-stack to provide easy to read error messages. @type array

◆ $interchange

◆ $parser

$parser
protected

to test default's type. @type HTMLPurifier_VarParser


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