ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Basic Skill Template. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor public. More... | |
copy () | |
Copy basic skill template. More... | |
Public Member Functions inherited from ilBasicSkill | |
__construct ($a_id=0) | |
Constructor public. More... | |
read () | |
Read data from database. More... | |
create () | |
Create skill. More... | |
delete () | |
Delete skill. More... | |
copy () | |
Copy basic skill. More... | |
addLevel ($a_title, $a_description, $a_import_id="") | |
Add new level. More... | |
getMaxLevelNr () | |
Get maximum level nr. More... | |
getLevelData ($a_id=0) | |
Get level data. More... | |
updateLevelOrder ($order) | |
Update level order. More... | |
deleteLevel ($a_id) | |
Delete level. More... | |
fixLevelNumbering () | |
Fix level numbering. More... | |
getSkillForLevelId ($a_level_id) | |
Get skill for level id. More... | |
getMaxLevelPerType ($a_tref_id, $a_type, $a_user_id=0, $a_self_eval=0) | |
Get max levels per type. More... | |
getAllLevelEntriesOfUser ($a_tref_id, $a_user_id=0, $a_self_eval=0) | |
Get all level entries. More... | |
getAllHistoricLevelEntriesOfUser ($a_tref_id, $a_user_id=0, $a_eval_by=0) | |
Get all historic level entries. More... | |
getMaxLevelPerObject ($a_tref_id, $a_object_id, $a_user_id=0, $a_self_eval=0) | |
Get max levels per object. More... | |
getLastLevelPerObject ($a_tref_id, $a_object_id, $a_user_id=0, $a_self_eval=0) | |
Get last level set per object. More... | |
getLastUpdatePerObject ($a_tref_id, $a_object_id, $a_user_id=0, $a_self_eval=0) | |
Get last update per object. More... | |
getTitleForCertificate () | |
Get title for certificate. More... | |
getShortTitleForCertificate () | |
Get short title for certificate. More... | |
Public Member Functions inherited from ilSkillTreeNode | |
__construct ($a_id=0) | |
setTitle ($a_title) | |
Set title. More... | |
getTitle () | |
Get title. More... | |
setType ($a_type) | |
Set type. More... | |
getType () | |
Get type. More... | |
setId ($a_id) | |
Set Node ID. More... | |
getId () | |
Get Node ID. More... | |
setSelfEvaluation ($a_val) | |
Set self evaluation. More... | |
getSelfEvaluation () | |
Get self evaluation. More... | |
setOrderNr ($a_val) | |
Set order nr. More... | |
getOrderNr () | |
Get order nr. More... | |
setImportId ($a_val) | |
Set import id. More... | |
getImportId () | |
Get import id. More... | |
getCreationDate () | |
Get creation date. More... | |
read () | |
Read Data of Node. More... | |
setDataRecord ($a_record) | |
this method should only be called by class ilSCORM2004NodeFactory More... | |
setStatus ($a_val) | |
Set status. More... | |
getStatus () | |
Get status. More... | |
create () | |
Create Node. More... | |
update () | |
Update Node. More... | |
delete () | |
Delete Node. More... | |
Data Fields | |
$id | |
Data Fields inherited from ilBasicSkill | |
const | ACHIEVED = 1 |
const | NOT_ACHIEVED = 0 |
const | EVAL_BY_OTHERS_ = 0 |
const | EVAL_BY_SELF = 1 |
const | EVAL_BY_ALL = 2 |
$id | |
Data Fields inherited from ilSkillTreeNode | |
const | STATUS_PUBLISH = 0 |
const | STATUS_DRAFT = 1 |
const | STATUS_OUTDATED = 2 |
$type | |
$id | |
$title | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilBasicSkill | |
static | lookupLevelTitle ($a_id) |
Lookup level title. More... | |
static | lookupLevelDescription ($a_id) |
Lookup level description. More... | |
static | lookupLevelSkillId ($a_id) |
Lookup level skill id. More... | |
static | writeLevelTitle ($a_id, $a_title) |
Write level title. More... | |
static | writeLevelDescription ($a_id, $a_description) |
Write level description. More... | |
static | resetUserSkillLevelStatus ($a_user_id, $a_skill_id, $a_tref_id=0, $a_trigger_ref_id=0, $a_self_eval=false) |
Reset skill level status. More... | |
static | writeUserSkillLevelStatus ($a_level_id, $a_user_id, $a_trigger_ref_id, $a_tref_id=0, $a_status=ilBasicSkill::ACHIEVED, $a_force=false, $a_self_eval=false, $a_unique_identifier="") |
Write skill level status. More... | |
static | _lookupCertificate ($a_skill_id, $a_skill_level_id) |
Checks whether a skill level has a certificate or not. More... | |
static | getUsageInfo ($a_cskill_ids, &$a_usages) |
Get usage info. More... | |
static | getCommonSkillIdForImportId ($a_source_inst_id, $a_skill_import_id, $a_tref_import_id=0) |
Get common skill ids for import IDs (newest first) More... | |
static | getLevelIdForImportId ($a_source_inst_id, $a_level_import_id) |
Get level ids for import IDs (newest first) More... | |
static | getLevelIdForImportIdMatchSkill ($a_source_inst_id, $a_level_import_id, $a_skill_import_id, $a_tref_import_id=0) |
Get level ids for import Ids matching common skills. More... | |
Static Public Member Functions inherited from ilSkillTreeNode | |
static | getAllStatus () |
Get all status. More... | |
static | getStatusInfo ($a_status) |
Get status info. More... | |
static | _lookupTitle ($a_obj_id, $a_tref_id=0) |
Lookup Title. More... | |
static | _lookupSelfEvaluation ($a_obj_id) |
Lookup self evaluation. More... | |
static | _lookupStatus ($a_obj_id) |
Lookup Status. More... | |
static | _lookupType ($a_obj_id) |
Lookup Type. More... | |
static | _writeTitle ($a_obj_id, $a_title) |
Write Title. More... | |
static | _writeOrderNr ($a_obj_id, $a_nr) |
Write Order Nr. More... | |
static | putInTree ($a_obj, $a_parent_id="", $a_target_node_id="") |
Put this object into the skill tree. More... | |
static | getTree ($a_slm_obj_id) |
Get scorm module editing tree. More... | |
static | uniqueTypesCheck ($a_items) |
Check for unique types. More... | |
static | clipboardCut ($a_tree_id, $a_ids) |
Cut and copy a set of skills/skill categories into the clipboard. More... | |
static | clipboardCopy ($a_tree_id, $a_ids) |
Copy a set of skills/skill categories into the clipboard. More... | |
static | insertItemsFromClip ($a_type, $a_obj_id) |
Insert basic skills from clipboard. More... | |
static | clearClipboard () |
Remove all skill items from clipboard. More... | |
static | pasteTree ($a_item_id, $a_parent_id, $a_target, $a_insert_time, &$a_copied_nodes, $a_as_copy=false, $a_add_suffix=false) |
Paste item (tree) from clipboard to skill tree. More... | |
static | isInTree ($a_id) |
Is id in tree? More... | |
static | getAllSelfEvaluationNodes () |
Get all self evaluation nodes. More... | |
static | getTopTemplates () |
Get top skill templates and template categories. More... | |
static | getSelectableSkills () |
Get selectable skills. More... | |
static | saveChildsOrder ($a_par_id, $a_childs_order, $a_templates=false) |
Save childs order. More... | |
static | getIconPath ($a_obj_id, $a_type, $a_size="", $a_status=0) |
Get icon path. More... | |
static | findSkills ($a_term) |
Find skills. More... | |
static | getAllCSkillIdsForNodeIds (array $a_node_ids) |
Get all possible common skill IDs for node IDs. More... | |
Protected Member Functions inherited from ilSkillTreeNode | |
setCreationDate ($a_val) | |
Set creation date. More... | |
Static Protected Member Functions inherited from ilBasicSkill | |
static | lookupLevelProperty ($a_id, $a_prop) |
Lookup level property. More... | |
static | writeLevelProperty ($a_id, $a_prop, $a_value, $a_type) |
Write level property. More... | |
static | hasRecentSelfEvaluation ($a_user_id, $a_skill_id, $a_tref_id=0, $a_trigger_ref_id=0) |
Has recent self evaluation. More... | |
Static Protected Member Functions inherited from ilSkillTreeNode | |
static | _lookup ($a_obj_id, $a_field) |
Lookup Title. More... | |
ilBasicSkillTemplate::__construct | ( | $a_id = 0 | ) |
Constructor public.
Definition at line 23 of file class.ilBasicSkillTemplate.php.
References ilSkillTreeNode\setType().
ilBasicSkillTemplate::copy | ( | ) |
Copy basic skill template.
Definition at line 32 of file class.ilBasicSkillTemplate.php.
References ilBasicSkill\getLevelData(), ilSkillTreeNode\getOrderNr(), ilSkillTreeNode\getTitle(), and ilSkillTreeNode\getType().
ilBasicSkillTemplate::$id |
Definition at line 17 of file class.ilBasicSkillTemplate.php.