4include_once(
'./Services/Object/classes/class.ilObject2GUI.php');
 
   30        if ($this->id_type == self::WORKSPACE_NODE_ID) {
 
   31            include_once 
"Services/DiskQuota/classes/class.ilDiskQuotaHandler.php";
 
   33                $this->lng->loadLanguageModule(
"file");
 
   35                $this->ctrl->redirect($this, 
"cancel");
 
   39        $this->lng->loadLanguageModule(
"tstv");
 
   41        $ilTabs->setBackTarget(
 
   42            $this->lng->txt(
"back"),
 
   43            $this->ctrl->getLinkTarget($this, 
"cancel")
 
   46        include_once 
"Modules/Test/classes/tables/class.ilTestVerificationTableGUI.php";
 
   48        $this->tpl->setContent(
$table->getHTML());
 
   58        $test_id = $_REQUEST[
"tst_id"];
 
   60            include_once 
"Modules/Test/classes/class.ilObjTest.php";
 
   63            include_once 
"Modules/Test/classes/class.ilObjTestVerification.php";
 
   67                $this->node_id = 
null;
 
   82        $file = $this->
object->getFilePath();
 
   94    public function render($a_return = 
false, $a_url = 
false)
 
  102            $wsp_id = 
$tree->lookupNodeId($this->object->getId());
 
  103            $caption = 
$lng->txt(
"wsp_type_tstv") . 
' "' . $this->
object->getTitle() . 
'"';
 
  106            if (!file_exists($this->object->getFilePath())) {
 
  110                include_once 
"Services/PersonalWorkspace/classes/class.ilWorkspaceAccessHandler.php";
 
  120                    $a_url = $this->
getAccessHandler()->getGotoLink($wsp_id, $this->object->getId());
 
  122                return '<div><a href="' . $a_url . 
'">' . $caption . 
'</a></div>';
 
  124                return '<div>' . $caption . 
' (' . 
$message . 
')</div>';
 
  133        include_once 
"Services/COPage/classes/class.ilPCVerification.php";
 
  138        $ilErr->raiseError($this->lng->txt(
'permission_denied'), 
$ilErr->MESSAGE);
 
  141    public static function _goto($a_target)
 
  143        $id = explode(
"_", $a_target);
 
  145        $_GET[
"baseClass"] = 
"ilsharedresourceGUI";
 
  147        include(
"ilias.php");
 
An exception for terminatinating execution or to throw for unit testing.
static isUploadPossible($a_additional_size=null)
GUI class for test verification.
save()
create new instance and save it
downloadFromPortfolioPage(ilPortfolioPage $a_page)
getType()
Functions that must be overwritten.
render($a_return=false, $a_url=false)
Render content.
create()
List all tests in which current user participated.
static createFromTest(ilObjTest $a_test, $a_user_id)
Import relevant properties from given test.
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)
List all completed tests for current user.
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
if(!file_exists("$old.txt")) if( $old===$new) if(file_exists("$new.txt")) $file