24 include_once(
"./Services/Table/interfaces/interface.ilTableFilterItem.php");
25 include_once(
"./Services/Form/classes/class.ilFormPropertyGUI.php");
74 $this->lng = $DIC->language();
75 $this->tpl = $DIC[
"tpl"];
76 $this->ctrl = $DIC->ctrl();
77 $this->tree = $DIC->repositoryTree();
78 $this->
user = $DIC->user();
79 $this->obj_data_cache = $DIC[
"ilObjDataCache"];
80 $lng = $DIC->language();
82 parent::__construct($a_title, $a_postvar);
96 $this->value = $a_value;
126 $this->select_text = $a_val;
136 return $this->select_text;
166 $this->clickable_types = $a_types;
176 return $this->clickable_types;
210 include_once
'Services/Repository/classes/class.ilRepositorySelectorExplorerGUI.php';
217 "showRepositorySelection",
219 "selectRepositoryItem",
226 $exp->setPathOpen($this->
getValue());
230 if ($exp->handleCommand()) {
234 $tpl->setContent($exp->getHTML());
245 $anchor =
$ilUser->prefs[
"screen_reader_optimization"]
252 $ilCtrl->returnToParent($this, $anchor);
263 $anchor =
$ilUser->prefs[
"screen_reader_optimization"]
270 $ilCtrl->returnToParent($this, $anchor);
276 public function render($a_mode =
"property_form")
283 $tpl =
new ilTemplate(
"tpl.prop_rep_select.html",
true,
true,
"Services/Form");
289 $tpl->setVariable(
"TXT_RESET",
$lng->txt(
"reset"));
291 case "property_form":
292 $parent_gui =
"ilpropertyformgui";
296 $parent_gui = get_class($this->
getParent());
301 "ilrepositoryselectorinputgui",
308 array($parent_gui,
"ilformpropertydispatchgui",
"ilrepositoryselectorinputgui"),
309 "showRepositorySelection" 315 array($parent_gui,
"ilformpropertydispatchgui",
"ilrepositoryselectorinputgui"),
323 $ilObjDataCache->lookupTitle($ilObjDataCache->lookupObjId($this->getValue()))
326 $nd =
$tree->getNodeData(ROOT_FOLDER_ID);
345 $a_tpl->setCurrentBlock(
"prop_generic");
346 $a_tpl->setVariable(
"PROP_GENERIC", $this->
render());
347 $a_tpl->parseCurrentBlock();
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