ILIAS  release_7 Revision v7.30-3-g800a261c036
ilSkillObjectAdapter Class Reference

Class ilBasicSkillObjectAdapter. More...

+ Inheritance diagram for ilSkillObjectAdapter:
+ Collaboration diagram for ilSkillObjectAdapter:

Public Member Functions

 __construct ()
 Constructor. More...
 
 getObjIdForRefId (int $a_ref_id)
 @inheritDoc More...
 
 getTypeForObjId (int $a_obj_id)
 @inheritDoc More...
 
 getTitleForObjId (int $a_obj_id)
 @inheritDoc More...
 
 getObjIdForRefId (int $a_ref_id)
 Get object id for reference id. More...
 
 getTypeForObjId (int $a_obj_id)
 Get object type for object id. More...
 
 getTitleForObjId (int $a_obj_id)
 Get object title for object id. More...
 

Detailed Description

Class ilBasicSkillObjectAdapter.

Definition at line 6 of file class.ilSkillObjectAdapter.php.

Constructor & Destructor Documentation

◆ __construct()

ilSkillObjectAdapter::__construct ( )

Constructor.

Definition at line 11 of file class.ilSkillObjectAdapter.php.

12 {
13
14 }

Member Function Documentation

◆ getObjIdForRefId()

ilSkillObjectAdapter::getObjIdForRefId ( int  $a_ref_id)

@inheritDoc

Implements ilSkillObjectAdapterInterface.

Definition at line 19 of file class.ilSkillObjectAdapter.php.

19 : int
20 {
21 $trigger_obj_id = ($a_ref_id > 0)
22 ? ilObject::_lookupObjId($a_ref_id)
23 : 0;
24
25 return $trigger_obj_id;
26 }
static _lookupObjId($a_id)

References ilObject\_lookupObjId().

+ Here is the call graph for this function:

◆ getTitleForObjId()

ilSkillObjectAdapter::getTitleForObjId ( int  $a_obj_id)

@inheritDoc

Implements ilSkillObjectAdapterInterface.

Definition at line 39 of file class.ilSkillObjectAdapter.php.

39 : ?string
40 {
41 return ilObject::_lookupTitle($a_obj_id);
42 }
static _lookupTitle($a_id)
lookup object title

References ilObject\_lookupTitle().

+ Here is the call graph for this function:

◆ getTypeForObjId()

ilSkillObjectAdapter::getTypeForObjId ( int  $a_obj_id)

@inheritDoc

Implements ilSkillObjectAdapterInterface.

Definition at line 31 of file class.ilSkillObjectAdapter.php.

31 : ?string
32 {
33 return ilObject::_lookupType($a_obj_id);
34 }
static _lookupType($a_id, $a_reference=false)
lookup object type

References ilObject\_lookupType().

+ Here is the call graph for this function:

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