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
Interchange.php
Go to the documentation of this file.
1
<?php
2
8
class
HTMLPurifier_ConfigSchema_Interchange
9
{
10
15
public
$name
;
16
21
public
$directives
= array();
22
28
public
function
addDirective
($directive)
29
{
30
if
(isset($this->directives[$i = $directive->id->toString()])) {
31
throw
new
HTMLPurifier_ConfigSchema_Exception
(
"Cannot redefine directive '$i'"
);
32
}
33
$this->directives[$i] = $directive;
34
}
35
40
public
function
validate
()
41
{
42
$validator =
new
HTMLPurifier_ConfigSchema_Validator
();
43
return
$validator->validate($this);
44
}
45
}
46
47
// vim: et sw=4 sts=4
Services
Html
HtmlPurifier
library
HTMLPurifier
ConfigSchema
Interchange.php
Generated on Wed Apr 27 2016 21:01:40 for ILIAS by
1.8.1.2 (using
Doxyfile
)