HTMLPurifier_ErrorStruct Klassenreferenz


Öffentliche Methoden

 getChild ($type, $id)
 addError ($severity, $message)

Datenfelder

const TOKEN = 0
const ATTR = 1
const CSSPROP = 2
 $type
 $value
 $errors = array()
 $children = array()

Ausführliche Beschreibung

Records errors for particular segments of an HTML document such as tokens, attributes or CSS properties. They can contain error structs (which apply to components of what they represent), but their main purpose is to hold errors applying to whatever struct is being used.

Definiert in Zeile 9 der Datei ErrorStruct.php.


Dokumentation der Elementfunktionen

addError ( severity,
message 
)

Definiert in Zeile 54 der Datei ErrorStruct.php.

getChild ( type,
id 
)

Definiert in Zeile 46 der Datei ErrorStruct.php.


Dokumentation der Datenelemente

$children = array()

Child ErrorStructs that are from this structure. For example, a TOKEN ErrorStruct would contain ATTR ErrorStructs. This is a multi-dimensional array in structure: [TYPE]['identifier']

Definiert in Zeile 44 der Datei ErrorStruct.php.

$errors = array()

Errors registered for this structure.

Definiert in Zeile 37 der Datei ErrorStruct.php.

$type

Type of this struct.

Definiert in Zeile 23 der Datei ErrorStruct.php.

$value

Value of the struct we are recording errors for. There are various values for this:

  • TOKEN: Instance of HTMLPurifier_Token
  • ATTR: array('attr-name', 'value')
  • CSSPROP: array('prop-name', 'value')

Definiert in Zeile 32 der Datei ErrorStruct.php.

const ATTR = 1

Definiert in Zeile 17 der Datei ErrorStruct.php.

const CSSPROP = 2

Definiert in Zeile 18 der Datei ErrorStruct.php.

const TOKEN = 0

Possible values for $children first-key. Note that top-level structures are automatically token-level.

Definiert in Zeile 16 der Datei ErrorStruct.php.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:
Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved.
MyOOS [Shopsystem] is Free Software released under the GNU/GPL License.

Webmaster: info@r23.de (Impressum)
doxygen