ILIAS  release_8 Revision v8.24
class.ilSkillObjectAdapter.php
Go to the documentation of this file.
1<?php
2
24{
25 public function __construct()
26 {
27 }
28
29 public function getObjIdForRefId(int $a_ref_id): int
30 {
31 $trigger_obj_id = ($a_ref_id > 0)
32 ? ilObject::_lookupObjId($a_ref_id)
33 : 0;
34
35 return $trigger_obj_id;
36 }
37
38 public function getTypeForObjId(int $a_obj_id): ?string
39 {
40 return ilObject::_lookupType($a_obj_id);
41 }
42
43 public function getTitleForObjId(int $a_obj_id): string
44 {
45 return ilObject::_lookupTitle($a_obj_id);
46 }
47}
static _lookupType(int $id, bool $reference=false)
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...