ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilSkillObjectAdapter.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
25{
26 public function __construct()
27 {
28 }
29
30 public function getObjIdForRefId(int $a_ref_id): int
31 {
32 $trigger_obj_id = ($a_ref_id > 0)
33 ? ilObject::_lookupObjId($a_ref_id)
34 : 0;
35
36 return $trigger_obj_id;
37 }
38
39 public function getTypeForObjId(int $a_obj_id): ?string
40 {
41 return ilObject::_lookupType($a_obj_id);
42 }
43
44 public function getTitleForObjId(int $a_obj_id): string
45 {
46 return ilObject::_lookupTitle($a_obj_id);
47 }
48}
static _lookupType(int $id, bool $reference=false)
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
Class ilBasicSkillObjectAdapter.