| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 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 32 of file class.SkillTreeNodeManager.php.
| ILIAS\Skill\Node\SkillTreeNodeManager::__construct | ( | int | $skill_tree_id, | 
| Tree\SkillTreeFactory | $tree_factory | ||
| ) | 
Definition at line 38 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 241 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 154 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(), 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 112 of file class.SkillTreeNodeManager.php.
References $id, $path, ILIAS\Skill\Node\SkillTreeNodeManager\$tree, ILIAS\Skill\Node\SkillTreeNodeManager\clearClipboard(), ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCopy(), and ilEditClipboard\setAction().
 Here is the call graph for this function:| ILIAS\Skill\Node\SkillTreeNodeManager::getRootId | ( | ) | 
Definition at line 103 of file class.SkillTreeNodeManager.php.
| ILIAS\Skill\Node\SkillTreeNodeManager::getTopTemplates | ( | ) | 
Get top skill templates and template categories.
Definition at line 363 of file class.SkillTreeNodeManager.php.
| ILIAS\Skill\Node\SkillTreeNodeManager::getWrittenPath | ( | int | $node_id, | 
| int | $tref_id = 0  | 
        ||
| ) | 
| ILIAS\Skill\Node\SkillTreeNodeManager::insertItemsFromClip | ( | string | $a_type, | 
| int | $a_obj_id | ||
| ) | 
Insert basic skills from clipboard.
Definition at line 201 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 259 of file class.SkillTreeNodeManager.php.
References $DIC, $lng, ILIAS\Skill\Node\SkillTreeNodeManager\$user, ilSkillTreeNode\_lookupType(), ilTree\POS_LAST_NODE, and ILIAS\Skill\Node\SkillTreeNodeManager\putIntoTree().
Referenced by 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::putIntoTree | ( | \ilSkillTreeNode | $node, | 
| int | $parent_node_id, | ||
| int | $a_target_node_id = 0  | 
        ||
| ) | 
Definition at line 48 of file class.SkillTreeNodeManager.php.
References ILIAS\Skill\Node\SkillTreeNodeManager\$tree, ilSkillTreeNode\_lookupType(), ilSkillTreeNode\getId(), ilSkillTreeNode\getType(), ilTree\POS_FIRST_NODE, ilSkillTreeNode\setOrderNr(), and ilSkillTreeNode\update().
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\pasteTree().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ILIAS\Skill\Node\SkillTreeNodeManager::saveChildsOrder | ( | int | $a_par_id, | 
| array | $a_childs_order, | ||
| bool | $a_templates = false  | 
        ||
| ) | 
Definition at line 325 of file class.SkillTreeNodeManager.php.
References Vendor\Package\$c, ILIAS\Skill\Node\SkillTreeNodeManager\$tree, ilSkillTreeNode\_writeOrderNr(), ilTree\getChilds(), 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 34 of file class.SkillTreeNodeManager.php.
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\__construct().
      
  | 
  protected | 
      
  | 
  protected | 
Definition at line 36 of file class.SkillTreeNodeManager.php.
Referenced by ILIAS\Skill\Node\SkillTreeNodeManager\clipboardCopy(), ILIAS\Skill\Node\SkillTreeNodeManager\insertItemsFromClip(), and ILIAS\Skill\Node\SkillTreeNodeManager\pasteTree().