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