ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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\make
static make($id)
Definition:
Id.php:52
HTMLPurifier_ConfigSchema_Interchange_Id\getRootNamespace
getRootNamespace()
Definition:
Id.php:35
$id
if(!array_key_exists('StateId', $_REQUEST)) $id
Definition:
expirywarning.php:14
HTMLPurifier_ConfigSchema_Interchange_Id\toString
toString()
Definition:
Id.php:27
HTMLPurifier_ConfigSchema_Interchange_Id\$key
$key
string
Definition:
Id.php:12
HTMLPurifier_ConfigSchema_Interchange_Id
Represents a directive ID in the interchange format.
Definition:
Id.php:6
HTMLPurifier_ConfigSchema_Interchange_Id\__construct
__construct($key)
Definition:
Id.php:17
HTMLPurifier_ConfigSchema_Interchange_Id\getDirective
getDirective()
Definition:
Id.php:43
libs
composer
vendor
ezyang
htmlpurifier
library
HTMLPurifier
ConfigSchema
Interchange
Id.php
Generated on Sat Jan 18 2025 19:01:02 for ILIAS by
1.8.13 (using
Doxyfile
)