ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
UserDefined.php
Go to the documentation of this file.
1
<?php
2
18
declare(strict_types=1);
19
20
namespace
ILIAS\Data\Meta\Html
;
21
22
use
Generator
;
23
27
class
UserDefined
extends
Tag
28
{
29
public
function
__construct
(
30
protected
string
$key
,
31
protected
string
$value
32
) {
33
}
34
38
public
function
toHtml
(): string
39
{
40
return
"<meta name=\""
. htmlspecialchars($this->key) .
"\" content=\""
. htmlspecialchars($this->value) .
"\" />"
;
41
}
42
43
public
function
getKey
(): string
44
{
45
return
$this->key
;
46
}
47
48
public
function
getValue
(): string
49
{
50
return
$this->value;
51
}
52
}
ILIAS\Data\Meta\Html\UserDefined\toHtml
toHtml()
Definition:
UserDefined.php:38
ILIAS\Data\Meta\Html\UserDefined
Definition:
UserDefined.php:27
ILIAS\Data\Meta\Html
Definition:
Factory.php:20
ILIAS\Data\Meta\Html\UserDefined\getKey
getKey()
Definition:
UserDefined.php:43
ILIAS\Data\Meta\Html\UserDefined\__construct
__construct(protected string $key, protected string $value)
Definition:
UserDefined.php:29
ILIAS\LTI\ToolProvider\$key
string $key
Consumer key/client ID value.
Definition:
System.php:193
ILIAS\Data\Meta\Html\UserDefined\getValue
getValue()
Definition:
UserDefined.php:48
Generator
ILIAS\Data\Meta\Html\Tag
Definition:
Tag.php:27
src
Data
Meta
Html
UserDefined.php
Generated on Wed Sep 10 2025 14:12:04 for ILIAS by
1.8.13 (using
Doxyfile
)