ILIAS
Release_4_1_x_branch Revision 61804
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Id.php
Go to the documentation of this file.
1
<?php
2
6
class
HTMLPurifier_ConfigSchema_Interchange_Id
7
{
8
9
public
$key
;
10
11
public
function
__construct
(
$key
) {
12
$this->key =
$key
;
13
}
14
19
public
function
toString
() {
20
return
$this->key
;
21
}
22
23
public
function
getRootNamespace
() {
24
return
substr($this->key, 0, strpos($this->key,
"."
));
25
}
26
27
public
function
getDirective
() {
28
return
substr($this->key, strpos($this->key,
"."
) + 1);
29
}
30
31
public
static
function
make
($id) {
32
return
new
HTMLPurifier_ConfigSchema_Interchange_Id
($id);
33
}
34
35
}
36
37
// vim: et sw=4 sts=4
Services
Html
HtmlPurifier
library
HTMLPurifier
ConfigSchema
Interchange
Id.php
Generated on Thu Apr 21 2016 19:02:51 for ILIAS by
1.8.1.2 (using
Doxyfile
)