| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Virtual skill tree. More...
 Collaboration diagram for ilVirtualSkillTree:
 Collaboration diagram for ilVirtualSkillTree:| Public Member Functions | |
| __construct () | |
| Constructor. | |
| getRootNode () | |
| Get root node. | |
| setIncludeDrafts ($a_val) | |
| Set include drafts. | |
| getIncludeDrafts () | |
| Get include drafts. | |
| setIncludeOutdated ($a_val) | |
| Set include outdated. | |
| getIncludeOutdated () | |
| Get include outdated. | |
| getNode ($a_id) | |
| Get node. | |
| getChildsOfNode ($a_parent_id) | |
| Get childs of node. | |
| getChildsOfNodeForCSkillId ($a_cskill_id) | |
| Get childs of node for cskill id. | |
| getCSkillIdForVTreeId ($a_vtree_id) | |
| Get common skill id for tree id. | |
| getNodeTitle ($a_node) | |
| Get node content. | |
| getSubTreeForCSkillId ($a_cskill_id, $a_only_basic=false) | |
| Get sub tree. | |
| isDraft ($a_node_id) | |
| Is draft. | |
| isOutdated ($a_node_id) | |
| Is outdated. | |
| Protected Attributes | |
| $include_drafts = false | |
| $drafts = array() | |
| $include_outdated = false | |
| $outdated = array() | |
| Private Member Functions | |
| __getSubTreeRec ($id, &$result, $a_only_basic) | |
| Get subtree, internal. | |
| ilVirtualSkillTree::__construct | ( | ) | 
Constructor.
Definition at line 23 of file class.ilVirtualSkillTree.php.
| 
 | private | 
Get subtree, internal.
| string | $id | vtree id | 
| array | $result | node array (called by reference) | 
| bool | $a_only_basic | return only basic skills (and basic skill templates) | 
Definition at line 336 of file class.ilVirtualSkillTree.php.
References $result, ilSkillTreeNode\_lookupType(), and getChildsOfNode().
Referenced by getSubTreeForCSkillId().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilVirtualSkillTree::getChildsOfNode | ( | $a_parent_id | ) | 
Get childs of node.
| string | $a_parent_id | parent id | 
Definition at line 133 of file class.ilVirtualSkillTree.php.
References $d, $drafts, $outdated, ilSkillTreeNode\_lookupStatus(), ilSkillTemplateReference\_lookupTemplateId(), getCSkillIdForVTreeId(), getIncludeDrafts(), getIncludeOutdated(), ilSkillTreeNode\STATUS_DRAFT, and ilSkillTreeNode\STATUS_OUTDATED.
Referenced by __getSubTreeRec(), and getChildsOfNodeForCSkillId().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilVirtualSkillTree::getChildsOfNodeForCSkillId | ( | $a_cskill_id | ) | 
Get childs of node for cskill id.
| string | $a_cskill_id | common skill id <skill_id>:<tref_id> | 
Definition at line 224 of file class.ilVirtualSkillTree.php.
References getChildsOfNode().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilVirtualSkillTree::getCSkillIdForVTreeId | ( | $a_vtree_id | ) | 
Get common skill id for tree id.
| string | $a_vtree_id | vtree id | 
Definition at line 244 of file class.ilVirtualSkillTree.php.
Referenced by getChildsOfNode(), and getNode().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilVirtualSkillTree::getIncludeDrafts | ( | ) | 
Get include drafts.
Definition at line 60 of file class.ilVirtualSkillTree.php.
References $include_drafts.
Referenced by getChildsOfNode().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilVirtualSkillTree::getIncludeOutdated | ( | ) | 
Get include outdated.
Definition at line 80 of file class.ilVirtualSkillTree.php.
References $include_outdated.
Referenced by getChildsOfNode().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilVirtualSkillTree::getNode | ( | $a_id | ) | 
Get node.
| string | $a_id | vtree id | 
Definition at line 91 of file class.ilVirtualSkillTree.php.
References ilSkillTemplateReference\_lookupTemplateId(), and getCSkillIdForVTreeId().
Referenced by getSubTreeForCSkillId().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilVirtualSkillTree::getNodeTitle | ( | $a_node | ) | 
Get node content.
| array | $a_node | node data | 
Definition at line 269 of file class.ilVirtualSkillTree.php.
References $lng.
| ilVirtualSkillTree::getRootNode | ( | ) | 
Get root node.
Definition at line 34 of file class.ilVirtualSkillTree.php.
| ilVirtualSkillTree::getSubTreeForCSkillId | ( | $a_cskill_id, | |
| $a_only_basic = false | |||
| ) | 
Get sub tree.
| string | $a_cskill_id | cskill id | 
| bool | $a_only_basic | return only basic skills (and basic skill templates) | 
Definition at line 304 of file class.ilVirtualSkillTree.php.
References $result, __getSubTreeRec(), ilSkillTreeNode\_lookupType(), and getNode().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilVirtualSkillTree::isDraft | ( | $a_node_id | ) | 
Is draft.
| int | $a_node_id | node id | 
Definition at line 356 of file class.ilVirtualSkillTree.php.
| ilVirtualSkillTree::isOutdated | ( | $a_node_id | ) | 
Is outdated.
| int | $a_node_id | node id | 
Definition at line 367 of file class.ilVirtualSkillTree.php.
| ilVirtualSkillTree::setIncludeDrafts | ( | $a_val | ) | 
Set include drafts.
| bool | $a_val | include drafts | 
Definition at line 50 of file class.ilVirtualSkillTree.php.
| ilVirtualSkillTree::setIncludeOutdated | ( | $a_val | ) | 
Set include outdated.
| bool | $a_val | include outdated | 
Definition at line 70 of file class.ilVirtualSkillTree.php.
| 
 | protected | 
Definition at line 16 of file class.ilVirtualSkillTree.php.
Referenced by getChildsOfNode().
| 
 | protected | 
Definition at line 15 of file class.ilVirtualSkillTree.php.
Referenced by getIncludeDrafts().
| 
 | protected | 
Definition at line 17 of file class.ilVirtualSkillTree.php.
Referenced by getIncludeOutdated().
| 
 | protected | 
Definition at line 18 of file class.ilVirtualSkillTree.php.
Referenced by getChildsOfNode().