4 include_once(
"./Services/Form/classes/class.ilCustomInputGUI.php");
5 include_once(
"./Services/Form/classes/class.ilSubEnabledFormPropertyGUI.php");
6 include_once(
'./Services/UIComponent/Glyph/classes/class.ilGlyphGUI.php');
51 parent::__construct(
$title, $post_var);
52 $tpl->addJavaScript(
'./Modules/DataCollection/js/ilDclTreeSearch.js');
54 $this->title_input->setDisabled(
true);
55 $this->title_input->setInfo(
$lng->txt(
"dcl_ilias_refere nce_info"));
56 $this->title_input->setInlineStyle(
'width: 98%; display:inline-block;');
58 $this->search_input->setDisabled(
false);
59 $this->search_input->setInfo(
$lng->txt(
'dcl_ilias_reference_info'));
60 $this->search_input->setInlineStyle(
'width: 98%; margin-top: 5px;');
73 $tpl =
new ilTemplate(
"tpl.dcl_tree.html",
true,
true,
"Modules/DataCollection");
75 $tpl->setVariable(
"AJAX_LINK",
$ilCtrl->getLinkTargetByClass(
"ildclrecordeditgui",
"searchObjects"));
77 $out = $this->title_input->getToolbarHTML();
79 $out .= $this->search_input->getTableFilterHTML();
80 $out .= $this->hidden_input->getToolbarHTML();
81 $out .=
"<a href='#' id='search_button_" . $this->
getPostVar() .
"'>" . $this->lng->txt(
'search') .
"</a>";
93 parent::setValueByArray($value);
94 include_once
'./Services/Tree/classes/class.ilPathGUI.php';
98 $pathString =
$path->getPath(ROOT_FOLDER_ID, $reference);
101 $this->hidden_input->setValue($reference);
Creates a path for a start and endnode.
if(!array_key_exists('StateId', $_REQUEST)) $id
static get($a_glyph, $a_text="")
Get glyph html.
static _lookupTitle($a_id)
lookup object title
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
static _lookupObjId($a_id)
special template class to simplify handling of ITX/PEAR
This class represents a text property in a property form.