ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ObjectAdapter.php
Go to the documentation of this file.
1 <?php
2 
20 declare(strict_types=1);
21 
23 
25 {
26  public function __construct()
27  {
28  }
29 
30  public function getObjIdForRefId(int $a_ref_id): int
31  {
32  return \ilObject::_lookupObjId($a_ref_id);
33  }
34 
35  public function getTypeForObjId(int $a_obj_id): string
36  {
37  return \ilObject::_lookupType($a_obj_id);
38  }
39 
40  public function getTitleForObjId(int $a_obj_id): string
41  {
42  return \ilObject::_lookupTitle($a_obj_id);
43  }
44 }