ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilCertificateObjectHelper Class Reference
+ Collaboration diagram for ilCertificateObjectHelper:

Public Member Functions

 getInstanceByObjId (int $objectId, bool $stop_on_error=true)
 
 lookupObjId (int $refId)
 
 lookupType (int $objectId)
 
 lookupTitle (int $objectId)
 

Detailed Description

Author
Niels Theen nthee.nosp@m.n@da.nosp@m.tabay.nosp@m..de

Definition at line 24 of file ilCertificateObjectHelper.php.

Member Function Documentation

◆ getInstanceByObjId()

ilCertificateObjectHelper::getInstanceByObjId ( int  $objectId,
bool  $stop_on_error = true 
)
Parameters
int$objectId
bool$stop_on_error
Returns
null|ilObject
Exceptions
ilDatabaseException
ilObjectNotFoundException

Definition at line 33 of file ilCertificateObjectHelper.php.

References ilObjectFactory\getInstanceByObjId().

33  : ?ilObject
34  {
35  return ilObjectFactory::getInstanceByObjId($objectId, $stop_on_error);
36  }
static getInstanceByObjId(?int $obj_id, bool $stop_on_error=true)
get an instance of an Ilias object by object id
+ Here is the call graph for this function:

◆ lookupObjId()

ilCertificateObjectHelper::lookupObjId ( int  $refId)

Definition at line 38 of file ilCertificateObjectHelper.php.

References ilObject\_lookupObjId().

Referenced by ilCertificateSettingsCourseFormRepository\createForm().

38  : int
39  {
41  }
$refId
Definition: xapitoken.php:58
static _lookupObjId(int $ref_id)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lookupTitle()

ilCertificateObjectHelper::lookupTitle ( int  $objectId)

Definition at line 48 of file ilCertificateObjectHelper.php.

References ilObject\_lookupTitle().

Referenced by ilCertificateSettingsCourseFormRepository\createForm().

48  : string
49  {
50  return ilObject::_lookupTitle($objectId);
51  }
static _lookupTitle(int $obj_id)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lookupType()

ilCertificateObjectHelper::lookupType ( int  $objectId)

Definition at line 43 of file ilCertificateObjectHelper.php.

References ilObject\_lookupType().

43  : string
44  {
45  return ilObject::_lookupType($objectId);
46  }
static _lookupType(int $id, bool $reference=false)
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: