|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilVirtualSkillTree:
Collaboration diagram for ilVirtualSkillTree:Public Member Functions | |
| __construct (int $tree_id) | |
| getRootNode () | |
| setIncludeDrafts (bool $a_val) | |
| getIncludeDrafts () | |
| setIncludeOutdated (bool $a_val) | |
| getIncludeOutdated () | |
| getNode (string $a_vtree_id) | |
| getChildsOfNode (string $a_parent_id) | |
| getChildsOfNodeForCSkillId (string $a_cskill_id) | |
| getCSkillIdForVTreeId (string $a_vtree_id) | |
| getVTreeIdForCSkillId (string $a_cskill_id) | |
| getNodeTitle (array $a_node) | |
| getSubTreeForCSkillId (string $a_cskill_id, bool $a_only_basic=false) | |
| isDraft (string $a_node_id) | |
| isOutdated (string $a_node_id) | |
| getOrderedNodeset (array $c_skill_ids, string $a_skill_id_key="", string $a_tref_id_key="") | |
| Get ordererd nodeset for common skill ids. More... | |
Protected Member Functions | |
| __getSubTreeRec (string $id, bool $a_only_basic) | |
| getPath (string $a, array $node_data) | |
| get path in node data More... | |
| getFirstUncommonAncestors (string $a, string $b, array $node_data) | |
| get first uncommon ancestors of $a and $b in $node_data More... | |
Protected Attributes | |
| ilLanguage | $lng |
| ilSkillTree | $tree |
| bool | $include_drafts = false |
| array | $drafts = [] |
| bool | $include_outdated = false |
| array | $outdated = [] |
Static Protected Attributes | |
| static array | $order_node_data = null |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Virtual skill tree
Definition at line 30 of file class.ilVirtualSkillTree.php.
| ilVirtualSkillTree::__construct | ( | int | $tree_id | ) |
Definition at line 52 of file class.ilVirtualSkillTree.php.
References $DIC, and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 277 of file class.ilVirtualSkillTree.php.
References $c, ilSkillTreeNode\_lookupType(), and getChildsOfNode().
Referenced by getSubTreeForCSkillId(), and ilGlobalVirtualSkillTree\getSubTreeForTreeId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilVirtualSkillTree::getChildsOfNode | ( | string | $a_parent_id | ) |
Definition at line 130 of file class.ilVirtualSkillTree.php.
References $c, Vendor\Package\$d, ilSkillTreeNode\_lookupStatus(), ilSkillTemplateReference\_lookupTemplateId(), getCSkillIdForVTreeId(), getIncludeDrafts(), getIncludeOutdated(), ILIAS\Repository\int(), ilSkillTreeNode\STATUS_DRAFT, and ilSkillTreeNode\STATUS_OUTDATED.
Referenced by __getSubTreeRec(), and getChildsOfNodeForCSkillId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilVirtualSkillTree::getChildsOfNodeForCSkillId | ( | string | $a_cskill_id | ) |
Definition at line 194 of file class.ilVirtualSkillTree.php.
References $id, and getChildsOfNode().
Here is the call graph for this function:| ilVirtualSkillTree::getCSkillIdForVTreeId | ( | string | $a_vtree_id | ) |
Definition at line 205 of file class.ilVirtualSkillTree.php.
Referenced by getChildsOfNode(), and getNode().
Here is the caller graph for this function:
|
protected |
get first uncommon ancestors of $a and $b in $node_data
Definition at line 384 of file class.ilVirtualSkillTree.php.
References getPath().
Referenced by getOrderedNodeset().
Here is the call graph for this function:
Here is the caller graph for this function:| ilVirtualSkillTree::getIncludeDrafts | ( | ) |
Definition at line 79 of file class.ilVirtualSkillTree.php.
References $include_drafts.
Referenced by getChildsOfNode().
Here is the caller graph for this function:| ilVirtualSkillTree::getIncludeOutdated | ( | ) |
Definition at line 89 of file class.ilVirtualSkillTree.php.
References $include_outdated.
Referenced by getChildsOfNode().
Here is the caller graph for this function:| ilVirtualSkillTree::getNode | ( | string | $a_vtree_id | ) |
Definition at line 94 of file class.ilVirtualSkillTree.php.
References ilSkillTemplateReference\_lookupTemplateId(), getCSkillIdForVTreeId(), and ILIAS\Repository\int().
Referenced by getSubTreeForCSkillId(), and ilGlobalVirtualSkillTree\getSubTreeForTreeId().
Here is the call graph for this function:
Here is the caller graph for this function:| ilVirtualSkillTree::getNodeTitle | ( | array | $a_node | ) |
Definition at line 231 of file class.ilVirtualSkillTree.php.
References $lng, ILIAS\Repository\int(), and ilLanguage\txt().
Here is the call graph for this function:| ilVirtualSkillTree::getOrderedNodeset | ( | array | $c_skill_ids, |
| string | $a_skill_id_key = "", |
||
| string | $a_tref_id_key = "" |
||
| ) |
Get ordererd nodeset for common skill ids.
| string[]|array[] | $c_skill_ids string of "skill_id:tref_id" skill ids or an array | |
| string | $a_skill_id_key | if first parameter is array[], this string identifies the key of the basic skill id |
| string | $a_tref_id_key | if first parameter is array[], this string identifies the key of the tref id |
Definition at line 310 of file class.ilVirtualSkillTree.php.
References Vendor\Package\$a, Vendor\Package\$b, $DIC, getFirstUncommonAncestors(), getVTreeIdForCSkillId(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
protected |
get path in node data
Definition at line 367 of file class.ilVirtualSkillTree.php.
References Vendor\Package\$a, and $path.
Referenced by getFirstUncommonAncestors().
Here is the caller graph for this function:| ilVirtualSkillTree::getRootNode | ( | ) |
Definition at line 63 of file class.ilVirtualSkillTree.php.
| ilVirtualSkillTree::getSubTreeForCSkillId | ( | string | $a_cskill_id, |
| bool | $a_only_basic = false |
||
| ) |
Definition at line 255 of file class.ilVirtualSkillTree.php.
References $id, __getSubTreeRec(), ilSkillTreeNode\_lookupType(), and getNode().
Here is the call graph for this function:| ilVirtualSkillTree::getVTreeIdForCSkillId | ( | string | $a_cskill_id | ) |
Definition at line 220 of file class.ilVirtualSkillTree.php.
References $id.
Referenced by getOrderedNodeset().
Here is the caller graph for this function:| ilVirtualSkillTree::isDraft | ( | string | $a_node_id | ) |
Definition at line 292 of file class.ilVirtualSkillTree.php.
| ilVirtualSkillTree::isOutdated | ( | string | $a_node_id | ) |
Definition at line 297 of file class.ilVirtualSkillTree.php.
| ilVirtualSkillTree::setIncludeDrafts | ( | bool | $a_val | ) |
Definition at line 74 of file class.ilVirtualSkillTree.php.
| ilVirtualSkillTree::setIncludeOutdated | ( | bool | $a_val | ) |
Definition at line 84 of file class.ilVirtualSkillTree.php.
|
protected |
Definition at line 44 of file class.ilVirtualSkillTree.php.
|
protected |
Definition at line 39 of file class.ilVirtualSkillTree.php.
Referenced by getIncludeDrafts().
|
protected |
Definition at line 45 of file class.ilVirtualSkillTree.php.
Referenced by getIncludeOutdated().
|
protected |
Definition at line 32 of file class.ilVirtualSkillTree.php.
Referenced by getNodeTitle().
|
staticprotected |
Definition at line 38 of file class.ilVirtualSkillTree.php.
|
protected |
Definition at line 50 of file class.ilVirtualSkillTree.php.
|
protected |
Definition at line 33 of file class.ilVirtualSkillTree.php.
Referenced by ilGlobalVirtualSkillTree\getChildsOfNode().