|
ILIAS
Release_4_4_x_branch Revision 61816
|
Description of class. More...
Collaboration diagram for ilConsultationHourUtils: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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Lookup managed users.
| type | $a_usr_id |
Definition at line 105 of file class.ilConsultationHourUtils.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilBookingEntry\lookupManagedBookingsForObject().
Here is the caller graph for this function: