ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilPair.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Export\ImportHandler\File\XML\Node\Info\Attribute
;
22
23
use
ILIAS\Export\ImportHandler\I\File\XML\Node\Info\Attribute\ilPairInterface
as ilXMLFileNodeInfoAttributePairInterface;
24
25
class
ilPair
implements
ilXMLFileNodeInfoAttributePairInterface
26
{
27
protected
string
$key
;
28
protected
string
$value
;
29
30
public
function
__construct
()
31
{
32
$this->key =
''
;
33
$this->value =
''
;
34
}
35
36
public
function
withValue
(
string
$value): ilXMLFileNodeInfoAttributePairInterface
37
{
38
$clone = clone $this;
39
$clone->value =
$value
;
40
return
$clone;
41
}
42
43
public
function
withKey
(
string
$key): ilXMLFileNodeInfoAttributePairInterface
44
{
45
$clone = clone $this;
46
$clone->key =
$key
;
47
return
$clone;
48
}
49
50
public
function
getKey
(): string
51
{
52
return
$this->key
;
53
}
54
55
public
function
getValue
(): string
56
{
57
return
$this->value
;
58
}
59
}
ILIAS\Export\ImportHandler\File\XML\Node\Info\Attribute
Definition:
class.ilCollection.php:21
ILIAS\Export\ImportHandler\File\XML\Node\Info\Attribute\ilPair\$value
string $value
Definition:
class.ilPair.php:28
ILIAS\Export\ImportHandler\I\File\XML\Node\Info\Attribute\ilPairInterface
Definition:
interface.ilPairInterface.php:23
ILIAS\Export\ImportHandler\File\XML\Node\Info\Attribute\ilPair\withValue
withValue(string $value)
Definition:
class.ilPair.php:36
ILIAS\Export\ImportHandler\File\XML\Node\Info\Attribute\ilPair\__construct
__construct()
Definition:
class.ilPair.php:30
ILIAS\Export\ImportHandler\File\XML\Node\Info\Attribute\ilPair\withKey
withKey(string $key)
Definition:
class.ilPair.php:43
ILIAS\Export\ImportHandler\File\XML\Node\Info\Attribute\ilPair\getKey
getKey()
Definition:
class.ilPair.php:50
ILIAS\Export\ImportHandler\File\XML\Node\Info\Attribute\ilPair\$key
string $key
Definition:
class.ilPair.php:27
ILIAS\Export\ImportHandler\File\XML\Node\Info\Attribute\ilPair\getValue
getValue()
Definition:
class.ilPair.php:55
ILIAS\Export\ImportHandler\File\XML\Node\Info\Attribute\ilPair
Definition:
class.ilPair.php:25
Services
Export
classes
ImportHandler
File
XML
Node
Info
Attribute
class.ilPair.php
Generated on Wed Sep 10 2025 14:11:28 for ILIAS by
1.8.13 (using
Doxyfile
)