ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Skill Template Reference. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor public. More... | |
setSkillTemplateId ($a_val) | |
Set skill template id. More... | |
getSkillTemplateId () | |
Get skill template id. More... | |
read () | |
Read data from database. More... | |
create () | |
Create skill template reference. More... | |
update () | |
Update node. More... | |
delete () | |
Delete skill. More... | |
copy () | |
Copy basic skill template. 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... | |
Static Public Member Functions | |
static | _lookupTemplateId ($a_obj_id) |
Lookup template ID. More... | |
static | _lookupTrefIdsForTopTemplateId ($a_template_id) |
Lookup tref ids for template id. More... | |
static | _lookupTrefIdsForTemplateId ($a_tid) |
Get all tref ids for a template id. 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... | |
Data Fields | |
$id | |
Data Fields inherited from ilSkillTreeNode | |
const | STATUS_PUBLISH = 0 |
const | STATUS_DRAFT = 1 |
const | STATUS_OUTDATED = 2 |
$type | |
$id | |
$title | |
Protected Attributes | |
$db | |
Protected Attributes inherited from ilSkillTreeNode | |
$db | |
Additional Inherited Members | |
Protected Member Functions inherited from ilSkillTreeNode | |
setCreationDate ($a_val) | |
Set creation date. More... | |
Static Protected Member Functions inherited from ilSkillTreeNode | |
static | _lookup ($a_obj_id, $a_field) |
Lookup Title. More... | |
Skill Template Reference.
Definition at line 15 of file class.ilSkillTemplateReference.php.
ilSkillTemplateReference::__construct | ( | $a_id = 0 | ) |
Constructor public.
Definition at line 28 of file class.ilSkillTemplateReference.php.
References $DIC, and ilSkillTreeNode\setType().
|
static |
Lookup template ID.
int | node ID |
Definition at line 144 of file class.ilSkillTemplateReference.php.
References $DIC, $ilDB, and $query.
Referenced by ilSkillTreeNode\_lookupTitle(), ilPersonalSkillsGUI\assignMaterials(), ilSurveySkillExplorer\buildTitle(), ilCOPageHTMLExport\collectPageElements(), ilObjSkillManagementGUI\deleteNodes(), ilSkillCatTableGUI\fillRow(), ilSkillTreeNode\findSkills(), ilSkillTreeNode\getAllCSkillIdsForNodeIds(), ilVirtualSkillTree\getChildsOfNode(), ilBasicSkill\getCommonSkillIdForImportId(), ilSkillTreeNode\getIconPath(), ilVirtualSkillTree\getNode(), ilSkillTreeExplorerGUI\getNodeContent(), ilSkillTemplateTreeExplorerGUI\getNodeContent(), ilSkillTree\getSkillTreePath(), ilPersonalSkill\getUsageInfo(), ilPersonalSkillsGUI\renderSkillHTML(), 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 188 of file class.ilSkillTemplateReference.php.
Referenced by ilObjSkillManagementGUI\deleteNodes(), ilSkillTreeNode\getAllCSkillIdsForNodeIds(), and ilSkillUsage\getAllUsagesOfTemplate().
|
static |
Lookup tref ids for template id.
$a_template_id | (top) template node id |
Definition at line 164 of file class.ilSkillTemplateReference.php.
References $DIC, $ilDB, and array.
Referenced by ilSkillTreeNode\findSkills().
ilSkillTemplateReference::copy | ( | ) |
Copy basic skill template.
Definition at line 125 of file class.ilSkillTemplateReference.php.
References ilSkillTreeNode\getOrderNr(), ilSkillTreeNode\getSelfEvaluation(), getSkillTemplateId(), ilSkillTreeNode\getTitle(), and ilSkillTreeNode\getType().
ilSkillTemplateReference::create | ( | ) |
ilSkillTemplateReference::delete | ( | ) |
ilSkillTemplateReference::getSkillTemplateId | ( | ) |
Get skill template id.
Definition at line 52 of file class.ilSkillTemplateReference.php.
Referenced by copy().
ilSkillTemplateReference::read | ( | ) |
Read data from database.
Definition at line 60 of file class.ilSkillTemplateReference.php.
References $db, $ilDB, and setSkillTemplateId().
ilSkillTemplateReference::setSkillTemplateId | ( | $a_val | ) |
Set skill template id.
int | $a_val | skill template id |
Definition at line 42 of file class.ilSkillTemplateReference.php.
Referenced by read().
ilSkillTemplateReference::update | ( | ) |
Update node.
Definition at line 93 of file class.ilSkillTemplateReference.php.
References $db, $ilDB, and League\Flysystem\Adapter\Polyfill\update().
|
protected |
ilSkillTemplateReference::$id |
Definition at line 22 of file class.ilSkillTemplateReference.php.