ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilBookingParticipant. More...
Public Member Functions | |
__construct ($a_user_id, $a_booking_pool_id) | |
ilBookingParticipant constructor. More... | |
getIsNew () | |
Static Public Member Functions | |
static | getAssignableParticipants ($a_bp_object_id) |
Get participants who can not have a reservation for this booking pool object id. More... | |
static | getList ($a_booking_pool, array $a_filter=null, $a_object_id=null) |
static | getBookingPoolParticipants (int $a_booking_pool_id) |
Get all participants for a booking pool. More... | |
static | getUserFilter ($a_pool_id) |
Get user data from db for an specific pool id. More... | |
Protected Member Functions | |
read () | |
Read from DB. More... | |
save () | |
Save booking participant in DB. More... | |
isParticipantAssigned ($a_booking_object_id, $a_participant_id) | |
Returns true if the participant has a reservation for this object. More... | |
Protected Attributes | |
$lng | |
$db | |
$participant_id | |
$booking_pool_id | |
$is_new | |
Class ilBookingParticipant.
Definition at line 9 of file class.ilBookingParticipant.php.
ilBookingParticipant::__construct | ( | $a_user_id, | |
$a_booking_pool_id | |||
) |
ilBookingParticipant constructor.
$a_user_id | integer |
$a_booking_pool_id | integer |
Definition at line 22 of file class.ilBookingParticipant.php.
References $DIC, ilObject\_exists(), read(), and save().
|
static |
Get participants who can not have a reservation for this booking pool object id.
integer | $a_bp_object_id | booking pool object |
Definition at line 96 of file class.ilBookingParticipant.php.
References $index, $name, $res, ilObjUser\_lookupName(), ilBookingReservation\getMembersWithoutReservation(), and ilBookingReservation\isBookingPoolLimitReachedByUser().
Referenced by ilBookingAssignParticipantsTableGUI\getItems().
|
static |
Get all participants for a booking pool.
int | $a_booking_pool_id |
Definition at line 256 of file class.ilBookingParticipant.php.
ilBookingParticipant::getIsNew | ( | ) |
Definition at line 85 of file class.ilBookingParticipant.php.
References $is_new.
|
static |
Definition at line 133 of file class.ilBookingParticipant.php.
References $DIC, $ilDB, $index, $lng, $name, $query, $res, ilObjUser\_lookupName(), ilBookingParticipantGUI\PARTICIPANT_VIEW, ilBookingReservation\STATUS_CANCELLED, ilObjBookingPool\TYPE_FIX_SCHEDULE, and ilObjBookingPool\TYPE_NO_SCHEDULE.
Referenced by ilBookingAssignParticipantsTableGUI\getItems(), and ilBookingParticipantsTableGUI\getItems().
|
static |
Get user data from db for an specific pool id.
integer | $a_pool_id |
Definition at line 278 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.
$a_booking_object_id | |
$a_participant_id |
Definition at line 308 of file class.ilBookingParticipant.php.
References ilBookingReservation\getObjectReservationForUser().
|
protected |
Read from DB.
Definition at line 49 of file class.ilBookingParticipant.php.
References $query.
Referenced by __construct().
|
protected |
Save booking participant in DB.
Definition at line 67 of file class.ilBookingParticipant.php.
References $query.
Referenced by __construct().
|
protected |
Definition at line 14 of file class.ilBookingParticipant.php.
|
protected |
Definition at line 12 of file class.ilBookingParticipant.php.
|
protected |
Definition at line 15 of file class.ilBookingParticipant.php.
Referenced by getIsNew().
|
protected |
Definition at line 11 of file class.ilBookingParticipant.php.
Referenced by getList().
|
protected |
Definition at line 13 of file class.ilBookingParticipant.php.