4include_once
"./Services/Repository/classes/class.ilRepositorySelectorExplorerGUI.php";
31 $a_selection_gui =
null,
32 $a_selection_cmd =
"add",
33 $a_selection_par =
"source_id"
54 global $ilAccess,
$tree;
56 if (!$ilAccess->checkAccess(
'read',
'', $a_node[
"child"])) {
60 if (
$tree->getParentId($a_node[
"child"]) == $this->getRefId()) {
75 if (!parent::isNodeClickable($a_node)) {
79 if ($a_node[
"child"] == $this->
getRefId()) {
95 $this->ref_id = $a_ref_id;
101 $this->highlighted_parent =
$tree->getParentId($a_ref_id);
124 if ($this->highlighted_parent == $a_node[
"child"]) {
128 return parent::isNodeHighlighted($a_node);
An exception for terminatinating execution or to throw for unit testing.
isNodeHighlighted($a_node)
Is node highlighted?
setRefId($a_ref_id)
set ref id of target object
isNodeVisible($a_node)
Is node visible.
__construct( $a_parent_obj, $a_parent_cmd, $a_selection_gui=null, $a_selection_cmd="add", $a_selection_par="source_id")
Construct.
getRefId()
get ref id of target object
isNodeClickable($a_node)
Is node clickable?
static _lookupType($a_id, $a_reference=false)
lookup object type
Explorer for selecting repository items.
getTypeWhiteList()
Get type white list.