ILIAS
release_4-3 Revision
◀ 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
14
public
$name
;
15
19
public
$directives
= array();
20
24
public
function
addDirective
($directive) {
25
if
(isset($this->directives[$i = $directive->id->toString()])) {
26
throw
new
HTMLPurifier_ConfigSchema_Exception
(
"Cannot redefine directive '$i'"
);
27
}
28
$this->directives[$i] = $directive;
29
}
30
35
public
function
validate
() {
36
$validator =
new
HTMLPurifier_ConfigSchema_Validator
();
37
return
$validator->validate($this);
38
}
39
40
}
41
42
// vim: et sw=4 sts=4
Services
Html
HtmlPurifier
library
HTMLPurifier
ConfigSchema
Interchange.php
Generated on Sat Apr 30 2016 19:01:00 for ILIAS by
1.8.1.2 (using
Doxyfile
)