Definition at line 5 of file class.ilTestExpressPage.php.
◆ fetchTargetRefIdParameter()
static ilTestExpressPage::fetchTargetRefIdParameter |
( |
| ) |
|
|
staticprivate |
- Parameters
-
- Returns
- mixed
Definition at line 40 of file class.ilTestExpressPage.php.
42 if ($_REQUEST[
'calling_test']) {
43 return $_REQUEST[
'calling_test'];
44 } 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();
14 if ($_REQUEST[
'q_id']) {
15 $q_id = $q_id ? $q_id : (isset($_REQUEST[
'prev_qid']) ? $_REQUEST[
'prev_qid'] : $_REQUEST[
'q_id']);
17 $ilCtrl->setParameterByClass(
'iltestexpresspageobjectgui',
'test_express_mode', 1);
18 $ilCtrl->setParameterByClass(
'iltestexpresspageobjectgui',
'ref_id', $refId);
19 $ilCtrl->setParameterByClass(
'iltestexpresspageobjectgui',
'q_id', $q_id);
21 return $ilCtrl->getLinkTargetByClass(
22 array(
'ilobjtestgui',
'iltestexpresspageobjectgui'),
30 $ilCtrl->setParameterByClass(
'ilobjtestgui',
'test_express_mode', 1);
31 $ilCtrl->setParameterByClass(
'ilobjtestgui',
'ref_id', $refId);
33 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: