ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ILIAS\Skill\Resource\SkillResource Class Reference
+ Collaboration diagram for ILIAS\Skill\Resource\SkillResource:

Public Member Functions

 __construct (int $skill_id, int $tref_id, int $level_id, int $rep_ref_id, bool $imparting, bool $trigger)
 
 getBaseSkillId ()
 
 getTrefId ()
 
 getLevelId ()
 Skill level id. More...
 
 getRepoRefId ()
 Ref id of the repository resource. More...
 
 getImparting ()
 True, if the resource triggers the skill level (false otherwise) More...
 
 getTrigger ()
 True, if the resource imparts knowledge of the skill level (false otherwise) More...
 

Protected Attributes

int $skill_id = 0
 
int $tref_id = 0
 
int $level_id = 0
 
int $rep_ref_id = 0
 
bool $imparting = false
 
bool $trigger = false
 

Detailed Description

Author
Thomas Famula famul.nosp@m.a@le.nosp@m.ifos..nosp@m.de

Definition at line 27 of file class.SkillResource.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Skill\Resource\SkillResource::__construct ( int  $skill_id,
int  $tref_id,
int  $level_id,
int  $rep_ref_id,
bool  $imparting,
bool  $trigger 
)

Member Function Documentation

◆ getBaseSkillId()

ILIAS\Skill\Resource\SkillResource::getBaseSkillId ( )

Definition at line 46 of file class.SkillResource.php.

References ILIAS\Skill\Resource\SkillResource\$skill_id.

46  : int
47  {
48  return $this->skill_id;
49  }

◆ getImparting()

ILIAS\Skill\Resource\SkillResource::getImparting ( )

True, if the resource triggers the skill level (false otherwise)

Definition at line 75 of file class.SkillResource.php.

References ILIAS\Skill\Resource\SkillResource\$imparting.

75  : bool
76  {
77  return $this->imparting;
78  }

◆ getLevelId()

ILIAS\Skill\Resource\SkillResource::getLevelId ( )

Skill level id.

Definition at line 59 of file class.SkillResource.php.

References ILIAS\Skill\Resource\SkillResource\$level_id.

59  : int
60  {
61  return $this->level_id;
62  }

◆ getRepoRefId()

ILIAS\Skill\Resource\SkillResource::getRepoRefId ( )

Ref id of the repository resource.

Definition at line 67 of file class.SkillResource.php.

References ILIAS\Skill\Resource\SkillResource\$rep_ref_id.

67  : int
68  {
69  return $this->rep_ref_id;
70  }

◆ getTrefId()

ILIAS\Skill\Resource\SkillResource::getTrefId ( )

Definition at line 51 of file class.SkillResource.php.

References ILIAS\Skill\Resource\SkillResource\$tref_id.

51  : int
52  {
53  return $this->tref_id;
54  }

◆ getTrigger()

ILIAS\Skill\Resource\SkillResource::getTrigger ( )

True, if the resource imparts knowledge of the skill level (false otherwise)

Definition at line 83 of file class.SkillResource.php.

References ILIAS\Skill\Resource\SkillResource\$trigger.

83  : bool
84  {
85  return $this->trigger;
86  }

Field Documentation

◆ $imparting

bool ILIAS\Skill\Resource\SkillResource::$imparting = false
protected

◆ $level_id

int ILIAS\Skill\Resource\SkillResource::$level_id = 0
protected

◆ $rep_ref_id

int ILIAS\Skill\Resource\SkillResource::$rep_ref_id = 0
protected

◆ $skill_id

int ILIAS\Skill\Resource\SkillResource::$skill_id = 0
protected

◆ $tref_id

int ILIAS\Skill\Resource\SkillResource::$tref_id = 0
protected

◆ $trigger

bool ILIAS\Skill\Resource\SkillResource::$trigger = false
protected

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