5 include_once(
'./Services/Object/classes/class.ilObject2GUI.php');
31 if ($this->id_type == self::WORKSPACE_NODE_ID) {
32 include_once
"Services/DiskQuota/classes/class.ilDiskQuotaHandler.php";
34 $this->lng->loadLanguageModule(
"file");
36 $this->ctrl->redirect($this,
"cancel");
40 $this->lng->loadLanguageModule(
"crsv");
42 $ilTabs->setBackTarget(
43 $this->lng->txt(
"back"),
44 $this->ctrl->getLinkTarget($this,
"cancel")
47 include_once
"Modules/Course/classes/Verification/class.ilCourseVerificationTableGUI.php";
49 $this->tpl->setContent(
$table->getHTML());
59 $course_id = $_REQUEST[
"crs_id"];
61 include_once
"Modules/Course/classes/class.ilObjCourse.php";
64 include_once
"Modules/Course/classes/Verification/class.ilObjCourseVerification.php";
68 $this->node_id = null;
83 $file = $this->
object->getFilePath();
95 public function render($a_return =
false, $a_url =
false)
103 $wsp_id =
$tree->lookupNodeId($this->
object->getId());
105 $caption = $lng->txt(
"wsp_type_crsv") .
' "' . $this->
object->getTitle() .
'"';
108 if (!file_exists($this->
object->getFilePath())) {
110 $message = $lng->txt(
"url_not_found");
112 include_once
"Services/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php";
116 $message = $lng->txt(
"permission_denied");
124 return '<div><a href="' . $a_url .
'">' . $caption .
'</a></div>';
126 return '<div>' . $caption .
' (' .
$message .
')</div>';
135 include_once
"Services/COPage/classes/class.ilPCVerification.php";
140 $ilErr->raiseError($this->lng->txt(
'permission_denied'), $ilErr->MESSAGE);
143 public static function _goto($a_target)
145 $id = explode(
"_", $a_target);
147 $_GET[
"baseClass"] =
"ilsharedresourceGUI";
149 include(
"ilias.php");
static createFromCourse(ilObjCourse $a_course, $a_user_id)
Import relevant properties from given course.
New implementation of ilObjectGUI.
List all completed course for current user.
static isInPortfolioPage(ilPortfolioPage $a_page, $a_type, $a_id)
getAccessHandler()
Get access handler.
create()
List all tests in which current user participated.
if(!array_key_exists('StateId', $_REQUEST)) $id
Access handler for personal workspace.
afterSave(ilObject $a_new_object)
Post (successful) object creation hook.
Tree handler for personal workspace.
render($a_return=false, $a_url=false)
Render content.
GUI class for course verification.
catch(Exception $e) $message
static isUploadPossible($a_additional_size=null)
downloadFromPortfolioPage(ilPortfolioPage $a_page)
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
putObjectInTree(ilObject $a_obj, $a_parent_node_id=null)
Add object to tree at given position.
save()
create new instance and save it
Create new PHPExcel object
obj_idprivate
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file
if(empty($password)) $table
static deliverFile( $a_file, $a_filename, $a_mime='', $isInline=false, $removeAfterDelivery=false, $a_exit_after=true)
deliver file for download via browser.