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

Fonctions membres publiques

 __construct ($context)
 
 send ($severity, $msg)
 
 getRaw ()
 
 getHTMLFormatted ($config, $errors=null)
 

Champs de données

const LINENO = 0
 
const SEVERITY = 1
 
const MESSAGE = 2
 
const CHILDREN = 3
 

Attributs protégés

 $errors
 
 $_current
 
 $_stacks = array(array())
 
 $locale
 
 $generator
 
 $context
 
 $lines = array()
 

Fonctions membres privées

 _renderStruct (&$ret, $struct, $line=null, $col=null)
 

Description détaillée

Error collection class that enables HTML Purifier to report HTML problems back to the user

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $context)
Paramètres
HTMLPurifier_Context$context

Documentation des fonctions membres

◆ _renderStruct()

_renderStruct ( $ret,
  $struct,
  $line = null,
  $col = null 
)
private
+ Voici le graphe des appelants de cette fonction :

◆ getHTMLFormatted()

getHTMLFormatted (   $config,
  $errors = null 
)

Default HTML formatting implementation for error messages

Paramètres
HTMLPurifier_Config$configConfiguration, vital for HTML output nature
array$errorsErrors array to display; used for recursion.
Renvoie
string
+ Voici le graphe d'appel pour cette fonction :

◆ getRaw()

getRaw ( )

Retrieves raw error data for custom formatter to use

◆ send()

send (   $severity,
  $msg 
)

Sends an error message to the collector for later use

Paramètres
int$severityError severity, PHP error style (don't use E_USER_)
string$msgError message text

Documentation des champs

◆ $_current

$_current
protected

@type array

◆ $_stacks

$_stacks = array(array())
protected

@type array

◆ $context

$context
protected

◆ $errors

$errors
protected

@type array

◆ $generator

$generator
protected

◆ $lines

$lines = array()
protected

@type array

◆ $locale

$locale
protected

◆ CHILDREN

const CHILDREN = 3

◆ LINENO

const LINENO = 0

Identifiers for the returned error array. These are purposely numeric so list() can be used.

◆ MESSAGE

const MESSAGE = 2

◆ SEVERITY

const SEVERITY = 1

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