ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Survey invitations repository. More...
Public Member Functions | |
__construct (\ilDBInterface $db=null) | |
Constructor. More... | |
remove (int $survey_id, int $user_id) | |
Remove invitation. More... | |
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 | |
$db | |
Survey invitations repository.
Definition at line 12 of file class.InvitationsDBRepository.php.
ILIAS\Survey\Participants\InvitationsDBRepository::__construct | ( | \ilDBInterface | $db = null | ) |
Constructor.
Definition at line 22 of file class.InvitationsDBRepository.php.
References ILIAS\Survey\Participants\InvitationsDBRepository\$db, and $DIC.
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 57 of file class.InvitationsDBRepository.php.
References ILIAS\Survey\Participants\InvitationsDBRepository\$db.
ILIAS\Survey\Participants\InvitationsDBRepository::getAllForSurvey | ( | int | $survey_id | ) |
Get invitations for survey.
int | $survey_id | Survey ID not object ID! |
Definition at line 77 of file class.InvitationsDBRepository.php.
References ILIAS\Survey\Participants\InvitationsDBRepository\$db.
ILIAS\Survey\Participants\InvitationsDBRepository::getAllForUser | ( | int | $user_id | ) |
Get surveys where user is invited.
int | $user_id | user id |
Definition at line 101 of file class.InvitationsDBRepository.php.
References ILIAS\Survey\Participants\InvitationsDBRepository\$db.
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 38 of file class.InvitationsDBRepository.php.
References ILIAS\Survey\Participants\InvitationsDBRepository\$db.
|
protected |
Definition at line 17 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(), and ILIAS\Survey\Participants\InvitationsDBRepository\remove().