ILIAS
Release_5_0_x_branch Revision 61816
|
Description of class. More...
Static Public Member Functions | |
static | bookAppointment ($a_usr_id, $a_app_id) |
Book an appointment. | |
static | cancelBooking ($a_usr_id, $a_app_id, $a_send_notification=true) |
Cancel a booking. | |
static | lookupManagedUsers ($a_usr_id) |
Lookup managed users. |
Description of class.
Definition at line 10 of file class.ilConsultationHourUtils.php.
|
static |
Book an appointment.
All checks (assignment possible, max booking) must be done before
type | $a_usr_id | |
type | $a_app_id |
Definition at line 20 of file class.ilConsultationHourUtils.php.
References $lng, ilLanguageFactory\_getLanguage(), ilCalendarCategoryAssignments\addAssignment(), ilBookingEntry\book(), ilCalendarUtil\initDefaultCalendarByType(), and ilCalendarCategory\TYPE_CH.
Referenced by ilConsultationHoursGUI\assignUsersToAppointment(), ilConsultationHoursGUI\assignUsersToGroup(), and ilCalendarAppointmentGUI\bookconfirmed().
|
static |
Cancel a booking.
type | $a_usr_id | |
type | $a_app_id |
Definition at line 62 of file class.ilConsultationHourUtils.php.
References ilCalendarCategoryAssignments\_deleteByAppointmentId(), ilBookingEntry\cancelBooking(), ilConsultationHourAppointments\getAppointmentIds(), and ilCalendarCategory\TYPE_CH.
Referenced by ilConsultationHoursGUI\delete(), and ilConsultationHoursGUI\rejectBooking().
|
static |
Lookup managed users.
type | $a_usr_id |
Definition at line 105 of file class.ilConsultationHourUtils.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilBookingEntry\lookupManagedBookingsForObject().