ILIAS  release_8 Revision v8.24
ilCertificateObjectHelper.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
25{
33 public function getInstanceByObjId(int $objectId, bool $stop_on_error = true): ?ilObject
34 {
35 return ilObjectFactory::getInstanceByObjId($objectId, $stop_on_error);
36 }
37
38 public function lookupObjId(int $refId): int
39 {
41 }
42
43 public function lookupType(int $objectId): string
44 {
45 return ilObject::_lookupType($objectId);
46 }
47
48 public function lookupTitle(int $objectId): string
49 {
50 return ilObject::_lookupTitle($objectId);
51 }
52}
getInstanceByObjId(int $objectId, bool $stop_on_error=true)
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _lookupType(int $id, bool $reference=false)
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
$refId
Definition: xapitoken.php:58