|
ILIAS
Release_4_4_x_branch Revision 61816
|
Skill usage. More...
Inheritance diagram for ilSkillUsage:
Collaboration diagram for ilSkillUsage:Public Member Functions | |
| getAllUsagesInfo ($a_cskill_ids) | |
| Get all usages info. | |
| getAllUsagesInfoOfSubtree ($a_skill_id, $a_tref_id=0) | |
| Get all usages info of subtree. | |
| getAllUsagesInfoOfSubtrees ($a_cskill_ids) | |
| Get all usages info of subtree. | |
Static Public Member Functions | |
| static | setUsage ($a_obj_id, $a_skill_id, $a_tref_id, $a_use=true) |
| Set usage. | |
| static | getUsages ($a_skill_id, $a_tref_id) |
| Get usages. | |
| static | getUsageInfo ($a_cskill_ids, &$a_usages) |
| Get usage info. | |
| static | getUsageInfoGeneric ($a_cskill_ids, &$a_usages, $a_usage_type, $a_table, $a_key_field, $a_skill_field="skill_id", $a_tref_field="tref_id") |
| Get standard usage query. | |
| static | getTypeInfoString ($a_type) |
| Get type info string. | |
| static | getObjTypeString ($a_type) |
| Get type info string. | |
Data Fields | |
| const | TYPE_GENERAL = "gen" |
| const | USER_ASSIGNED = "user" |
| const | PERSONAL_SKILL = "pers" |
| const | USER_MATERIAL = "mat" |
| const | SELF_EVAL = "seval" |
| const | PROFILE = "prof" |
| const | RESOURCE = "res" |
Protected Attributes | |
| $classes = array("ilBasicSkill", "ilPersonalSkill", "ilSkillProfile", "ilSkillResources", "ilSkillUsage") | |
Skill usage.
With this class a general skill use by an object (identified by its obj_id) is registered or unregistered.
The class maintains skill usages of the following types
Definition at line 26 of file class.ilSkillUsage.php.
| ilSkillUsage::getAllUsagesInfo | ( | $a_cskill_ids | ) |
Get all usages info.
| array | of common skill ids ("skill_id" => skill_id, "tref_id" => tref_id) |
Definition at line 150 of file class.ilSkillUsage.php.
References $classes, and getUsageInfo().
Referenced by getAllUsagesInfoOfSubtree(), and getAllUsagesInfoOfSubtrees().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSkillUsage::getAllUsagesInfoOfSubtree | ( | $a_skill_id, | |
$a_tref_id = 0 |
|||
| ) |
Get all usages info of subtree.
| int | $a_skill_id | skill node id |
| int | $a_tref_id | tref id |
Definition at line 172 of file class.ilSkillUsage.php.
References getAllUsagesInfo().
Here is the call graph for this function:| ilSkillUsage::getAllUsagesInfoOfSubtrees | ( | $a_cskill_ids | ) |
Get all usages info of subtree.
| array | $a_cskill_ids | array of common skill ids ("skill_id" => skill_id, "tref_id" => tref_id) |
Definition at line 188 of file class.ilSkillUsage.php.
References $n, and getAllUsagesInfo().
Here is the call graph for this function:
|
static |
Get type info string.
| @return |
Definition at line 226 of file class.ilSkillUsage.php.
References $lng.
Referenced by ilSkillUsageTableGUI\fillRow().
Here is the caller graph for this function:
|
static |
Get type info string.
| string | $a_type | usage type |
Definition at line 213 of file class.ilSkillUsage.php.
References $lng.
Referenced by ilSkillUsageTableGUI\fillRow().
Here is the caller graph for this function:
|
static |
Get usage info.
| array | $a_cskill_ids | skill ids |
| array | $a_usages | usages array |
Implements ilSkillUsageInfo.
Definition at line 106 of file class.ilSkillUsage.php.
References getUsageInfoGeneric(), and TYPE_GENERAL.
Referenced by getAllUsagesInfo().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get standard usage query.
| array | $a_cskill_ids | skill ids |
| array | $a_usages | usages array |
Definition at line 120 of file class.ilSkillUsage.php.
Referenced by getUsageInfo(), ilSkillResources\getUsageInfo(), ilPersonalSkill\getUsageInfo(), ilSkillProfile\getUsageInfo(), and ilBasicSkill\getUsageInfo().
Here is the caller graph for this function:
|
static |
Get usages.
| int | $a_skill_id | skill id |
| int | $a_tref_id | tref id |
Definition at line 83 of file class.ilSkillUsage.php.
|
static |
Set usage.
| int | $a_obj_id | object id |
| int | $a_skill_id | skill id |
| int | $a_tref_id | tref id |
| bool | $a_use | in use true/false |
Definition at line 50 of file class.ilSkillUsage.php.
Referenced by ilSurveySkill\addQuestionSkillAssignment(), and ilSurveySkill\removeUsagesOfSkills().
Here is the caller graph for this function:
|
protected |
Definition at line 40 of file class.ilSkillUsage.php.
Referenced by getAllUsagesInfo().
| const ilSkillUsage::PERSONAL_SKILL = "pers" |
Definition at line 30 of file class.ilSkillUsage.php.
Referenced by ilPersonalSkill\getUsageInfo().
| const ilSkillUsage::PROFILE = "prof" |
Definition at line 33 of file class.ilSkillUsage.php.
Referenced by ilSkillProfile\getUsageInfo().
| const ilSkillUsage::RESOURCE = "res" |
Definition at line 34 of file class.ilSkillUsage.php.
Referenced by ilSkillResources\getUsageInfo().
| const ilSkillUsage::SELF_EVAL = "seval" |
Definition at line 32 of file class.ilSkillUsage.php.
Referenced by ilPersonalSkill\getUsageInfo().
| const ilSkillUsage::TYPE_GENERAL = "gen" |
Definition at line 28 of file class.ilSkillUsage.php.
Referenced by getUsageInfo().
| const ilSkillUsage::USER_ASSIGNED = "user" |
Definition at line 29 of file class.ilSkillUsage.php.
Referenced by ilBasicSkill\getUsageInfo().
| const ilSkillUsage::USER_MATERIAL = "mat" |
Definition at line 31 of file class.ilSkillUsage.php.
Referenced by ilPersonalSkill\getUsageInfo().