ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
ErrorStruct.php
Go to the documentation of this file.
1
<?php
2
9
class
HTMLPurifier_ErrorStruct
10
{
11
16
const
TOKEN
= 0;
17
const
ATTR
= 1;
18
const
CSSPROP
= 2;
19
24
public
$type
;
25
34
public
$value
;
35
40
public
$errors
= array();
41
48
public
$children
= array();
49
55
public
function
getChild
(
$type
, $id)
56
{
57
if
(!isset($this->children[
$type
][$id])) {
58
$this->children[
$type
][$id] =
new
HTMLPurifier_ErrorStruct
();
59
$this->children[
$type
][$id]->type =
$type
;
60
}
61
return
$this->children[
$type
][$id];
62
}
63
68
public
function
addError
($severity, $message)
69
{
70
$this->errors[] = array($severity, $message);
71
}
72
}
73
74
// vim: et sw=4 sts=4
Services
Html
HtmlPurifier
library
HTMLPurifier
ErrorStruct.php
Generated on Wed Apr 27 2016 21:01:41 for ILIAS by
1.8.1.2 (using
Doxyfile
)