ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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 16 of file ReferenceId.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 20 of file ReferenceId.php.

References ILIAS\Data\ReferenceId\$ref_id.

21  {
22  $this->ref_id = $ref_id;
23  }

Member Function Documentation

◆ toInt()

ILIAS\Data\ReferenceId::toInt ( )

Definition at line 25 of file ReferenceId.php.

References ILIAS\Data\ReferenceId\$ref_id.

Referenced by ILIAS\Export\ExportHandler\Manager\Handler\getObjectIdCollectionBuilderFrom(), and ILIAS\GlobalScreen\ScreenContext\BasicScreenContext\withReferenceId().

25  : int
26  {
27  return $this->ref_id;
28  }
+ Here is the caller graph for this function:

◆ toObjectId()

ILIAS\Data\ReferenceId::toObjectId ( )

Definition at line 30 of file ReferenceId.php.

References ilObject\_lookupObjectId().

Referenced by ilMediaPoolExportOptionXMLMaster\onDownloadWithLink(), ilMediaPoolExportOptionXMLMasterNoMedia\onDownloadWithLink(), ILIAS\Export\ExportHandler\Consumer\ExportOption\BasicLegacyHandler\onDownloadWithLink(), ilTestExportOptionARC\onDownloadWithLink(), and ilExportExportOptionXML\onDownloadWithLink().

30  : ObjectId
31  {
32  return new ObjectId(ilObject2::_lookupObjectId($this->ref_id));
33  }
static _lookupObjectId(int $ref_id)
+ Here is the call graph for this function:
+ Here is the caller 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: