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

Fonctions membres publiques

 __construct ()
 
 prepareGenerator ($config)
 

Fonctions membres protégées

 start ($tag, $attr=array())
 
 end ($tag)
 
 element ($tag, $contents, $attr=array(), $escape=true)
 
 elementEmpty ($tag, $attr=array())
 
 text ($text)
 
 row ($name, $value)
 
 escape ($string)
 
 listify ($array, $polite=false)
 
 getClass ($obj, $sec_prefix='')
 

Attributs protégés

 $generator
 
 $config
 

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( )

Initialize $generator.

Documentation des fonctions membres

◆ element()

element (   $tag,
  $contents,
  $attr = array(),
  $escape = true 
)
protected

Prints a complete element with content inside

Paramètres
string$tagTag name
string$contentsElement contents
array$attrTag attributes
bool$escapewhether or not to escape contents
Renvoie
string
+ Voici le graphe d'appel pour cette fonction :
+ Voici le graphe des appelants de cette fonction :

◆ elementEmpty()

elementEmpty (   $tag,
  $attr = array() 
)
protected
Paramètres
string$tag
array$attr
Renvoie
string
+ Voici le graphe des appelants de cette fonction :

◆ end()

end (   $tag)
protected

Returns an end tag

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

◆ escape()

escape (   $string)
protected

Escapes a string for HTML output.

Paramètres
string$stringString to escape
Renvoie
string
+ Voici le graphe d'appel pour cette fonction :
+ Voici le graphe des appelants de cette fonction :

◆ getClass()

getClass (   $obj,
  $sec_prefix = '' 
)
protected

Retrieves the class of an object without prefixes, as well as metadata

Paramètres
object$objObject to determine class of
string$sec_prefixFurther prefix to remove
Renvoie
string
+ Voici le graphe des appelants de cette fonction :

◆ listify()

listify (   $array,
  $polite = false 
)
protected

Takes a list of strings and turns them into a single list

Paramètres
string[]$arrayList of strings
bool$politeBool whether or not to add an end before the last
Renvoie
string
+ Voici le graphe des appelants de cette fonction :

◆ prepareGenerator()

prepareGenerator (   $config)

Give generator necessary configuration if possible

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

◆ row()

row (   $name,
  $value 
)
protected

Prints a simple key/value row in a table.

Paramètres
string$nameKey
mixed$valueValue
Renvoie
string
+ Voici le graphe d'appel pour cette fonction :
+ Voici le graphe des appelants de cette fonction :

◆ start()

start (   $tag,
  $attr = array() 
)
protected

Main function that renders object or aspect of that object

Note
Parameters vary depending on printer Returns a start tag
Paramètres
string$tagTag name
array$attrAttribute array
Renvoie
string
+ Voici le graphe des appelants de cette fonction :

◆ text()

text (   $text)
protected
Paramètres
string$text
Renvoie
string
+ Voici le graphe des appelants de cette fonction :

Documentation des champs

◆ $config

$config
protected

For easy access. @type HTMLPurifier_Config

◆ $generator

$generator
protected

For HTML generation convenience funcs. @type HTMLPurifier_Generator


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