Definition at line 5 of file class.ilTestExpressPage.php.
◆ fetchTargetRefIdParameter()
static ilTestExpressPage::fetchTargetRefIdParameter |
( |
| ) |
|
|
staticprivate |
- Parameters
-
- Returns
- mixed
Definition at line 41 of file class.ilTestExpressPage.php.
43 if ($_REQUEST[
'calling_test']) {
44 return $_REQUEST[
'calling_test'];
45 } elseif ($_REQUEST[
'test_ref_id']) {
46 return $_REQUEST[
'test_ref_id'];
49 return $_REQUEST[
'ref_id'];
◆ getReturnToPageLink()
static ilTestExpressPage::getReturnToPageLink |
( |
|
$q_id = null | ) |
|
|
static |
Definition at line 7 of file class.ilTestExpressPage.php.
References $DIC, and $ilCtrl.
Referenced by assQuestionGUI\addBackTab(), assQuestionGUI\cancelSync(), assQuestionGUI\save(), assQuestionGUI\saveReturn(), assFormulaQuestionGUI\saveReturnFQ(), assFileUploadGUI\setQuestionTabs(), and assQuestionGUI\sync().
12 $q_id = $q_id ? $q_id : $_REQUEST[
'q_id'];
13 $refId = self::fetchTargetRefIdParameter();
15 if ($_REQUEST[
'q_id']) {
16 $q_id = $q_id ? $q_id : (isset($_REQUEST[
'prev_qid']) ? $_REQUEST[
'prev_qid'] : $_REQUEST[
'q_id']);
18 $ilCtrl->setParameterByClass(
'iltestexpresspageobjectgui',
'test_express_mode', 1);
19 $ilCtrl->setParameterByClass(
'iltestexpresspageobjectgui',
'ref_id', $refId);
20 $ilCtrl->setParameterByClass(
'iltestexpresspageobjectgui',
'q_id', $q_id);
22 return $ilCtrl->getLinkTargetByClass(
23 array(
'ilobjtestgui',
'iltestexpresspageobjectgui'),
31 $ilCtrl->setParameterByClass(
'ilobjtestgui',
'test_express_mode', 1);
32 $ilCtrl->setParameterByClass(
'ilobjtestgui',
'ref_id', $refId);
34 return $ilCtrl->getLinkTargetByClass(
'ilobjtestgui',
'showQuestionsPerPage',
'',
false,
false);
The documentation for this class was generated from the following file: