ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
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.

References ILIAS\Data\ReferenceId\$ref_id.

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

Member Function Documentation

◆ toInt()

◆ toObjectId()

ILIAS\Data\ReferenceId::toObjectId ( )

Definition at line 46 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().

46  : ObjectId
47  {
48  return new ObjectId(ilObject2::_lookupObjectId($this->ref_id));
49  }
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: