ILIAS
trunk Revision v11.0_alpha-2658-ge2404539063
◀ ilDoc Overview
RessourceID.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\Elements\RessourceID
;
22
23
class
RessourceID
implements
RessourceIDInterface
24
{
25
protected
int
$obj_id
;
26
protected
int
$sub_id
;
27
protected
string
$type
;
28
29
public
function
__construct
(
30
int
$obj_id,
31
int
$sub_id,
32
string
$type
33
) {
34
$this->obj_id =
$obj_id
;
35
$this->sub_id =
$sub_id
;
36
$this->
type
=
$type
;
37
}
38
39
public
function
type
(): string
40
{
41
return
$this->type
;
42
}
43
44
public
function
objID
():
int
45
{
46
return
$this->obj_id
;
47
}
48
49
public
function
subID
():
int
50
{
51
return
$this->sub_id
;
52
}
53
}
ILIAS\MetaData\Elements\RessourceID\RessourceID\__construct
__construct(int $obj_id, int $sub_id, string $type)
Definition:
RessourceID.php:29
ILIAS\MetaData\Elements\RessourceID
Definition:
NullRessourceID.php:21
ILIAS\MetaData\Elements\RessourceID\RessourceID\$sub_id
int $sub_id
Definition:
RessourceID.php:26
ILIAS\MetaData\Elements\RessourceID\RessourceID
Definition:
RessourceID.php:23
ILIAS\MetaData\Elements\RessourceID\RessourceID\$obj_id
int $obj_id
Definition:
RessourceID.php:25
ILIAS\MetaData\Elements\RessourceID\RessourceID\$type
string $type
Definition:
RessourceID.php:27
ILIAS\MetaData\Elements\RessourceID\RessourceID\type
type()
(Sub-)Type of the object (e.g st,pg,crs ...) NOTE: In the metadata tables, this corresponds to the fi...
Definition:
RessourceID.php:39
ILIAS\MetaData\Elements\RessourceID\RessourceIDInterface
Definition:
RessourceIDInterface.php:23
ILIAS\MetaData\Elements\RessourceID\RessourceID\objID
objID()
Object ID (NOT ref_id!) of the parent repository object (e.g for page objects the obj_id of the conte...
Definition:
RessourceID.php:44
ILIAS\MetaData\Elements\RessourceID\RessourceID\subID
subID()
ID of the object carrying the metadata, which might be a subobject of an enclosing repository object ...
Definition:
RessourceID.php:49
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
components
ILIAS
MetaData
classes
Elements
RessourceID
RessourceID.php
Generated on Tue Sep 2 2025 23:03:29 for ILIAS by
1.8.13 (using
Doxyfile
)