ILIAS
trunk Revision v11.0_alpha-1861-g09f3d197f78
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (int $a_user_id, int $a_booking_pool_id) | |
getIsNew () | |
Static Public Member Functions | |
static | getAssignableParticipants (int $a_bp_object_id) |
Get participants who can not have a reservation for this booking pool object id. More... | |
static | getList (int $a_booking_pool, ?array $a_filter=null, ?int $a_object_id=null) |
static | getBookingPoolParticipants (int $a_booking_pool_id) |
Get all participants for a booking pool. More... | |
static | getUserFilter (int $a_pool_id) |
Get user data from db for an specific pool id. More... | |
Protected Member Functions | |
read () | |
save () | |
isParticipantAssigned (int $a_booking_object_id, int $a_participant_id) | |
Returns true if the participant has a reservation for this object. More... | |
Protected Attributes | |
ILIAS BookingManager InternalDomainService | $domain |
ilLanguage | $lng |
ilDBInterface | $db |
int | $participant_id |
int | $booking_pool_id |
bool | $is_new |
ilObjUser | $user |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 23 of file class.ilBookingParticipant.php.
ilBookingParticipant::__construct | ( | int | $a_user_id, |
int | $a_booking_pool_id | ||
) |
Definition at line 33 of file class.ilBookingParticipant.php.
References $DIC, ilObject\_exists(), ILIAS\Repository\lng(), read(), save(), and ILIAS\Repository\user().
|
static |
Get participants who can not have a reservation for this booking pool object id.
int | $a_bp_object_id | booking pool object |
Definition at line 102 of file class.ilBookingParticipant.php.
References $res, ilObjUser\_lookupName(), ilBookingReservation\getMembersWithoutReservation(), ILIAS\Repository\int(), and ilBookingReservation\isBookingPoolLimitReachedByUser().
Referenced by ilBookingAssignParticipantsTableGUI\getItems().
|
static |
ilBookingParticipant::getIsNew | ( | ) |
|
static |
Definition at line 138 of file class.ilBookingParticipant.php.
References $DIC, $ilDB, $res, ilObjUser\_lookupName(), and ilBookingReservation\STATUS_CANCELLED.
Referenced by ilBookingAssignParticipantsTableGUI\getItems(), and ilBookingParticipantsTableGUI\getItems().
|
static |
Get user data from db for an specific pool id.
Definition at line 242 of file class.ilBookingParticipant.php.
References $DIC, $ilDB, $res, and ANONYMOUS_USER_ID.
Referenced by ilBookingParticipantsTableGUI\initFilter().
|
protected |
Returns true if the participant has a reservation for this object.
Definition at line 270 of file class.ilBookingParticipant.php.
References ilBookingReservation\getObjectReservationForUser().
|
protected |
Definition at line 63 of file class.ilBookingParticipant.php.
References null.
Referenced by __construct().
|
protected |
Definition at line 77 of file class.ilBookingParticipant.php.
References ILIAS\Repository\user().
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilBookingParticipant.php.
|
protected |
Definition at line 27 of file class.ilBookingParticipant.php.
|
protected |
Definition at line 25 of file class.ilBookingParticipant.php.
|
protected |
Definition at line 30 of file class.ilBookingParticipant.php.
Referenced by getIsNew().
|
protected |
Definition at line 26 of file class.ilBookingParticipant.php.
|
protected |
Definition at line 28 of file class.ilBookingParticipant.php.
|
protected |
Definition at line 31 of file class.ilBookingParticipant.php.