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