| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Collaboration diagram for ilConsultationHourUtils:Static Public Member Functions | |
| static | getConsultationHourLinksForRepositoryObject (int $ref_id, int $current_user_id, array $ctrl_class_structure) | 
| static | findCalendarAppointmentsForBooking (ilBookingEntry $booking, ilDateTime $start, ilDateTime $end) | 
| static | bookAppointment (int $a_usr_id, int $a_app_id, string $comment='') | 
| Book an appointment.  More... | |
| static | cancelBooking (int $a_usr_id, int $a_app_id, bool $a_send_notification=true) | 
| Cancel a booking.  More... | |
| static | lookupManagedUsers ($a_usr_id) | 
| Lookup managed users.  More... | |
Definition at line 24 of file class.ilConsultationHourUtils.php.
      
  | 
  static | 
Book an appointment.
All checks (assignment possible, max booking) must be done before
| int | $a_usr_id | |
| int | $a_app_id | 
Definition at line 135 of file class.ilConsultationHourUtils.php.
References $comment, $DIC, $lng, ilLanguageFactory\_getLanguage(), ilCalendarCategoryAssignments\addAssignment(), ilConsultationHourAppointments\getManager(), ilCalendarUtil\initDefaultCalendarByType(), ilCalendarMailNotification\TYPE_BOOKING_CONFIRMATION, ilCalendarMailNotification\TYPE_BOOKING_CONFIRMATION_MANAGER, ilCalendarCategory\TYPE_CH, and ilBookingEntry\writeBookingMessage().
Referenced by ilConsultationHoursGUI\assignUsersToAppointment(), and ilCalendarAppointmentGUI\bookconfirmed().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Cancel a booking.
Definition at line 204 of file class.ilConsultationHourUtils.php.
References ilCalendarCategoryAssignments\_deleteByAppointmentId(), ilConsultationHourAppointments\getAppointmentIds(), and ilCalendarCategory\TYPE_CH.
Referenced by ilConsultationHoursGUI\cancelBooking(), ilCalendarAppointmentGUI\cancelConfirmed(), and ilConsultationHoursGUI\deleteAppointments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 98 of file class.ilConsultationHourUtils.php.
References $DIC, $res, ilDBConstants\FETCHMODE_OBJECT, ilDateTime\get(), ilBookingEntry\getId(), IL_CAL_DATETIME, ILIAS\Repository\int(), ilDBConstants\T_TIMESTAMP, ilCalendarCategory\TYPE_CH, and ilTimeZone\UTC.
Referenced by ilConsultationHoursGUI\rewriteBookingIdsForAppointments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 26 of file class.ilConsultationHourUtils.php.
References $DIC, $user_id, ilDateTime\_before(), ilCalendarCategoryAssignments\_lookupCategories(), ilObjUser\_lookupFullname(), ilObject\_lookupObjId(), ilConsultationHourAppointments\getAppointments(), ilParticipants\getInstance(), IL_CAL_DATE, IL_CAL_DAY, IL_CAL_UNIX, and ilBookingEntry\lookupBookableUsersForObject().
Referenced by ilConsultationHoursCalendarBlockGUI\getData().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Lookup managed users.
Definition at line 242 of file class.ilConsultationHourUtils.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by ilBookingEntry\lookupManagedBookingsForObject().
 Here is the call graph for this function:
 Here is the caller graph for this function: