ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilCertificateObjectHelper.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
8 {
14  public function getInstanceByObjId($objectId, bool $stop_on_error = true)
15  {
16  return ilObjectFactory::getInstanceByObjId($objectId, $stop_on_error);
17  }
18 
19 
24  public function lookupObjId(int $refId) : int
25  {
26  return (int) ilObject::_lookupObjId($refId);
27  }
28 
33  public function lookupType(int $objectId) : string
34  {
35  return ilObject::_lookupType($objectId);
36  }
37 
42  public function lookupTitle(int $objectId) : string
43  {
44  return (string) ilObject::_lookupTitle($objectId);
45  }
46 }
getInstanceByObjId($objectId, bool $stop_on_error=true)
static _lookupTitle($a_id)
lookup object title
static _lookupObjId($a_id)
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
static _lookupType($a_id, $a_reference=false)
lookup object type