5 include_once (
'./Services/Object/classes/class.ilObject2GUI.php');
31 $this->lng->loadLanguageModule(
"tstv");
33 $ilTabs->setBackTarget($this->lng->txt(
"back"),
34 $this->ctrl->getLinkTarget($this,
"cancel"));
36 include_once
"Modules/Test/classes/tables/class.ilTestVerificationTableGUI.php";
38 $this->tpl->setContent($table->getHTML());
51 include_once
"Modules/Test/classes/class.ilObjTest.php";
54 include_once
"Modules/Test/classes/class.ilObjTestVerification.php";
59 $this->node_id = null;
91 public function render($a_return =
false, $a_url =
false)
102 $wsp_id =
$tree->lookupNodeId($this->object->getId());
104 $caption = $this->
object->getTitle();
107 if(!file_exists($this->object->getFilePath()))
110 $message =
$lng->txt(
"url_not_found");
114 include_once
"Services/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php";
119 $message =
$lng->txt(
"permission_denied");
127 $a_url = $this->
getAccessHandler()->getGotoLink($wsp_id, $this->object->getId());
129 return '<div><a href="'.$a_url.
'">'.$caption.
'</a></div>';
133 return '<div>'.$caption.
' ('.$message.
')</div>';
142 include_once
"Services/COPage/classes/class.ilPCVerification.php";
148 $ilErr->raiseError($this->lng->txt(
'permission_denied'),$ilErr->MESSAGE);
153 $id = explode(
"_", $a_target);
155 $_GET[
"baseClass"] =
"ilsharedresourceGUI";
156 $_GET[
"wsp_id"] = $id[0];
157 include(
"ilias.php");