Cheetah
Main Page
Related Pages
Namespaces
Namespace List
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
$
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
plugins
htmlpurifier
standalone
HTMLPurifier
ConfigSchema
Interchange
Id.php
Go to the documentation of this file.
1
<?
php
2
6
class
HTMLPurifier_ConfigSchema_Interchange_Id
7
{
8
12
public
$key
;
13
17
public
function
__construct
(
$key
)
18
{
19
$this->key =
$key
;
20
}
21
27
public
function
toString
()
28
{
29
return
$this->key
;
30
}
31
35
public
function
getRootNamespace
()
36
{
37
return
substr($this->key, 0, strpos($this->key,
"."
));
38
}
39
43
public
function
getDirective
()
44
{
45
return
substr($this->key, strpos($this->key,
"."
) + 1);
46
}
47
52
public
static
function
make
($id)
53
{
54
return
new
HTMLPurifier_ConfigSchema_Interchange_Id
($id);
55
}
56
}
57
58
// vim: et sw=4 sts=4
HTMLPurifier_ConfigSchema_Interchange_Id\toString
toString()
Definition:
Id.php:27
php
HTMLPurifier_ConfigSchema_Interchange_Id
Definition:
Id.php:7
HTMLPurifier_ConfigSchema_Interchange_Id\getDirective
getDirective()
Definition:
Id.php:43
HTMLPurifier_ConfigSchema_Interchange_Id\make
static make($id)
Definition:
Id.php:52
HTMLPurifier_ConfigSchema_Interchange_Id\$key
$key
Definition:
Id.php:12
HTMLPurifier_ConfigSchema_Interchange_Id\__construct
__construct($key)
Definition:
Id.php:17
HTMLPurifier_ConfigSchema_Interchange_Id\getRootNamespace
getRootNamespace()
Definition:
Id.php:35
Generated by
1.8.20