|
ILIAS
release_8 Revision v8.24
|
Survey settings db repository. More...
Collaboration diagram for ILIAS\Survey\Settings\SettingsDBRepository:Public Member Functions | |
| __construct (InternalDataService $data, \ilDBInterface $db) | |
| hasEnded (array $survey_ids) | |
| Check if surveys have ended. More... | |
| getObjIdsForSurveyIds (array $survey_ids) | |
| getAccessSettings (array $survey_ids) | |
Protected Member Functions | |
| toUnixTS (string $date) | |
| Unix time from survey date. More... | |
Protected Attributes | |
| ilDBInterface | $db |
| SettingsFactory | $set_factory |
Survey settings db repository.
This should wrap all svy_svy calls in the future.
Definition at line 30 of file SettingsDBRepository.php.
| ILIAS\Survey\Settings\SettingsDBRepository::__construct | ( | InternalDataService | $data, |
| \ilDBInterface | $db | ||
| ) |
Definition at line 35 of file SettingsDBRepository.php.
References $data, and ILIAS\Survey\Settings\SettingsDBRepository\$db.
| ILIAS\Survey\Settings\SettingsDBRepository::getAccessSettings | ( | array | $survey_ids | ) |
| int[] | $survey_ids |
Definition at line 105 of file SettingsDBRepository.php.
References ILIAS\LTI\ToolProvider\$settings, and ILIAS\Repository\int().
Here is the call graph for this function:| ILIAS\Survey\Settings\SettingsDBRepository::getObjIdsForSurveyIds | ( | array | $survey_ids | ) |
| int[] | $survey_ids |
Definition at line 69 of file SettingsDBRepository.php.
References ILIAS\Repository\int().
Here is the call graph for this function:| ILIAS\Survey\Settings\SettingsDBRepository::hasEnded | ( | array | $survey_ids | ) |
Check if surveys have ended.
| int[] | $survey_ids | survey IDs |
Definition at line 48 of file SettingsDBRepository.php.
References ILIAS\Survey\Settings\SettingsDBRepository\$db, ilDBInterface\fetchAssoc(), ilDBInterface\in(), ILIAS\Repository\int(), ilDBInterface\queryF(), and ILIAS\Survey\Settings\SettingsDBRepository\toUnixTS().
Here is the call graph for this function:
|
protected |
Unix time from survey date.
| string |
Definition at line 92 of file SettingsDBRepository.php.
Referenced by ILIAS\Survey\Settings\SettingsDBRepository\hasEnded().
Here is the caller graph for this function:
|
protected |
Definition at line 32 of file SettingsDBRepository.php.
Referenced by ILIAS\Survey\Settings\SettingsDBRepository\__construct(), and ILIAS\Survey\Settings\SettingsDBRepository\hasEnded().
|
protected |
Definition at line 33 of file SettingsDBRepository.php.