- Todo:
- Rewrite to use Interchange objects
◆ __construct()
__construct |
( |
|
$name, |
|
|
|
$doc_url = null , |
|
|
|
$compress = false |
|
) |
| |
- Parameters
-
string | $name | Form element name for directives to be stuffed into |
string | $doc_url | String documentation URL, will have fragment tagged on |
bool | $compress | Integer max length before compressing a directive name, set to false to turn off |
◆ getCSS()
Retrieves styling, in case it is not accessible by webserver
◆ getJavaScript()
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
- Parameters
-
HTMLPurifier_Config | array | $config | Configuration object of current form state, or an array where [0] has an HTML namespace and [1] is being rendered. |
array | bool | $allowed | Optional namespace(s) and directives to restrict form to. |
bool | $render_controls | |
- Returns
- string
◆ renderNamespace()
renderNamespace |
( |
|
$ns, |
|
|
|
$directives |
|
) |
| |
|
protected |
Renders a single namespace
- Parameters
-
| $ns | String namespace name |
array | $directives | array of directives to values |
- Returns
- string
◆ setTextareaDimensions()
setTextareaDimensions |
( |
|
$cols = null , |
|
|
|
$rows = null |
|
) |
| |
Sets default column and row size for textareas in sub-printers
- Parameters
-
$cols | Integer columns of textarea, null to use default |
$rows | Integer rows of textarea, null to use default |
◆ $compress
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
Documentation URL, can have fragment tagged on end. @type string
◆ $fields
◆ $name
Name of form element to stuff config in. @type string
The documentation for this class was generated from the following file:
- C:/xoops2511b2/htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Printer/ConfigForm.php