ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
ObjectManager.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Exercise\Object
;
22
23
class
ObjectManager
24
{
25
protected
int
$obj_id
;
26
protected
int
$ref_id
;
27
28
public
function
__construct
(
29
int
$ref_id
30
) {
31
$this->ref_id =
$ref_id
;
32
$this->obj_id =
\ilObject::_lookupObjectId
(
$ref_id
);
33
}
34
35
public
function
getId
():
int
36
{
37
return
$this->obj_id
;
38
}
39
40
public
function
getRefId
():
int
41
{
42
return
$this->ref_id
;
43
}
44
45
}
ILIAS\Exercise\Object\ObjectManager
Definition:
ObjectManager.php:24
ILIAS\Exercise\Object\ObjectManager\__construct
__construct(int $ref_id)
Definition:
ObjectManager.php:28
ILIAS\Exercise\Object\ObjectManager\getId
getId()
Definition:
ObjectManager.php:35
ILIAS\Exercise\Object\ObjectManager\getRefId
getRefId()
Definition:
ObjectManager.php:40
ILIAS\Exercise\Object\ObjectManager\$obj_id
int $obj_id
Definition:
ObjectManager.php:25
ILIAS\Exercise\Object\ObjectManager\$ref_id
int $ref_id
Definition:
ObjectManager.php:26
ilObject\_lookupObjectId
static _lookupObjectId(int $ref_id)
Definition:
class.ilObject.php:1133
ILIAS\Exercise\Object
Definition:
ObjectManager.php:21
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
components
ILIAS
Exercise
Object
ObjectManager.php
Generated on Sat Oct 18 2025 23:02:59 for ILIAS by
1.9.4 (using
Doxyfile
)