ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilCertificateObjectHelper.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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  {
37  return ilObject::_lookupObjId($refId);
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 }
$refId
Definition: xapitoken.php:58
static _lookupObjId(int $ref_id)
static _lookupTitle(int $obj_id)
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
static _lookupType(int $id, bool $reference=false)