5 include_once(
"./Services/UIComponent/Explorer2/classes/class.ilExplorerSelectInputGUI.php");
6 include_once(
"./Services/Taxonomy/classes/class.ilObjTaxonomy.php");
29 function __construct($a_title, $a_postvar, $a_multi =
false, $form = ilPropertyFormGUI::class)
33 $this->multi_nodes = $a_multi;
34 $this->postvar = $a_postvar;
36 include_once(
"./Services/Repository/classes/class.ilRepositorySelectorExplorerGUI.php");
38 $this->
getExplHandleCmd(), $this,
"selectRepositoryItem",
"root_id",
"rep_exp_sel_".$a_postvar);
41 $this->explorer_gui->setSelectMode($a_postvar.
"_sel", $this->multi_nodes);
45 parent::__construct($a_title, $a_postvar, $this->explorer_gui, $this->multi_nodes);
56 $this->title_modifier = $a_val;
59 $this->explorer_gui->setNodeContentModifier(
function ($a_node) use ($a_val) {
60 return $a_val($a_node[
"child"]);
65 $this->explorer_gui->setNodeContentModifier(null);
100 if ($this->explorer_gui->handleCommand())
111 return $this->explorer_gui;
123 $ilCtrl->setParameterByClass(
"ilformpropertydispatchgui",
"postvar", $this->postvar);
124 $html = parent::getHTML();
125 $ilCtrl->setParameterByClass(
"ilformpropertydispatchgui",
"postvar", $_REQUEST[
"postvar"]);
132 function render($a_mode =
"property_form")
135 $ilCtrl->setParameterByClass(
"ilformpropertydispatchgui",
"postvar", $this->postvar);
136 return parent::render($a_mode);
137 $ilCtrl->setParameterByClass(
"ilformpropertydispatchgui",
"postvar", $_REQUEST[
"postvar"]);
Explorer for selecting repository items.
static _lookupTitle($a_id)
lookup object title
static _lookupObjId($a_id)