26 if ($this->id_type == self::WORKSPACE_NODE_ID) {
28 $this->lng->loadLanguageModule(
"file");
30 $this->ctrl->redirect($this,
"cancel");
34 $this->lng->loadLanguageModule(
"excv");
36 $ilTabs->setBackTarget(
37 $this->lng->txt(
"back"),
38 $this->ctrl->getLinkTarget($this,
"cancel")
42 $this->tpl->setContent($table->getHTML());
54 $objectId = $_REQUEST[
"exc_id"];
59 $DIC->logger()->root(),
65 $userCertificatePresentation = $userCertificateRepository->fetchActiveCertificateForPresentation(
71 $newObj = $certificateVerificationFileService->createFile($userCertificatePresentation);
72 }
catch (\Exception $exception) {
79 $this->node_id =
null;
94 $file = $this->
object->getFilePath();
106 public function render($a_return =
false, $a_url =
false)
115 $wsp_id =
$tree->lookupNodeId($this->object->getId());
117 $caption =
$lng->txt(
"wsp_type_excv") .
' "' . $this->
object->getTitle() .
'"';
120 if (!file_exists($this->object->getFilePath())) {
133 $a_url = $this->
getAccessHandler()->getGotoLink($wsp_id, $this->object->getId());
135 return '<div><a href="' . $a_url .
'">' . $caption .
'</a></div>';
137 return '<div>' . $caption .
' (' .
$message .
')</div>';
151 public static function _goto($a_target)
153 $id = explode(
"_", $a_target);
155 $_GET[
"baseClass"] =
"ilsharedresourceGUI";
156 $_GET[
"wsp_id"] = $id[0];
157 include(
"ilias.php");
An exception for terminatinating execution or to throw for unit testing.
static isUploadPossible($a_additional_size=null)
Exercise exceptions class.
List all completed exercises for current user.
GUI class for exercise verification.
create()
List all exercises in which current user participated.
render($a_return=false, $a_url=false)
Render content.
save()
create new instance and save it
downloadFromPortfolioPage(ilPortfolioPage $a_page)
getType()
Functions that must be overwritten.
New implementation of ilObjectGUI.
getAccessHandler()
Get access handler.
putObjectInTree(ilObject $a_obj, $a_parent_node_id=null)
Add object to tree at given position.
afterSave(ilObject $a_new_object)
Post (successful) object creation hook.
static isInPortfolioPage(ilPortfolioPage $a_page, $a_type, $a_id)
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
static deliverFile( $a_file, $a_filename, $a_mime='', $isInline=false, $removeAfterDelivery=false, $a_exit_after=true)
deliver file for download via browser.
Access handler for personal workspace.
Tree handler for personal workspace.