
Öffentliche Methoden | |
| __construct () | |
| prepareGenerator ($config) | |
Geschützte Methoden | |
| 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= '') | |
Geschützte Attribute | |
| $generator | |
| $config | |
Definiert in Zeile 6 der Datei Printer.php.
| __construct | ( | ) |
Initialize $generator.
Definiert in Zeile 22 der Datei Printer.php.

| element | ( | $ | tag, | |
| $ | contents, | |||
| $ | attr = array(), |
|||
| $ | escape = true | |||
| ) | [protected] |
Prints a complete element with content inside
| $tag | Tag name | |
| $contents | Element contents | |
| $attr | Tag attributes | |
| $escape | Bool whether or not to escape contents |
Definiert in Zeile 68 der Datei Printer.php.


| elementEmpty | ( | $ | tag, | |
| $ | attr = array() | |||
| ) | [protected] |
Definiert in Zeile 74 der Datei Printer.php.

| end | ( | $ | tag | ) | [protected] |
Returns an end teg
| $tag | Tag name |
Definiert in Zeile 55 der Datei Printer.php.

| escape | ( | $ | string | ) | [protected] |
Escapes a string for HTML output.
| $string | String to escape |
Definiert in Zeile 105 der Datei Printer.php.


| getClass | ( | $ | obj, | |
| $ | sec_prefix = '' | |||
| ) | [protected] |
Retrieves the class of an object without prefixes, as well as metadata
| $obj | Object to determine class of | |
| $prefix | Further prefix to remove |
Definiert in Zeile 134 der Datei Printer.php.

| listify | ( | $ | array, | |
| $ | polite = false | |||
| ) | [protected] |
Takes a list of strings and turns them into a single list
| $array | List of strings | |
| $polite | Bool whether or not to add an end before the last |
Definiert in Zeile 116 der Datei Printer.php.

| prepareGenerator | ( | $ | config | ) |
Give generator necessary configuration if possible
Definiert in Zeile 28 der Datei Printer.php.

| row | ( | $ | name, | |
| $ | value | |||
| ) | [protected] |
Prints a simple key/value row in a table.
| $name | Key | |
| $value | Value |
Definiert in Zeile 91 der Datei Printer.php.


| start | ( | $ | tag, | |
| $ | attr = array() | |||
| ) | [protected] |
Main function that renders object or aspect of that object
| $tag | Tag name | |
| $attr | Attribute array |
Definiert in Zeile 45 der Datei Printer.php.

| text | ( | $ | text | ) | [protected] |
Definiert in Zeile 80 der Datei Printer.php.

$config [protected] |
Instance of HTMLPurifier_Config, for easy access
Definiert in Zeile 17 der Datei Printer.php.
$generator [protected] |
Instance of HTMLPurifier_Generator for HTML generation convenience funcs
Definiert in Zeile 12 der Datei Printer.php.
| Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved. MyOOS [Shopsystem] is Free Software released under the GNU/GPL License. Webmaster: info@r23.de (Impressum) |
|