|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilBookingParticipant. More...
Collaboration diagram for ilBookingParticipant: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 (integer $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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all participants for a booking pool.
| $a_booking_pool_id |
Definition at line 254 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, $row, ilObjUser\_lookupName(), ilBookingParticipantGUI\PARTICIPANT_VIEW, ilBookingReservation\STATUS_CANCELLED, ilObjBookingPool\TYPE_FIX_SCHEDULE, and ilObjBookingPool\TYPE_NO_SCHEDULE.
Referenced by ilBookingAssignParticipantsTableGUI\getItems(), and ilBookingParticipantsTableGUI\getItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get user data from db for an specific pool id.
| integer | $a_pool_id |
Definition at line 276 of file class.ilBookingParticipant.php.
References $DIC, $ilDB, $res, and $row.
Referenced by ilBookingParticipantsTableGUI\initFilter().
Here is the caller graph for this function:
|
protected |
Returns true if the participant has a reservation for this object.
| $a_booking_object_id | |
| $a_participant_id |
Definition at line 306 of file class.ilBookingParticipant.php.
References ilBookingReservation\getObjectReservationForUser().
Here is the call graph for this function:
|
protected |
Read from DB.
Definition at line 49 of file class.ilBookingParticipant.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
Save booking participant in DB.
Definition at line 67 of file class.ilBookingParticipant.php.
References $query.
Referenced by __construct().
Here is the caller graph for this function:
|
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.