19 declare(strict_types=1);
39 bool $a_multi =
false,
40 ?
object $forwarder =
null 44 $this->
ctrl = $DIC->ctrl();
45 $this->multi_nodes = $a_multi;
46 $this->postvar = $a_postvar;
47 $forwarder_class = (is_null($forwarder))
48 ? ilPropertyFormGUI::class
49 : get_class($forwarder);
51 [$forwarder_class, ilFormPropertyDispatchGUI::class, ilRepositorySelector2InputGUI::class],
54 "selectRepositoryItem",
56 "rep_exp_sel_" . $a_postvar
58 $this->explorer_gui->setSelectMode($a_postvar .
"_sel", $this->multi_nodes);
66 $this->title_modifier = $a_val;
68 $this->explorer_gui->setNodeContentModifier(
function ($a_node) use ($a_val) {
69 return $a_val($a_node[
"child"]);
72 $this->explorer_gui->setNodeContentModifier(
null);
84 if (is_callable(
$c)) {
97 $this->explorer_gui = $explorer;
111 $html = parent::render();
112 $ilCtrl->setParameterByClass(
"ilformpropertydispatchgui",
"postvar", $this->
str(
"postvar"));
116 public function render(
string $a_mode =
"property_form"): string
120 $ret = parent::render($a_mode);
121 $ilCtrl->setParameterByClass(
"ilformpropertydispatchgui",
"postvar", $this->
str(
"postvar"));
setParameterByClass(string $a_class, string $a_parameter, $a_value)
static _lookupObjId(int $ref_id)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static _lookupTitle(int $obj_id)
__construct(Container $dic, ilPlugin $plugin)