5include_once(
'./Services/Object/classes/class.ilObject2GUI.php');
 
   31        $ilTabs = 
$DIC[
'ilTabs'];
 
   33        if ($this->id_type == self::WORKSPACE_NODE_ID) {
 
   34            include_once 
"Services/DiskQuota/classes/class.ilDiskQuotaHandler.php";
 
   36                $this->lng->loadLanguageModule(
"file");
 
   38                $this->ctrl->redirect($this, 
"cancel");
 
   42        $this->lng->loadLanguageModule(
"crsv");
 
   44        $ilTabs->setBackTarget(
 
   45            $this->lng->txt(
"back"),
 
   46            $this->ctrl->getLinkTarget($this, 
"cancel")
 
   50        $this->tpl->setContent(
$table->getHTML());
 
   62        $objectId = $_REQUEST[
"crs_id"];
 
   67                $DIC->logger()->root(),
 
   73            $userCertificatePresentation = $userCertificateRepository->fetchActiveCertificateForPresentation(
 
   79                $newObj = $certificateVerificationFileService->createFile($userCertificatePresentation);
 
   80            } 
catch (\Exception $exception) {
 
   87                $this->node_id = 
null;
 
  103        $file = $this->
object->getFilePath();
 
  115    public function render($a_return = 
false, $a_url = 
false)
 
  126            $wsp_id = 
$tree->lookupNodeId($this->object->getId());
 
  128            $caption = 
$lng->txt(
"wsp_type_crsv") . 
' "' . $this->
object->getTitle() . 
'"';
 
  131            if (!file_exists($this->object->getFilePath())) {
 
  135                include_once 
"Services/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php";
 
  145                    $a_url = $this->
getAccessHandler()->getGotoLink($wsp_id, $this->object->getId());
 
  147                return '<div><a href="' . $a_url . 
'">' . $caption . 
'</a></div>';
 
  149                return '<div>' . $caption . 
' (' . 
$message . 
')</div>';
 
  160        include_once 
"Services/COPage/classes/class.ilPCVerification.php";
 
  165        $ilErr->raiseError($this->lng->txt(
'permission_denied'), 
$ilErr->MESSAGE);
 
  168    public static function _goto($a_target)
 
  170        $id = explode(
"_", $a_target);
 
  172        $_GET[
"baseClass"] = 
"ilsharedresourceGUI";
 
  174        include(
"ilias.php");
 
An exception for terminatinating execution or to throw for unit testing.
List all completed course for current user.
static isUploadPossible($a_additional_size=null)
GUI class for course verification.
downloadFromPortfolioPage(ilPortfolioPage $a_page)
create()
List all tests in which current user participated.
render($a_return=false, $a_url=false)
Render content.
save()
create new instance and save it
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.
if(!array_key_exists('StateId', $_REQUEST)) $id
catch(Exception $e) $message
if(empty($password)) $table