ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
4include_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
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.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
Explorer for selecting repository items.