24 include_once(
"./Services/Table/interfaces/interface.ilTableFilterItem.php");
25 include_once(
"./Services/Form/classes/class.ilFormPropertyGUI.php");
67 $this->value = $a_value;
97 $this->select_text = $a_val;
107 return $this->select_text;
137 $this->clickable_types = $a_types;
147 return $this->clickable_types;
164 $this->
setAlert($lng->txt(
"msg_input_is_required"));
178 include_once
'Services/Search/classes/class.ilSearchRootSelector.php';
179 $ilCtrl->setParameter($this,
"postvar", $this->
getPostVar());
184 $exp->
setExpand(
$_GET[
"search_root_expand"] ?
$_GET[
"search_root_expand"] : $tree->readRootId());
185 $exp->setExpandTarget($ilCtrl->getLinkTarget($this,
'showRepositorySelection'));
186 $exp->setTargetClass(get_class($this));
187 $exp->setCmd(
'selectRepositoryItem');
192 $tpl->setContent($exp->getOutput());
202 $anchor = $ilUser->prefs[
"screen_reader_optimization"]
209 $ilCtrl->returnToParent($this, $anchor);
219 $anchor = $ilUser->prefs[
"screen_reader_optimization"]
226 $ilCtrl->returnToParent($this, $anchor);
232 function render($a_mode =
"property_form")
236 $tpl =
new ilTemplate(
"tpl.prop_rep_select.html",
true,
true,
"Services/Form");
242 $tpl->setVariable(
"TXT_RESET", $lng->txt(
"reset"));
245 case "property_form":
246 $parent_gui =
"ilpropertyformgui";
250 $parent_gui = get_class($this->
getParent());
254 $ilCtrl->setParameterByClass(
"ilrepositoryselectorinputgui",
256 $tpl->setVariable(
"HREF_SELECT",
257 $ilCtrl->getLinkTargetByClass(array($parent_gui,
"ilformpropertydispatchgui",
"ilrepositoryselectorinputgui"),
258 "showRepositorySelection"));
259 $tpl->setVariable(
"HREF_RESET",
260 $ilCtrl->getLinkTargetByClass(array($parent_gui,
"ilformpropertydispatchgui",
"ilrepositoryselectorinputgui"),
265 $tpl->setVariable(
"TXT_ITEM",
266 $ilObjDataCache->lookupTitle($ilObjDataCache->lookupObjId($this->getValue())));
270 $nd = $tree->getNodeData(ROOT_FOLDER_ID);
274 $title = $lng->txt(
"repository");
291 $a_tpl->setCurrentBlock(
"prop_generic");
292 $a_tpl->setVariable(
"PROP_GENERIC", $this->
render());
293 $a_tpl->parseCurrentBlock();
301 $html = $this->
render(
"table_filter");