Definition at line 5 of file class.ilTestExpressPage.php.
◆ fetchTargetRefIdParameter()
static ilTestExpressPage::fetchTargetRefIdParameter |
( |
| ) |
|
|
staticprivate |
- Parameters
-
- Returns
- mixed
Definition at line 37 of file class.ilTestExpressPage.php.
39 if($_REQUEST[
'calling_test'])
41 return $_REQUEST[
'calling_test'];
43 elseif($_REQUEST[
'test_ref_id'])
45 return $_REQUEST[
'test_ref_id'];
48 return $_REQUEST[
'ref_id'];
◆ getReturnToPageLink()
static ilTestExpressPage::getReturnToPageLink |
( |
|
$q_id = null | ) |
|
|
static |
Definition at line 7 of file class.ilTestExpressPage.php.
References $ilCtrl, and array.
Referenced by assQuestionGUI\addBackTab(), assQuestionGUI\cancelSync(), assQuestionGUI\save(), assQuestionGUI\saveReturn(), assFormulaQuestionGUI\saveReturnFQ(), assFileUploadGUI\setQuestionTabs(), and assQuestionGUI\sync().
11 $q_id = $q_id ? $q_id : $_REQUEST[
'q_id'];
12 $refId = self::fetchTargetRefIdParameter();
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'),
'edit',
'',
false,
false 27 $ilCtrl->setParameterByClass(
'ilobjtestgui',
'test_express_mode', 1);
28 $ilCtrl->setParameterByClass(
'ilobjtestgui',
'ref_id', $refId);
30 return $ilCtrl->getLinkTargetByClass(
'ilobjtestgui',
'showQuestionsPerPage',
'',
false,
false);
Create styles array
The data for the language used.
The documentation for this class was generated from the following file: