ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
ReferenceId.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\Data
;
6
7
use
ilObject2
;
8
16
class
ReferenceId
17
{
18
private
int
$ref_id
;
19
20
public
function
__construct
(
int
$ref_id)
21
{
22
$this->ref_id =
$ref_id
;
23
}
24
25
public
function
toInt
():
int
26
{
27
return
$this->ref_id
;
28
}
29
30
public
function
toObjectId
():
ObjectId
31
{
32
return
new
ObjectId
(
ilObject2::_lookupObjectId
($this->ref_id));
33
}
34
}
ILIAS\Data\ReferenceId
Definition:
ReferenceId.php:16
ILIAS\Data\ReferenceId\toInt
toInt()
Definition:
ReferenceId.php:25
ILIAS\Data\ReferenceId\$ref_id
int $ref_id
Definition:
ReferenceId.php:18
ILIAS\Data\ReferenceId\toObjectId
toObjectId()
Definition:
ReferenceId.php:30
ilObject\_lookupObjectId
static _lookupObjectId(int $ref_id)
Definition:
class.ilObject.php:1123
ILIAS\Data\ObjectId
Definition:
ObjectId.php:16
ilObject2
ILIAS\Data\ReferenceId\__construct
__construct(int $ref_id)
Definition:
ReferenceId.php:20
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\Data
Definition:
Alphanumeric.php:11
src
Data
ReferenceId.php
Generated on Tue Apr 1 2025 22:02:44 for ILIAS by
1.8.13 (using
Doxyfile
)