26 $this->lng->loadLanguageModule(
"excv");
28 $ilTabs->setBackTarget(
29 $this->lng->txt(
"back"),
30 $this->ctrl->getLinkTarget($this,
"cancel")
34 $this->tpl->setContent($table->getHTML());
46 $objectId = $_REQUEST[
"exc_id"];
51 $DIC->logger()->root(),
57 $userCertificatePresentation = $userCertificateRepository->fetchActiveCertificateForPresentation(
63 $newObj = $certificateVerificationFileService->createFile($userCertificatePresentation);
64 }
catch (\Exception $exception) {
71 $this->node_id =
null;
86 $file = $this->
object->getFilePath();
98 public function render($a_return =
false, $a_url =
false)
107 $wsp_id =
$tree->lookupNodeId($this->object->getId());
109 $caption =
$lng->txt(
"wsp_type_excv") .
' "' . $this->
object->getTitle() .
'"';
112 if (!file_exists($this->object->getFilePath())) {
125 $a_url = $this->
getAccessHandler()->getGotoLink($wsp_id, $this->object->getId());
127 return '<div><a href="' . $a_url .
'">' . $caption .
'</a></div>';
129 return '<div>' . $caption .
' (' .
$message .
')</div>';
143 public static function _goto($a_target)
145 $id = explode(
"_", $a_target);
147 $_GET[
"baseClass"] =
"ilsharedresourceGUI";
148 $_GET[
"wsp_id"] = $id[0];
149 include(
"ilias.php");
An exception for terminatinating execution or to throw for unit testing.
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.