ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Stores access codes of anonymous session. More...
Public Member Functions | |
__construct () | |
issetCode (int $survey_id) | |
setCode (int $survey_id, string $code) | |
getCode (int $survey_id) | |
clearCode (int $survey_id) | |
isExternalRaterValidated (int $ref_id) | |
setExternalRaterValidation (int $ref_id, bool $valid) | |
setPageEnter (int $time) | |
getPageEnter () | |
clearPageEnter () | |
setPreviewData (int $survey_id, int $question_id, array $data) | |
getPreviewData (int $survey_id, int $question_id) | |
clearPreviewData (int $survey_id, int $question_id) | |
clearAllPreviewData (int $survey_id) | |
setErrors (array $errors) | |
getErrors () | |
clearErrors () | |
setPostData (array $data) | |
getPostData () | |
clearPostData () | |
Protected Member Functions | |
getAnonymKey (int $survey_id) | |
getPreviewDataKey (int $survey_id) | |
getAllPreviewData (int $survey_id) | |
Protected Attributes | |
const | KEY_BASE = "svy_run_" |
const | KEY_ANONYM = self::KEY_BASE . "anonymous_id_" |
const | KEY_EXTRT = self::KEY_BASE . "extrt_" |
const | KEY_PAGE_ENTER = self::KEY_BASE . "enter_page" |
const | KEY_PREVIEW_DATA = self::KEY_BASE . "preview_data" |
const | KEY_ERRORS = self::KEY_BASE . "errors" |
const | KEY_POST_DATA = self::KEY_BASE . "post_data" |
Stores access codes of anonymous session.
Definition at line 27 of file class.RunSessionRepo.php.
ILIAS\Survey\Execution\RunSessionRepo::__construct | ( | ) |
Definition at line 37 of file class.RunSessionRepo.php.
ILIAS\Survey\Execution\RunSessionRepo::clearAllPreviewData | ( | int | $survey_id | ) |
Definition at line 139 of file class.RunSessionRepo.php.
References ilSession\clear(), and ILIAS\Survey\Execution\RunSessionRepo\getPreviewDataKey().
ILIAS\Survey\Execution\RunSessionRepo::clearCode | ( | int | $survey_id | ) |
Definition at line 68 of file class.RunSessionRepo.php.
References ilSession\clear(), and ILIAS\Survey\Execution\RunSessionRepo\getAnonymKey().
ILIAS\Survey\Execution\RunSessionRepo::clearErrors | ( | ) |
Definition at line 154 of file class.RunSessionRepo.php.
References ilSession\clear().
ILIAS\Survey\Execution\RunSessionRepo::clearPageEnter | ( | ) |
Definition at line 96 of file class.RunSessionRepo.php.
References ilSession\clear().
ILIAS\Survey\Execution\RunSessionRepo::clearPostData | ( | ) |
Definition at line 169 of file class.RunSessionRepo.php.
References ilSession\clear().
ILIAS\Survey\Execution\RunSessionRepo::clearPreviewData | ( | int | $survey_id, |
int | $question_id | ||
) |
Definition at line 130 of file class.RunSessionRepo.php.
References $data, ilSession\get(), ILIAS\Survey\Execution\RunSessionRepo\getPreviewDataKey(), ilSession\has(), and ilSession\set().
|
protected |
Definition at line 113 of file class.RunSessionRepo.php.
References ILIAS\GlobalScreen\get(), ILIAS\Survey\Execution\RunSessionRepo\getPreviewDataKey(), and ilSession\has().
Referenced by ILIAS\Survey\Execution\RunSessionRepo\setPreviewData().
|
protected |
Definition at line 41 of file class.RunSessionRepo.php.
Referenced by ILIAS\Survey\Execution\RunSessionRepo\clearCode(), ILIAS\Survey\Execution\RunSessionRepo\getCode(), ILIAS\Survey\Execution\RunSessionRepo\issetCode(), and ILIAS\Survey\Execution\RunSessionRepo\setCode().
ILIAS\Survey\Execution\RunSessionRepo::getCode | ( | int | $survey_id | ) |
Definition at line 60 of file class.RunSessionRepo.php.
References ILIAS\GlobalScreen\get(), ILIAS\Survey\Execution\RunSessionRepo\getAnonymKey(), and ilSession\has().
Referenced by ILIAS\Survey\Execution\RunManager\initSession().
ILIAS\Survey\Execution\RunSessionRepo::getErrors | ( | ) |
Definition at line 149 of file class.RunSessionRepo.php.
References ILIAS\GlobalScreen\get().
ILIAS\Survey\Execution\RunSessionRepo::getPageEnter | ( | ) |
Definition at line 91 of file class.RunSessionRepo.php.
References ILIAS\GlobalScreen\get().
ILIAS\Survey\Execution\RunSessionRepo::getPostData | ( | ) |
Definition at line 164 of file class.RunSessionRepo.php.
References ILIAS\GlobalScreen\get().
ILIAS\Survey\Execution\RunSessionRepo::getPreviewData | ( | int | $survey_id, |
int | $question_id | ||
) |
Definition at line 121 of file class.RunSessionRepo.php.
References $data, ilSession\get(), ILIAS\Survey\Execution\RunSessionRepo\getPreviewDataKey(), and ilSession\has().
|
protected |
Definition at line 101 of file class.RunSessionRepo.php.
Referenced by ILIAS\Survey\Execution\RunSessionRepo\clearAllPreviewData(), ILIAS\Survey\Execution\RunSessionRepo\clearPreviewData(), ILIAS\Survey\Execution\RunSessionRepo\getAllPreviewData(), ILIAS\Survey\Execution\RunSessionRepo\getPreviewData(), and ILIAS\Survey\Execution\RunSessionRepo\setPreviewData().
ILIAS\Survey\Execution\RunSessionRepo::isExternalRaterValidated | ( | int | $ref_id | ) |
Definition at line 73 of file class.RunSessionRepo.php.
References ilSession\get(), and ilSession\has().
ILIAS\Survey\Execution\RunSessionRepo::issetCode | ( | int | $survey_id | ) |
Definition at line 46 of file class.RunSessionRepo.php.
References ilSession\get(), ILIAS\Survey\Execution\RunSessionRepo\getAnonymKey(), and ilSession\has().
ILIAS\Survey\Execution\RunSessionRepo::setCode | ( | int | $survey_id, |
string | $code | ||
) |
Definition at line 55 of file class.RunSessionRepo.php.
References ILIAS\Survey\Execution\RunSessionRepo\getAnonymKey(), and ilSession\set().
Referenced by ILIAS\Survey\Execution\RunManager\initSession().
ILIAS\Survey\Execution\RunSessionRepo::setErrors | ( | array | $errors | ) |
Definition at line 144 of file class.RunSessionRepo.php.
References ilSession\set().
ILIAS\Survey\Execution\RunSessionRepo::setExternalRaterValidation | ( | int | $ref_id, |
bool | $valid | ||
) |
Definition at line 81 of file class.RunSessionRepo.php.
References ilSession\set().
ILIAS\Survey\Execution\RunSessionRepo::setPageEnter | ( | int | $time | ) |
Definition at line 86 of file class.RunSessionRepo.php.
References ilSession\set().
ILIAS\Survey\Execution\RunSessionRepo::setPostData | ( | array | $data | ) |
Definition at line 159 of file class.RunSessionRepo.php.
References ilSession\set().
ILIAS\Survey\Execution\RunSessionRepo::setPreviewData | ( | int | $survey_id, |
int | $question_id, | ||
array | $data | ||
) |
Definition at line 106 of file class.RunSessionRepo.php.
References $data, ILIAS\Survey\Execution\RunSessionRepo\getAllPreviewData(), ILIAS\Survey\Execution\RunSessionRepo\getPreviewDataKey(), and ilSession\set().
|
protected |
Definition at line 30 of file class.RunSessionRepo.php.
|
protected |
Definition at line 29 of file class.RunSessionRepo.php.
|
protected |
Definition at line 34 of file class.RunSessionRepo.php.
|
protected |
Definition at line 31 of file class.RunSessionRepo.php.
|
protected |
Definition at line 32 of file class.RunSessionRepo.php.
|
protected |
Definition at line 35 of file class.RunSessionRepo.php.
|
protected |
Definition at line 33 of file class.RunSessionRepo.php.