ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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.

30 {
31 $this->ref_id = $ref_id;
32 $this->obj_id = \ilObject::_lookupObjectId($ref_id);
33 }
static _lookupObjectId(int $ref_id)

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

+ 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.

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

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

◆ getRefId()

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

Definition at line 40 of file ObjectManager.php.

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

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

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: