ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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
14
class
ilLinkTargetObjectExplorerGUI
extends
ilRepositorySelectorExplorerGUI
15
{
19
protected
$link_type
;
20
24
public
function
__construct
($a_parent_obj, $a_parent_cmd, $a_link_type)
25
{
26
$this->link_type = $a_link_type;
27
parent::__construct($a_parent_obj, $a_parent_cmd, null,
""
,
""
);
28
}
29
35
public
function
setClickableType
($a_val)
36
{
37
$this->clickable_type = $a_val;
38
}
39
45
public
function
getClickableType
()
46
{
47
return
$this->clickable_type;
48
}
49
53
public
function
getNodeOnClick
($a_node)
54
{
55
return
"il.IntLink.selectLinkTargetObject('"
. $a_node[
"type"
] .
"','"
. $a_node[
"child"
] .
"','"
. $this->link_type .
"'); return(false);"
;
56
}
57
64
public
function
isNodeClickable
($a_node)
65
{
66
if
($a_node[
"type"
] == $this->
getClickableType
()) {
67
return
true
;
68
}
69
return
false
;
70
}
71
}
ilLinkTargetObjectExplorerGUI
Internal Link: Repository Item Selector Explorer.
Definition:
class.ilLinkTargetObjectExplorerGUI.php:14
ilRepositorySelectorExplorerGUI
Explorer for selecting repository items.
Definition:
class.ilRepositorySelectorExplorerGUI.php:18
ilLinkTargetObjectExplorerGUI\isNodeClickable
isNodeClickable($a_node)
Is node clickable?
Definition:
class.ilLinkTargetObjectExplorerGUI.php:64
ilLinkTargetObjectExplorerGUI\$link_type
$link_type
Definition:
class.ilLinkTargetObjectExplorerGUI.php:19
ilLinkTargetObjectExplorerGUI\getNodeOnClick
getNodeOnClick($a_node)
Get onclick attribute.
Definition:
class.ilLinkTargetObjectExplorerGUI.php:53
ilLinkTargetObjectExplorerGUI\setClickableType
setClickableType($a_val)
Set clickable type.
Definition:
class.ilLinkTargetObjectExplorerGUI.php:35
ilLinkTargetObjectExplorerGUI\__construct
__construct($a_parent_obj, $a_parent_cmd, $a_link_type)
Constructor.
Definition:
class.ilLinkTargetObjectExplorerGUI.php:24
ilLinkTargetObjectExplorerGUI\getClickableType
getClickableType()
Get clickable type.
Definition:
class.ilLinkTargetObjectExplorerGUI.php:45
Services
Link
classes
class.ilLinkTargetObjectExplorerGUI.php
Generated on Sat Jan 18 2025 19:01:33 for ILIAS by
1.8.13 (using
Doxyfile
)