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

Fonctions membres publiques

 __construct ( $name, $doc_url=null, $compress=false)
 
 setTextareaDimensions ($cols=null, $rows=null)
 
 render ($config, $allowed=true, $render_controls=true)
 
- Fonctions membres publiques hérités de HTMLPurifier_Printer
 __construct ()
 
 prepareGenerator ($config)
 

Fonctions membres publiques statiques

static getCSS ()
 
static getJavaScript ()
 

Fonctions membres protégées

 renderNamespace ($ns, $directives)
 
- Fonctions membres protégées hérités de HTMLPurifier_Printer
 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

 $fields = array()
 
 $docURL
 
 $name
 
 $compress = false
 
- Attributs protégés hérités de HTMLPurifier_Printer
 $generator
 
 $config
 

Description détaillée

A faire:
Rewrite to use Interchange objects

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $name,
  $doc_url = null,
  $compress = false 
)
Paramètres
string$nameForm element name for directives to be stuffed into
string$doc_urlString documentation URL, will have fragment tagged on
bool$compressInteger max length before compressing a directive name, set to false to turn off

Documentation des fonctions membres

◆ getCSS()

static getCSS ( )
static

Retrieves styling, in case it is not accessible by webserver

◆ getJavaScript()

static getJavaScript ( )
static

Retrieves JavaScript, in case it is not accessible by webserver

◆ render()

render (   $config,
  $allowed = true,
  $render_controls = true 
)

Returns HTML output for a configuration form

Paramètres
HTMLPurifier_Config | array$configConfiguration object of current form state, or an array where [0] has an HTML namespace and [1] is being rendered.
array | bool$allowedOptional namespace(s) and directives to restrict form to.
bool$render_controls
Renvoie
string
+ Voici le graphe d'appel pour cette fonction :

◆ renderNamespace()

renderNamespace (   $ns,
  $directives 
)
protected

Renders a single namespace

Paramètres
$nsString namespace name
array$directivesarray of directives to values
Renvoie
string
+ Voici le graphe d'appel pour cette fonction :
+ Voici le graphe des appelants de cette fonction :

◆ setTextareaDimensions()

setTextareaDimensions (   $cols = null,
  $rows = null 
)

Sets default column and row size for textareas in sub-printers

Paramètres
$colsInteger columns of textarea, null to use default
$rowsInteger rows of textarea, null to use default

Documentation des champs

◆ $compress

$compress = false
protected

Whether or not to compress directive names, clipping them off after a certain amount of letters. False to disable or integer letters before clipping. @type bool

◆ $docURL

$docURL
protected

Documentation URL, can have fragment tagged on end. @type string

◆ $fields

$fields = array()
protected

Printers for specific fields. @type HTMLPurifier_Printer[]

◆ $name

$name
protected

Name of form element to stuff config in. @type string


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