24 include_once(
"./Services/Table/interfaces/interface.ilTableFilterItem.php");
25 include_once(
"./Services/Form/classes/class.ilFormPropertyGUI.php");
54 parent::__construct($a_title, $a_postvar);
68 $this->value = $a_value;
98 $this->select_text = $a_val;
108 return $this->select_text;
138 $this->clickable_types = $a_types;
148 return $this->clickable_types;
165 $this->
setAlert($lng->txt(
"msg_input_is_required"));
179 include_once
'Services/Repository/classes/class.ilRepositorySelectorExplorerGUI.php';
180 $ilCtrl->setParameter($this,
"postvar", $this->
getPostVar());
185 $this,
"selectRepositoryItem",
"root_id");
191 $exp->setPathOpen($this->
getValue());
195 if ($exp->handleCommand())
200 $tpl->setContent($exp->getHTML());
210 $anchor = $ilUser->prefs[
"screen_reader_optimization"]
217 $ilCtrl->returnToParent($this, $anchor);
227 $anchor = $ilUser->prefs[
"screen_reader_optimization"]
234 $ilCtrl->returnToParent($this, $anchor);
240 function render($a_mode =
"property_form")
244 $tpl =
new ilTemplate(
"tpl.prop_rep_select.html",
true,
true,
"Services/Form");
250 $tpl->setVariable(
"TXT_RESET", $lng->txt(
"reset"));
253 case "property_form":
254 $parent_gui =
"ilpropertyformgui";
258 $parent_gui = get_class($this->
getParent());
262 $ilCtrl->setParameterByClass(
"ilrepositoryselectorinputgui",
264 $tpl->setVariable(
"HREF_SELECT",
265 $ilCtrl->getLinkTargetByClass(
array($parent_gui,
"ilformpropertydispatchgui",
"ilrepositoryselectorinputgui"),
266 "showRepositorySelection"));
267 $tpl->setVariable(
"HREF_RESET",
268 $ilCtrl->getLinkTargetByClass(
array($parent_gui,
"ilformpropertydispatchgui",
"ilrepositoryselectorinputgui"),
273 $tpl->setVariable(
"TXT_ITEM",
274 $ilObjDataCache->lookupTitle($ilObjDataCache->lookupObjId($this->getValue())));
278 $nd = $tree->getNodeData(ROOT_FOLDER_ID);
282 $title = $lng->txt(
"repository");
299 $a_tpl->setCurrentBlock(
"prop_generic");
300 $a_tpl->setVariable(
"PROP_GENERIC", $this->
render());
301 $a_tpl->parseCurrentBlock();
324 return $tree->getParentId($this->
getValue());
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
Interface for property form input GUI classes that can be used in table filters.
Explorer for selecting repository items.
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
special template class to simplify handling of ITX/PEAR
static stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
Create styles array
The data for the language used.
static _lookupType($a_id, $a_reference=false)
lookup object type