|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ILIAS\Skill\Node\SkillTreeNodeManager:Public Member Functions | |
| __construct (int $skill_tree_id, Tree\SkillTreeFactory $tree_factory) | |
| putIntoTree (\ilSkillTreeNode $node, int $parent_node_id, int $a_target_node_id=0) | |
| getWrittenPath (int $node_id, int $tref_id=0) | |
| getRootId () | |
| clipboardCut (array $a_ids) | |
| Cut and copy a set of skills/skill categories into the clipboard. More... | |
| clipboardCopy (array $a_ids) | |
| Copy a set of skills/skill categories into the clipboard. More... | |
| insertItemsFromClip (string $a_type, int $a_obj_id) | |
| Insert basic skills from clipboard. More... | |
| saveChildsOrder (int $a_par_id, array $a_childs_order, bool $a_templates=false) | |
| getTopTemplates () | |
| Get top skill templates and template categories. More... | |
Static Public Member Functions | |
| static | clearClipboard () |
| Remove all skill items from clipboard. More... | |
Protected Member Functions | |
| pasteTree (int $a_item_id, int $a_parent_id, int $a_target, string $a_insert_time, array &$a_copied_nodes, bool $a_as_copy=false, bool $a_add_suffix=false) | |
| Paste item (tree) from clipboard to skill tree. More... | |
Protected Attributes | |
| int | $skill_tree_id = 0 |
| ilSkillTree | $tree |
| ilObjUser | $user |
Skill tree manager.
Definition at line 31 of file class.SkillTreeNodeManager.php.
| ILIAS\Skill\Node\SkillTreeNodeManager::__construct | ( | int | $skill_tree_id, |
| Tree\SkillTreeFactory | $tree_factory | ||
| ) |
Definition at line 37 of file class.SkillTreeNodeManager.php.
References $DIC, ILIAS\Skill\Node\SkillTreeNodeManager\$skill_tree_id, and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
Remove all skill items from clipboard.
Definition at line 240 of file class.SkillTreeNodeManager.php.
References $DIC, and ilEditClipboard\clear().
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCopy(), ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCut(), and ILIAS\Skill\Node\SkillTreeNodeManager\insertItemsFromClip().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Skill\Node\SkillTreeNodeManager::clipboardCopy | ( | array | $a_ids | ) |
Copy a set of skills/skill categories into the clipboard.
Definition at line 153 of file class.SkillTreeNodeManager.php.
References $id, ILIAS\Skill\Node\SkillTreeNodeManager\$tree, ILIAS\Skill\Node\SkillTreeNodeManager\$user, ilSkillTreeNode\_lookupTitle(), ilSkillTreeNode\_lookupType(), ILIAS\Skill\Node\SkillTreeNodeManager\clearClipboard(), ilTree\getNodeData(), ilTree\getSubTree(), ilTree\isInTree(), and ilEditClipboard\setAction().
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCut().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Skill\Node\SkillTreeNodeManager::clipboardCut | ( | array | $a_ids | ) |
Cut and copy a set of skills/skill categories into the clipboard.
Definition at line 111 of file class.SkillTreeNodeManager.php.
References $id, $path, ILIAS\Skill\Node\SkillTreeNodeManager\$tree, ILIAS\Skill\Node\SkillTreeNodeManager\clearClipboard(), ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCopy(), ilTree\deleteTree(), ilTree\getNodeData(), ilTree\getPathId(), ilTree\isInTree(), and ilEditClipboard\setAction().
Here is the call graph for this function:| ILIAS\Skill\Node\SkillTreeNodeManager::getRootId | ( | ) |
Definition at line 102 of file class.SkillTreeNodeManager.php.
| ILIAS\Skill\Node\SkillTreeNodeManager::getTopTemplates | ( | ) |
Get top skill templates and template categories.
Definition at line 362 of file class.SkillTreeNodeManager.php.
| ILIAS\Skill\Node\SkillTreeNodeManager::getWrittenPath | ( | int | $node_id, |
| int | $tref_id = 0 |
||
| ) |
Definition at line 89 of file class.SkillTreeNodeManager.php.
References $path.
| ILIAS\Skill\Node\SkillTreeNodeManager::insertItemsFromClip | ( | string | $a_type, |
| int | $a_obj_id | ||
| ) |
Insert basic skills from clipboard.
Definition at line 200 of file class.SkillTreeNodeManager.php.
References ILIAS\Skill\Node\SkillTreeNodeManager\$user, ILIAS\Skill\Node\SkillTreeNodeManager\clearClipboard(), ilEditClipboard\getAction(), ILIAS\Skill\Node\SkillTreeNodeManager\pasteTree(), ilTree\POS_LAST_NODE, and ILIAS\Skill\Node\SkillTreeNodeManager\saveChildsOrder().
Here is the call graph for this function:
|
protected |
Paste item (tree) from clipboard to skill tree.
Definition at line 258 of file class.SkillTreeNodeManager.php.
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\insertItemsFromClip().
Here is the caller graph for this function:| ILIAS\Skill\Node\SkillTreeNodeManager::putIntoTree | ( | \ilSkillTreeNode | $node, |
| int | $parent_node_id, | ||
| int | $a_target_node_id = 0 |
||
| ) |
Definition at line 47 of file class.SkillTreeNodeManager.php.
References ILIAS\Skill\Node\SkillTreeNodeManager\$tree, ilSkillTreeNode\_lookupType(), ilTree\getChilds(), ilSkillTreeNode\getId(), ilSkillTree\getMaxOrderNr(), ilSkillTreeNode\getType(), ilTree\insertNode(), ilTree\isInTree(), ilTree\POS_FIRST_NODE, ilTree\readRootId(), ilSkillTreeNode\setOrderNr(), and ilSkillTreeNode\update().
Here is the call graph for this function:| ILIAS\Skill\Node\SkillTreeNodeManager::saveChildsOrder | ( | int | $a_par_id, |
| array | $a_childs_order, | ||
| bool | $a_templates = false |
||
| ) |
Definition at line 324 of file class.SkillTreeNodeManager.php.
References $c, ilSkillTreeNode\_writeOrderNr(), ILIAS\Repository\int(), and ilArrayUtil\sortArray().
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\insertItemsFromClip().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 33 of file class.SkillTreeNodeManager.php.
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\__construct().
|
protected |
Definition at line 34 of file class.SkillTreeNodeManager.php.
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCopy(), ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCut(), and ILIAS\Skill\Node\SkillTreeNodeManager\putIntoTree().
|
protected |
Definition at line 35 of file class.SkillTreeNodeManager.php.
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCopy(), and ILIAS\Skill\Node\SkillTreeNodeManager\insertItemsFromClip().