46                if( !$this->test->getEnableExamview() )
 
   67                                if( $this->test->getShowExamviewPdf() )
 
   89                if ($this->test->getKioskMode())
 
   91                        $this->tpl->setBodyClass(
"kiosk");
 
   92                        $this->tpl->setAddFooter(FALSE);
 
  106                require_once 
'Services/UIComponent/Toolbar/classes/class.ilToolbarGUI.php';
 
  107                require_once 
'Services/UIComponent/Button/classes/class.ilButton.php';
 
  108                require_once 
'Services/UIComponent/Button/classes/class.ilLinkButton.php';
 
  111                $toolbar->setId($toolbarId);
 
  113                $backUrl = $this->
ilCtrl->
getLinkTarget($this->testOutputGUI, $this->test->getListOfQuestionsEnd() ?
 
  114                        'outQuestionSummary' : 
'backFromSummary' 
  118                $button->setCaption(
'btn_previous');
 
  119                $button->setUrl($backUrl);
 
  120                $toolbar->addButtonInstance($button);
 
  122                if( $this->test->getShowExamviewPdf() )
 
  127                        $button->setCaption(
'pdf_export');
 
  128                        $button->setUrl($pdfUrl);
 
  129                        $button->setTarget(
'_blank');
 
  130                        $toolbar->addButtonInstance($button);
 
  138                $button->setPrimary(
true);
 
  139                $button->setCaption(
'btn_next');
 
  140                $button->setUrl($nextUrl);
 
  141                $toolbar->addButtonInstance($button);
 
  148                $results = $this->test->getTestResult(
 
  149                        $this->testSession->getActiveId(), $this->testSession->getPass(), 
false 
  152                require_once 
'class.ilTestEvaluationGUI.php';
 
  154                $testevaluationgui->setContextWithinTestPass(
true);
 
  156                $results_output = $testevaluationgui->getPassListOfAnswers( 
$results,
 
  157                        $this->testSession->getActiveId(), $this->testSession->getPass(),
 
  158                        false, 
false, 
false, 
false,
 
  162                return $results_output;
 
  167                $html = $this->
buildToolbar(
'review_nav_top')->getHTML();
 
  169                $html .= $this->
buildToolbar(
'review_nav_bottom')->getHTML();
 
  178                require_once 
'class.ilTestPDFGenerator.php';
 
  195                require_once 
'Services/Utilities/classes/class.ilUtil.php';
 
  205                $filename .= $inst_id . 
'-' . $this->test->getId();
 
  206                $filename .= 
'-' . $this->testSession->getActiveId() . 
'-';
 
  207                $filename .= $this->testSession->getPass() . 
'.pdf';
 
This class provides processing control methods.
getCmd($a_default_cmd="", $a_safe_commands="")
Determines current get/post command.
getNextClass()
Get next class in the control path from the current class to the target command class.
getLinkTarget(&$a_gui_obj, $a_cmd="", $a_anchor="", $a_asynch=false, $xml_style=true)
Get link target for command using gui object.
setParameter(&$a_obj, $a_parameter, $a_value)
Set parameters that should be passed a form and link of a gui class.
Output class for assessment test evaluation.
Output class for assessment test execution.
const PDF_OUTPUT_DOWNLOAD
static generatePDF($pdf_output, $output_mode, $filename=null)
Class ilTestSubmissionReviewGUI.
buildPdfFilename()
not in use, but we keep the code (no archive for every user at end of test !!)
__construct(ilTestOutputGUI $testOutputGUI, ilObjTest $test, ilTestSession $testSession)
getContentBlockName()
Returns the name of the current content block (depends on the kiosk mode setting)
static getWebspaceDir($mode="filesystem")
get webspace directory
static makeDirParents($a_dir)
Create a new directory and all parent directories.
static removeTrailingPathSeparators($path)
const ILIAS_ABSOLUTE_PATH