ILIAS
Release_5_0_x_branch Revision 61816
|
Skill Template Reference. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor public. | |
setSkillTemplateId ($a_val) | |
Set skill template id. | |
getSkillTemplateId () | |
Get skill template id. | |
read () | |
Read data from database. | |
create () | |
Create skill template reference. | |
update () | |
Update node. | |
delete () | |
Delete skill. | |
copy () | |
Copy basic skill template. | |
_lookupTrefIdsForTopTemplateId ($a_template_id) | |
Lookup tref ids for template id. | |
Public Member Functions inherited from ilSkillTreeNode | |
ilSkillTreeNode ($a_id=0) | |
setTitle ($a_title) | |
Set title. | |
getTitle () | |
Get title. | |
setType ($a_type) | |
Set type. | |
getType () | |
Get type. | |
setId ($a_id) | |
Set Node ID. | |
getId () | |
Get Node ID. | |
setSelfEvaluation ($a_val) | |
Set self evaluation. | |
getSelfEvaluation () | |
Get self evaluation. | |
setOrderNr ($a_val) | |
Set order nr. | |
getOrderNr () | |
Get order nr. | |
setDataRecord ($a_record) | |
this method should only be called by class ilSCORM2004NodeFactory | |
setStatus ($a_val) | |
Set status. | |
getStatus () | |
Get status. | |
clipboardCut ($a_tree_id, $a_ids) | |
Cut and copy a set of skills/skill categories into the clipboard. |
Static Public Member Functions | |
static | _lookupTemplateId ($a_obj_id) |
Lookup template ID. | |
static | _lookupTrefIdsForTemplateId ($a_tid) |
Get all tref ids for a template id. | |
Static Public Member Functions inherited from ilSkillTreeNode | |
static | getAllStatus () |
Get all status. | |
static | getStatusInfo ($a_status) |
Get status info. | |
static | _lookupTitle ($a_obj_id, $a_tref_id=0) |
Lookup Title. | |
static | _lookupSelfEvaluation ($a_obj_id) |
Lookup self evaluation. | |
static | _lookupStatus ($a_obj_id) |
Lookup Status. | |
static | _lookupType ($a_obj_id) |
Lookup Type. | |
static | _writeTitle ($a_obj_id, $a_title) |
Write Title. | |
static | _writeOrderNr ($a_obj_id, $a_nr) |
Write Order Nr. | |
static | putInTree ($a_obj, $a_parent_id="", $a_target_node_id="") |
Put this object into the skill tree. | |
static | getTree ($a_slm_obj_id) |
Get scorm module editing tree. | |
static | uniqueTypesCheck ($a_items) |
Check for unique types. | |
static | clipboardCopy ($a_tree_id, $a_ids) |
Copy a set of skills/skill categories into the clipboard. | |
static | insertItemsFromClip ($a_type, $a_obj_id) |
Insert basic skills from clipboard. | |
static | clearClipboard () |
Remove all skill items from clipboard. | |
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. | |
static | isInTree ($a_id) |
Is id in tree? | |
static | getAllSelfEvaluationNodes () |
Get all self evaluation nodes. | |
static | getTopTemplates () |
Get top skill templates and template categories. | |
static | getSelectableSkills () |
Get selectable skills. | |
static | saveChildsOrder ($a_par_id, $a_childs_order, $a_templates=false) |
Save childs order. | |
static | getIconPath ($a_obj_id, $a_type, $a_size="", $a_status=0) |
Get icon path. | |
static | findSkills ($a_term) |
Find skills. |
Data Fields | |
$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 Protected Member Functions inherited from ilSkillTreeNode | |
static | _lookup ($a_obj_id, $a_field) |
Lookup Title. |
Skill Template Reference.
Definition at line 15 of file class.ilSkillTemplateReference.php.
ilSkillTemplateReference::__construct | ( | $a_id = 0 | ) |
Constructor public.
Definition at line 23 of file class.ilSkillTemplateReference.php.
References ilSkillTreeNode\ilSkillTreeNode(), and ilSkillTreeNode\setType().
|
static |
Lookup template ID.
int | node ID |
Definition at line 133 of file class.ilSkillTemplateReference.php.
Referenced by ilSkillTreeNode\_lookupTitle(), ilPersonalSkillsGUI\assignMaterials(), ilSurveySkillExplorer\buildTitle(), ilCOPageHTMLExport\collectPageElements(), ilObjSkillManagementGUI\deleteNodes(), ilSkillCatTableGUI\fillRow(), ilSkillTreeNode\findSkills(), ilVirtualSkillTree\getChildsOfNode(), ilSkillTreeNode\getIconPath(), ilVirtualSkillTree\getNode(), ilSkillTreeExplorerGUI\getNodeContent(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), ilPersonalSkillsGUI\getSkillHTML(), ilSkillTree\getSkillTreePath(), ilPersonalSkill\getUsageInfo(), ilPersonalSkillsGUI\selfEvaluation(), and ilSkillTemplateReferenceGUI\setTabs().
|
static |
Get all tref ids for a template id.
int | $a_tid | template node id (node id in template tree) |
Definition at line 173 of file class.ilSkillTemplateReference.php.
References _lookupTrefIdsForTopTemplateId().
Referenced by ilObjSkillManagementGUI\deleteNodes().
ilSkillTemplateReference::_lookupTrefIdsForTopTemplateId | ( | $a_template_id | ) |
Lookup tref ids for template id.
$a_template_id | (top) template node id |
Definition at line 151 of file class.ilSkillTemplateReference.php.
References $ilDB.
Referenced by _lookupTrefIdsForTemplateId(), and ilSkillTreeNode\findSkills().
ilSkillTemplateReference::copy | ( | ) |
Copy basic skill template.
Definition at line 114 of file class.ilSkillTemplateReference.php.
References ilSkillTreeNode\getOrderNr(), ilSkillTreeNode\getSelfEvaluation(), getSkillTemplateId(), ilSkillTreeNode\getTitle(), and ilSkillTreeNode\getType().
ilSkillTemplateReference::create | ( | ) |
Create skill template reference.
Reimplemented from ilSkillTreeNode.
Definition at line 68 of file class.ilSkillTemplateReference.php.
References $ilDB.
ilSkillTemplateReference::delete | ( | ) |
Delete skill.
Reimplemented from ilSkillTreeNode.
Definition at line 100 of file class.ilSkillTemplateReference.php.
References $ilDB.
ilSkillTemplateReference::getSkillTemplateId | ( | ) |
Get skill template id.
Definition at line 44 of file class.ilSkillTemplateReference.php.
Referenced by copy().
ilSkillTemplateReference::read | ( | ) |
Read data from database.
Reimplemented from ilSkillTreeNode.
Definition at line 52 of file class.ilSkillTemplateReference.php.
References $ilDB, and setSkillTemplateId().
ilSkillTemplateReference::setSkillTemplateId | ( | $a_val | ) |
Set skill template id.
int | $a_val | skill template id |
Definition at line 34 of file class.ilSkillTemplateReference.php.
Referenced by read().
ilSkillTemplateReference::update | ( | ) |
Update node.
Reimplemented from ilSkillTreeNode.
Definition at line 84 of file class.ilSkillTemplateReference.php.
References $ilDB.
ilSkillTemplateReference::$id |
Definition at line 17 of file class.ilSkillTemplateReference.php.