63 public function getPath($a_startnode,$a_endnode)
65 $this->startnode = $a_startnode;
66 $this->endnode = $a_endnode;
96 $this->hide_leaf = $a_status;
110 $this->useImages = $a_status;
130 $tpl =
new ilTemplate(
'tpl.locator_text_only.html',
true,
true,
"Services/Locator");
140 if($ref_id == ROOT_FOLDER_ID)
142 $title = $this->lng->txt(
'repository');
147 $tpl->touchBlock(
'locator_separator_prefix');
150 $tpl->setCurrentBlock(
'locator_item');
152 $tpl->parseCurrentBlock();
160 include_once
'./Services/Link/classes/class.ilLink.php';
162 $tpl =
new ilTemplate(
'tpl.locator.html',
true,
true,
'Services/Locator');
173 if($ref_id == ROOT_FOLDER_ID)
175 $title = $this->lng->txt(
'repository');
180 $tpl->touchBlock(
'locator_separator_prefix');
184 $tpl->setCurrentBlock(
'locator_img');
186 $tpl->setVariable(
'IMG_ALT',$this->lng->txt(
'obj_'.$type));
187 $tpl->parseCurrentBlock();
189 $tpl->setCurrentBlock(
'locator_item');
192 $tpl->parseCurrentBlock();
206 $path = $this->tree->getPathId($this->endnode,$this->startnode);