|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilSkillResources:
Collaboration diagram for ilSkillResources:Public Member Functions | |
| __construct (int $a_skill_id=0, int $a_tref_id=0) | |
| setBaseSkillId (int $a_val) | |
| getBaseSkillId () | |
| setTemplateRefId (int $a_val) | |
| getTemplateRefId () | |
| readResources () | |
| save () | |
| getResources () | |
| getResourcesOfLevel (int $a_level_id) | |
| setResourceAsTrigger (int $a_level_id, int $a_rep_ref_id, bool $a_trigger=true) | |
| setResourceAsImparting (int $a_level_id, int $a_rep_ref_id, bool $a_imparting=true) | |
Static Public Member Functions | |
| static | getUsageInfo (array $a_cskill_ids) |
| static | getTriggerLevelsForRefId (int $a_ref_id) |
| static | getUsageInfo (array $a_cskill_ids) |
| Get title of an assigned item. More... | |
Protected Attributes | |
| ilDBInterface | $db |
| ilTree | $tree |
| int | $base_skill_id = 0 |
| int | $tref_id = 0 |
| array | $resources = [] |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Manages resources for skills. This is not about user assigned materials, it is about resources that are assigned to skill levels in the competence management administration of ILIAS.
This can be either triggers (e.g. a course that triggers a competence level) or resources that impart the knowledge of a competence level. Imparting does not necessarily mean that it triggers a competence level.
Definition at line 32 of file class.ilSkillResources.php.
| ilSkillResources::__construct | ( | int | $a_skill_id = 0, |
| int | $a_tref_id = 0 |
||
| ) |
Definition at line 53 of file class.ilSkillResources.php.
References $DIC, readResources(), setBaseSkillId(), and setTemplateRefId().
Here is the call graph for this function:| ilSkillResources::getBaseSkillId | ( | ) |
Definition at line 72 of file class.ilSkillResources.php.
References $base_skill_id.
| ilSkillResources::getResources | ( | ) |
Definition at line 138 of file class.ilSkillResources.php.
References $resources.
Referenced by save().
Here is the caller graph for this function:| ilSkillResources::getResourcesOfLevel | ( | int | $a_level_id | ) |
Definition at line 146 of file class.ilSkillResources.php.
| ilSkillResources::getTemplateRefId | ( | ) |
|
static |
Definition at line 198 of file class.ilSkillResources.php.
References $db, $DIC, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilSkillAppEventListener\handleEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| array{skill_id | int, tref_id: int}[] $a_cskill_ids array of common skill ids |
Implements ilSkillUsageInfo.
Definition at line 184 of file class.ilSkillResources.php.
References ilSkillUsage\getUsageInfoGeneric(), and ilSkillUsage\RESOURCE.
Here is the call graph for this function:| ilSkillResources::readResources | ( | ) |
Definition at line 87 of file class.ilSkillResources.php.
References $db, $ilDB, $tree, ILIAS\Repository\int(), and ilTree\isInTree().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillResources::save | ( | ) |
Definition at line 109 of file class.ilSkillResources.php.
References $db, $ilDB, $ref_id, and getResources().
Here is the call graph for this function:| ilSkillResources::setBaseSkillId | ( | int | $a_val | ) |
Definition at line 67 of file class.ilSkillResources.php.
Referenced by __construct().
Here is the caller graph for this function:| ilSkillResources::setResourceAsImparting | ( | int | $a_level_id, |
| int | $a_rep_ref_id, | ||
| bool | $a_imparting = true |
||
| ) |
Definition at line 167 of file class.ilSkillResources.php.
| ilSkillResources::setResourceAsTrigger | ( | int | $a_level_id, |
| int | $a_rep_ref_id, | ||
| bool | $a_trigger = true |
||
| ) |
Definition at line 155 of file class.ilSkillResources.php.
| ilSkillResources::setTemplateRefId | ( | int | $a_val | ) |
Definition at line 77 of file class.ilSkillResources.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Definition at line 36 of file class.ilSkillResources.php.
Referenced by getBaseSkillId().
|
protected |
Definition at line 34 of file class.ilSkillResources.php.
Referenced by getTriggerLevelsForRefId(), readResources(), and save().
|
protected |
Definition at line 51 of file class.ilSkillResources.php.
Referenced by getResources().
|
protected |
Definition at line 35 of file class.ilSkillResources.php.
Referenced by readResources().
|
protected |
Definition at line 37 of file class.ilSkillResources.php.
Referenced by getTemplateRefId().