|
ILIAS
release_8 Revision v8.24
|
Survey invitations repository. More...
Collaboration diagram for ILIAS\Survey\Participants\InvitationsDBRepository:Public Member Functions | |
| __construct (InternalDataService $data, \ilDBInterface $db) | |
| remove (int $survey_id, int $user_id) | |
| Remove invitation. More... | |
| removeAll (int $survey_id) | |
| add (int $survey_id, int $user_id) | |
| Add invitation. More... | |
| getAllForSurvey (int $survey_id) | |
| Get invitations for survey. More... | |
| getAllForUser (int $user_id) | |
| Get surveys where user is invited. More... | |
Protected Attributes | |
| ilDBInterface | $db |
| InternalDataService | $data |
Survey invitations repository.
Definition at line 30 of file class.InvitationsDBRepository.php.
| ILIAS\Survey\Participants\InvitationsDBRepository::__construct | ( | InternalDataService | $data, |
| \ilDBInterface | $db | ||
| ) |
Definition at line 35 of file class.InvitationsDBRepository.php.
References ILIAS\Survey\Participants\InvitationsDBRepository\$data, and ILIAS\Survey\Participants\InvitationsDBRepository\$db.
| ILIAS\Survey\Participants\InvitationsDBRepository::add | ( | int | $survey_id, |
| int | $user_id | ||
| ) |
Add invitation.
| int | $survey_id | Survey ID not object ID! |
| int | $user_id |
Definition at line 81 of file class.InvitationsDBRepository.php.
References ILIAS\Survey\Participants\InvitationsDBRepository\$db, and ilDBInterface\replace().
Here is the call graph for this function:| ILIAS\Survey\Participants\InvitationsDBRepository::getAllForSurvey | ( | int | $survey_id | ) |
Get invitations for survey.
| int | $survey_id | Survey ID not object ID! |
Definition at line 101 of file class.InvitationsDBRepository.php.
References ILIAS\Survey\Participants\InvitationsDBRepository\$db, ilDBInterface\fetchAssoc(), ILIAS\Repository\int(), and ilDBInterface\queryF().
Here is the call graph for this function:| ILIAS\Survey\Participants\InvitationsDBRepository::getAllForUser | ( | int | $user_id | ) |
Get surveys where user is invited.
| int | $user_id | user id |
Definition at line 124 of file class.InvitationsDBRepository.php.
References ILIAS\Survey\Participants\InvitationsDBRepository\$db, ilDBInterface\fetchAssoc(), ILIAS\Repository\int(), and ilDBInterface\queryF().
Here is the call graph for this function:| ILIAS\Survey\Participants\InvitationsDBRepository::remove | ( | int | $survey_id, |
| int | $user_id | ||
| ) |
Remove invitation.
| int | $survey_id | Survey ID not object ID! |
| int | $user_id |
Definition at line 50 of file class.InvitationsDBRepository.php.
References ILIAS\Survey\Participants\InvitationsDBRepository\$db, and ilDBInterface\manipulateF().
Here is the call graph for this function:| ILIAS\Survey\Participants\InvitationsDBRepository::removeAll | ( | int | $survey_id | ) |
Definition at line 62 of file class.InvitationsDBRepository.php.
References ILIAS\Survey\Participants\InvitationsDBRepository\$db, and ilDBInterface\manipulateF().
Here is the call graph for this function:
|
protected |
Definition at line 33 of file class.InvitationsDBRepository.php.
Referenced by ILIAS\Survey\Participants\InvitationsDBRepository\__construct().
|
protected |
Definition at line 32 of file class.InvitationsDBRepository.php.
Referenced by ILIAS\Survey\Participants\InvitationsDBRepository\__construct(), ILIAS\Survey\Participants\InvitationsDBRepository\add(), ILIAS\Survey\Participants\InvitationsDBRepository\getAllForSurvey(), ILIAS\Survey\Participants\InvitationsDBRepository\getAllForUser(), ILIAS\Survey\Participants\InvitationsDBRepository\remove(), and ILIAS\Survey\Participants\InvitationsDBRepository\removeAll().