ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilLinkTargetObjectExplorerGUI.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2011 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 include_once("./Services/Repository/classes/class.ilRepositorySelectorExplorerGUI.php");
5 
15 {
19  function __construct($a_parent_obj, $a_parent_cmd)
20  {
21  parent::__construct($a_parent_obj, $a_parent_cmd, null, "", "");
22  }
23 
29  function setClickableType($a_val)
30  {
31  $this->clickable_type = $a_val;
32  }
33 
39  function getClickableType()
40  {
41  return $this->clickable_type;
42  }
43 
47  function getNodeOnClick($a_node)
48  {
49  return "il.IntLink.selectLinkTargetObject('".$a_node["type"]."','".$a_node["child"]."'); return(false);";
50  }
51 
58  function isNodeClickable($a_node)
59  {
60  if ($a_node["type"] == $this->getClickableType())
61  {
62  return true;
63  }
64  return false;
65  }
66 
67 }
68 
69 ?>
Internal Link: Repository Item Selector Explorer.
Explorer for selecting repository items.
getNodeOnClick($a_node)
Get onclick attribute.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.