ILIAS
trunk Revision v12.0_alpha-16-g3e876e53c80
◀ ilDoc Overview
RepoTypeData.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\StaticURL\Shortlinks\Shortlink\Target
;
22
26
class
RepoTypeData
extends
TypeData
27
{
28
public
const
string
F_TYPE
=
'type'
;
29
public
const
string
F_REF_ID
=
'ref_id'
;
30
31
public
function
__construct
(
32
string
$type,
33
int
$ref_id
34
) {
35
parent::__construct
(
36
[
37
self::F_TYPE => $type,
38
self::F_REF_ID =>
$ref_id
39
]
40
);
41
}
42
43
public
function
getRefId
(): ?
int
44
{
45
return
$this[
self::F_REF_ID
] ??
null
;
46
}
47
48
public
function
setRefId
(
int
$ref_id
): void
49
{
50
$this[
self::F_REF_ID
] =
$ref_id
;
51
}
52
53
public
function
getType
(): ?string
54
{
55
return
$this[
self::F_TYPE
] ??
null
;
56
}
57
58
public
function
setType
(
string
$type): void
59
{
60
$this[
self::F_TYPE
] = $type;
61
}
62
}
ILIAS\StaticURL\Shortlinks\Shortlink\Target\RepoTypeData
Definition:
RepoTypeData.php:27
ILIAS\StaticURL\Shortlinks\Shortlink\Target\RepoTypeData\F_REF_ID
const string F_REF_ID
Definition:
RepoTypeData.php:29
ILIAS\StaticURL\Shortlinks\Shortlink\Target\RepoTypeData\setType
setType(string $type)
Definition:
RepoTypeData.php:58
ILIAS\StaticURL\Shortlinks\Shortlink\Target\RepoTypeData\setRefId
setRefId(int $ref_id)
Definition:
RepoTypeData.php:48
ILIAS\StaticURL\Shortlinks\Shortlink\Target\RepoTypeData\F_TYPE
const string F_TYPE
Definition:
RepoTypeData.php:28
ILIAS\StaticURL\Shortlinks\Shortlink\Target\RepoTypeData\__construct
__construct(string $type, int $ref_id)
Definition:
RepoTypeData.php:31
ILIAS\StaticURL\Shortlinks\Shortlink\Target\RepoTypeData\getRefId
getRefId()
Definition:
RepoTypeData.php:43
ILIAS\StaticURL\Shortlinks\Shortlink\Target\RepoTypeData\getType
getType()
Definition:
RepoTypeData.php:53
ILIAS\StaticURL\Shortlinks\Shortlink\Target\TypeData
Definition:
TypeData.php:28
$ref_id
$ref_id
Definition:
ltiauth.php:66
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Definition:
PluginProviderHelper.php:38
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\StaticURL\Shortlinks\Shortlink\Target
Definition:
ILIASTypeDataResolver.php:21
components
ILIAS
StaticURL
src
Shortlinks
Shortlink
Target
RepoTypeData.php
Generated on Sun Nov 2 2025 23:04:00 for ILIAS by
1.9.4 (using
Doxyfile
)