48 $tpl->addJavaScript(
'./Modules/DataCollection/js/ilDclTreeSearch.js');
50 $this->title_input->setDisabled(
true);
51 $this->title_input->setInfo(
$lng->txt(
"dcl_ilias_refere nce_info"));
52 $this->title_input->setInlineStyle(
'width: 98%; display:inline-block;');
54 $this->search_input->setDisabled(
false);
55 $this->search_input->setInfo(
$lng->txt(
'dcl_ilias_reference_info'));
56 $this->search_input->setInlineStyle(
'width: 98%; margin-top: 5px;');
69 $tpl =
new ilTemplate(
"tpl.dcl_tree.html",
true,
true,
"Modules/DataCollection");
71 $tpl->setVariable(
"AJAX_LINK",
$ilCtrl->getLinkTargetByClass(
"ildclrecordeditgui",
"searchObjects"));
73 $out = $this->title_input->getToolbarHTML();
75 $out .= $this->search_input->getTableFilterHTML();
76 $out .= $this->hidden_input->getToolbarHTML();
77 $out .=
"<a href='#' id='search_button_" . $this->
getPostVar() .
"'>" . $this->lng->txt(
'search') .
"</a>";
89 parent::setValueByArray($value);
93 $pathString = $path->getPath(ROOT_FOLDER_ID, $reference);
96 $this->hidden_input->setValue($reference);
Creates a path for a start and endnode.
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
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)
__construct(Container $dic, ilPlugin $plugin)