ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilCertificateObjectHelper.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
25{
30 public function getInstanceByObjId(int $objectId, bool $stop_on_error = true): ?ilObject
31 {
32 return ilObjectFactory::getInstanceByObjId($objectId, $stop_on_error);
33 }
34
35 public function lookupObjId(int $refId): int
36 {
38 }
39
40 public function lookupType(int $objectId): string
41 {
42 return ilObject::_lookupType($objectId);
43 }
44
45 public function lookupTitle(int $objectId): string
46 {
47 return ilObject::_lookupTitle($objectId);
48 }
49}
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
Class ilObject Basic functions for all objects.
static _lookupType(int $id, bool $reference=false)
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
$refId
Definition: xapitoken.php:58