| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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 ILIAS\Survey\Settings\SettingsDBRepository\$db, and ILIAS\Survey\InternalDataService\settings().
 Here is the call graph for this function:| ILIAS\Survey\Settings\SettingsDBRepository::getAccessSettings | ( | array | $survey_ids | ) | 
| int[] | $survey_ids | 
Definition at line 105 of file SettingsDBRepository.php.
References ILIAS\Survey\Settings\SettingsDBRepository\$db, ILIAS\LTI\ToolProvider\$settings, ILIAS\Repository\int(), ilDBInterface\queryF(), and ILIAS\Survey\Settings\SettingsDBRepository\toUnixTS().
 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\Survey\Settings\SettingsDBRepository\$db, ILIAS\Repository\int(), and ilDBInterface\queryF().
 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, 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\getAccessSettings(), and 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(), ILIAS\Survey\Settings\SettingsDBRepository\getAccessSettings(), ILIAS\Survey\Settings\SettingsDBRepository\getObjIdsForSurveyIds(), and ILIAS\Survey\Settings\SettingsDBRepository\hasEnded().
      
  | 
  protected | 
Definition at line 33 of file SettingsDBRepository.php.