ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilBookmarkMoveExplorerGUI.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once("./Services/Bookmarks/classes/class.ilBookmarkExplorerGUI.php");
5 
15 {
16 
20  public function __construct($a_parent_obj, $a_parent_cmd, $a_user_id = 0)
21  {
22  global $DIC;
23 
24  parent::__construct($a_parent_obj, $a_parent_cmd, $a_user_id);
25  $this->ctrl = $DIC->ctrl();
26  }
27 
28 
35  public function isNodeHighlighted($a_node)
36  {
37  return false;
38  }
39 
46  public function getNodeHref($a_node)
47  {
49 
50  switch ($a_node["type"]) {
51  // bookmark folder
52  case "bmf":
53  $ilCtrl->setParameterByClass("ilbookmarkadministrationgui", "bmfmv_id", $a_node["child"]);
54  $ret = $ilCtrl->getLinkTargetByClass("ilbookmarkadministrationgui", "confirmedMove");
55  $ilCtrl->setParameterByClass("ilbookmarkadministrationgui", "bmfmv_id", "");
56  return $ret;
57  break;
58  }
59  }
60 }
global $DIC
Definition: saml.php:7
__construct($a_parent_obj, $a_parent_cmd, $a_user_id=0)
Constructor.
Bookmark explorer GUI class.
global $ilCtrl
Definition: ilias.php:18
isNodeHighlighted($a_node)
Is node highlighted?
$ret
Definition: parser.php:6
getNodeHref($a_node)
Get href for node.