ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
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 26 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 45 of file class.SkillResource.php.

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

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

◆ getImparting()

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

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

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

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

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

◆ getLevelId()

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

Skill level id.

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

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

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

◆ getRepoRefId()

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

Ref id of the repository resource.

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

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

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

◆ getTrefId()

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

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

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

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

◆ getTrigger()

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

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

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

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

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

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: