57 $this->questionSummaryData = array();
58 $this->currentSequenceElement = null;
59 $this->disabled =
false;
147 require_once
'Services/UIComponent/Panel/classes/class.ilPanelGUI.php';
151 $panel->setHeading($this->lng->txt(
'list_of_questions'));
160 $tpl =
new ilTemplate(
'tpl.il_as_tst_list_of_questions_short.html',
true,
true,
'Modules/Test');
166 if( strlen($row[
'description']) )
168 $description =
" title=\"{$row['description']}\" ";
178 $row[
'worked_through'] ?
'answered'.$active :
'unanswered'.$active
193 $tpl->setCurrentBlock(
'linked_entry');
194 $tpl->setVariable(
'HREF', $this->
buildLink($row[
'sequence']));
196 $tpl->setVariable(
'NEXTSEQ', $row[
'sequence']);
197 $tpl->setVariable(
'CLASS', $class);
198 $tpl->setVariable(
'ITEM', $title);
199 $tpl->setVariable(
"DESCRIPTION", $description);
200 $tpl->parseCurrentBlock();
205 $tpl->setCurrentBlock(
'item');
218 return $panel->getHTML();
227 $this->ctrl->setParameter(
231 $this->ctrl->setParameter(
237 $this->ctrl->setParameter(
240 $this->ctrl->setParameter(
static prepareFormOutput($a_str, $a_strip=false)
prepares string output for html forms public
This class provides processing control methods.
setQuestionSummaryData($questionSummaryData)
getCurrentSequenceElement()
getCurrentPresentationMode()
setCurrentSequenceElement($currentSequenceElement)
special template class to simplify handling of ITX/PEAR
setCurrentPresentationMode($currentPresentationMode)
const HEADING_STYLE_SUBHEADING
static getInstance()
Get instance.
const PANEL_STYLE_SECONDARY
__construct(ilCtrl $ctrl, ilLanguage $lng)
buildLink($sequenceElement)