5 include_once(
'./Services/Object/classes/class.ilObject2GUI.php');
30 $ilTabs = $DIC[
'ilTabs'];
32 if ($this->id_type == self::WORKSPACE_NODE_ID) {
33 include_once
"Services/DiskQuota/classes/class.ilDiskQuotaHandler.php";
35 $this->lng->loadLanguageModule(
"file");
37 $this->ctrl->redirect($this,
"cancel");
41 $this->lng->loadLanguageModule(
"scov");
43 $ilTabs->setBackTarget(
44 $this->lng->txt(
"back"),
45 $this->ctrl->getLinkTarget($this,
"cancel")
48 include_once
"Modules/ScormAicc/classes/Verification/class.ilSCORMVerificationTableGUI.php";
50 $this->tpl->setContent(
$table->getHTML());
62 $objectId = $_REQUEST[
"lm_id"];
67 $DIC->logger()->root(),
73 $userCertificatePresentation = $userCertificateRepository->fetchActiveCertificateForPresentation(
79 $newObj = $certificateVerificationFileService->
createFile($userCertificatePresentation);
87 $this->node_id = null;
102 $file = $this->
object->getFilePath();
114 public function render($a_return =
false, $a_url =
false)
124 $wsp_id =
$tree->lookupNodeId($this->object->getId());
126 $caption =
$lng->txt(
"wsp_type_scov") .
' "' . $this->
object->getTitle() .
'"';
129 if (!file_exists($this->object->getFilePath())) {
133 include_once
"Services/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php";
143 $a_url = $this->
getAccessHandler()->getGotoLink($wsp_id, $this->object->getId());
145 return '<div><a href="' . $a_url .
'">' . $caption .
'</a></div>';
147 return '<div>' . $caption .
' (' .
$message .
')</div>';
157 include_once
"Services/COPage/classes/class.ilPCVerification.php";
162 $ilErr->raiseError($this->lng->txt(
'permission_denied'),
$ilErr->MESSAGE);
165 public static function _goto($a_target)
167 $id = explode(
"_", $a_target);
169 $_GET[
"baseClass"] =
"ilsharedresourceGUI";
171 include(
"ilias.php");
List all completed learning modules for current user.
New implementation of ilObjectGUI.
static isInPortfolioPage(ilPortfolioPage $a_page, $a_type, $a_id)
getAccessHandler()
Get access handler.
save()
create new instance and save it
downloadFromPortfolioPage(ilPortfolioPage $a_page)
if(!array_key_exists('StateId', $_REQUEST)) $id
Access handler for personal workspace.
createFile(ilUserCertificatePresentation $userCertificatePresentation)
afterSave(ilObject $a_new_object)
Post (successful) object creation hook.
Tree handler for personal workspace.
catch(Exception $e) $message
static isUploadPossible($a_additional_size=null)
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.
render($a_return=false, $a_url=false)
Render content.
create()
List all tests in which current user participated.
if(empty($password)) $table
GUI class for scorm verification.
static deliverFile( $a_file, $a_filename, $a_mime='', $isInline=false, $removeAfterDelivery=false, $a_exit_after=true)
deliver file for download via browser.