4 require_once(
'./Services/COPage/classes/class.ilPageObjectGUI.php');
5 require_once(
'./Modules/TestQuestionPool/classes/class.ilAssQuestionPage.php');
39 parent::__construct(
'qpl', $a_id, $a_old_nr);
69 return parent::showPage();
78 $output = preg_replace(
"/src=\"\\.\\//ims",
"src=\"" . ILIAS_HTTP_PATH .
"/",
$output);
91 $this->questionInfoHTML = $a_html;
100 $this->questionActionsHTML = $a_html;
113 if (!empty($this->questionInfoHTML) || !empty($this->questionActionsHTML))
115 $tpl =
new ilTemplate(
'tpl.tst_question_subtitle_blocks.html',
true,
true,
'Modules/TestQuestionPool');
116 $tpl->setVariable(
'QUESTION_INFO',$this->questionInfoHTML);
117 $tpl->setVariable(
'QUESTION_ACTIONS',$this->questionActionsHTML);
118 $a_output = str_replace(
"{{{{{PageTOC}}}}}",
$tpl->get(), $a_output);
122 $a_output = str_replace(
"{{{{{PageTOC}}}}}",
'', $a_output);
$originalPresentationTitle
getOriginalPresentationTitle()
postOutputProcessing($output)
if(!is_dir( $entity_dir)) exit("Fatal Error ([A-Za-z0-9]+)\+" &#(? foreach( $entity_files as $file) $output
isPageContainerToBeRendered()
setEnabledPageFocus($a_enabledpagefocus)
Set Enable page focus.
insertPageToc($a_output)
Replace page toc placeholder with question info and actions.
getPageConfig()
Get page config object.
special template class to simplify handling of ITX/PEAR
setPresentationTitle($a_title="")
__construct($a_id=0, $a_old_nr=0)
Constructor.
setPageConfig($a_val)
Set page config object.
setQuestionActionsHTML($a_html)
Set the HTML of a question actions block below the title.
const TEMP_PRESENTATION_TITLE_PLACEHOLDER
getRenderPageContainer()
Get render page container.
setOriginalPresentationTitle($originalPresentationTitle)
setQuestionInfoHTML($a_html)
Set the HTML of a question info block below the title (number, status, ...)