ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ILIAS\Exercise\Object\ObjectManager Class Reference
+ Collaboration diagram for ILIAS\Exercise\Object\ObjectManager:

Public Member Functions

 __construct (int $ref_id)
 
 getId ()
 
 getRefId ()
 

Protected Attributes

int $obj_id
 
int $ref_id
 

Detailed Description

Definition at line 23 of file ObjectManager.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Exercise\Object\ObjectManager::__construct ( int  $ref_id)

Definition at line 28 of file ObjectManager.php.

References ILIAS\Exercise\Object\ObjectManager\$ref_id, and ilObject\_lookupObjectId().

30  {
31  $this->ref_id = $ref_id;
32  $this->obj_id = \ilObject::_lookupObjectId($ref_id);
33  }
static _lookupObjectId(int $ref_id)
+ Here is the call graph for this function:

Member Function Documentation

◆ getId()

ILIAS\Exercise\Object\ObjectManager::getId ( )

Definition at line 35 of file ObjectManager.php.

References ILIAS\Exercise\Object\ObjectManager\$obj_id.

35  : int
36  {
37  return $this->obj_id;
38  }

◆ getRefId()

ILIAS\Exercise\Object\ObjectManager::getRefId ( )

Definition at line 40 of file ObjectManager.php.

References ILIAS\Exercise\Object\ObjectManager\$ref_id.

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

Field Documentation

◆ $obj_id

int ILIAS\Exercise\Object\ObjectManager::$obj_id
protected

Definition at line 25 of file ObjectManager.php.

Referenced by ILIAS\Exercise\Object\ObjectManager\getId().

◆ $ref_id

int ILIAS\Exercise\Object\ObjectManager::$ref_id
protected

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