ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Data\ReferenceId Class Reference
+ Collaboration diagram for ILIAS\Data\ReferenceId:

Public Member Functions

 __construct (int $ref_id)
 
 toInt ()
 
 toObjectId ()
 

Private Attributes

int $ref_id
 

Detailed Description

Definition at line 32 of file ReferenceId.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Data\ReferenceId::__construct ( int  $ref_id)

Definition at line 36 of file ReferenceId.php.

37 {
38 $this->ref_id = $ref_id;
39 }

References ILIAS\Data\ReferenceId\$ref_id.

Member Function Documentation

◆ toInt()

ILIAS\Data\ReferenceId::toInt ( )

Definition at line 41 of file ReferenceId.php.

41 : int
42 {
43 return $this->ref_id;
44 }

References ILIAS\Data\ReferenceId\$ref_id.

Referenced by ILIAS\GlobalScreen\ScreenContext\BasicScreenContext\withReferenceId().

+ Here is the caller graph for this function:

◆ toObjectId()

ILIAS\Data\ReferenceId::toObjectId ( )

Definition at line 46 of file ReferenceId.php.

46 : ObjectId
47 {
48 return new ObjectId(ilObject2::_lookupObjectId($this->ref_id));
49 }
static _lookupObjectId(int $ref_id)

References ilObject\_lookupObjectId().

+ Here is the call graph for this function:

Field Documentation

◆ $ref_id

int ILIAS\Data\ReferenceId::$ref_id
private

The documentation for this class was generated from the following file: