| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Consultation hours editor. More...
 Collaboration diagram for ilConsultationHoursGUI:Public Member Functions | |
| __construct () | |
| Constructor.  More... | |
| executeCommand () | |
| getUserId () | |
| assignUsersToAppointments (array $users) | |
| Assign users to multiple appointments.  More... | |
| assignUsersToAppointment (array $users, int $a_app=0, bool $a_redirect=true) | |
| Assign users to an appointment.  More... | |
| edit () | |
| showProfile () | |
| show public profile of given user  More... | |
| settings () | |
| display settings gui  More... | |
| updateSettings () | |
| save settings  More... | |
Data Fields | |
| const | VIEW_MODE_PERIOD_UPCOMING = 'upcoming' | 
| const | VIEW_MODE_PERIOD_PAST = 'past' | 
| const | VIEW_MODE_PERIOD_ALL = 'all' | 
| const | VIEW_MODE_STATUS_BOOKED = 'booked' | 
| const | VIEW_MODE_STATUS_OPEN = 'open' | 
| const | VIEW_MODE_STATUS_ALL = 'all' | 
Protected Attributes | |
| const | MODE_CREATE = 1 | 
| const | MODE_UPDATE = 2 | 
| const | MODE_MULTI = 3 | 
| const | MAX_APPOINTMENTS_PER_SEQUENCE = 1000 | 
| ilCtrlInterface | $ctrl | 
| ilLanguage | $lng | 
| ilGlobalTemplateInterface | $tpl | 
| ilObjUser | $global_user | 
| ilHelpGUI | $help | 
| ilTabsGUI | $tabs | 
| ilToolbarGUI | $toolbar | 
| RefineryFactory | $refinery | 
| GlobalHttpState | $http | 
Private Attributes | |
| UIFactory | $ui_factory | 
| UIRenderer | $ui_renderer | 
| int | $user_id | 
| bool | $search_assignment_to_appointments = false | 
| ilBookingEntry | $booking = null | 
| ilPropertyFormGUI | $form = null | 
| string | $vm_period = '' | 
| string | $vm_status = '' | 
Consultation hours editor.
Definition at line 34 of file class.ilConsultationHoursGUI.php.
| ilConsultationHoursGUI::__construct | ( | ) | 
Constructor.
Definition at line 77 of file class.ilConsultationHoursGUI.php.
References $DIC, $user_id, ILIAS\Repository\ctrl(), ilConsultationHourAppointments\getManagedUsers(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), and ILIAS\Repository\toolbar().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 929 of file class.ilConsultationHoursGUI.php.
References getUserId(), initViewMode(), and renderViewControl().
Referenced by cancelBooking(), confirmCancelBooking(), deleteAppointments(), edit(), and sendMailToSelectedUsers().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilConsultationHoursGUI::assignUsersToAppointment | ( | array | $users, | 
| int | $a_app = 0,  | 
        ||
| bool | $a_redirect = true  | 
        ||
| ) | 
Assign users to an appointment.
| array | $users | |
| int | $a_app | |
| bool | $a_redirect | 
| ilCtrlException | 
Definition at line 326 of file class.ilConsultationHoursGUI.php.
References ilConsultationHourUtils\bookAppointment(), ILIAS\Repository\ctrl(), ilBookingEntry\getCurrentNumberOfBookings(), ilBookingEntry\getInstanceByCalendarEntryId(), ilBookingEntry\getNumberOfBookings(), initAppointmentIdsFromPost(), initAppointmentIdsFromQuery(), initBookingUsersFromPost(), ILIAS\Repository\lng(), ilBookingEntry\lookupBookingsOfUser(), and sendInfoAboutUnassignedUsers().
Referenced by assignUsersToAppointments().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilConsultationHoursGUI::assignUsersToAppointments | ( | array | $users | ) | 
Assign users to multiple appointments.
Definition at line 303 of file class.ilConsultationHoursGUI.php.
References assignUsersToAppointment(), ILIAS\Repository\ctrl(), ilSession\get(), and sendInfoAboutUnassignedUsers().
 Here is the call graph for this function:
      
  | 
  protected | 
Show list of bookings.
Definition at line 372 of file class.ilConsultationHoursGUI.php.
References ilConsultationHourAppointments\getAppointmentIds(), getUserId(), and ILIAS\Repository\help().
Referenced by confirmRejectBooking().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1033 of file class.ilConsultationHoursGUI.php.
References $data, appointments(), ilConsultationHourUtils\cancelBooking(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Referenced by deleteBooking().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 997 of file class.ilConsultationHoursGUI.php.
References appointments(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), initAppointmentIdsFromTableAction(), and ILIAS\Repository\lng().
Referenced by handleBookingTableActions().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1074 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ILIAS\FileDelivery\http(), initAppointmentIdsFromTableAction(), and ILIAS\Repository\lng().
Referenced by handleBookingTableActions().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Show delete booking confirmation.
Definition at line 384 of file class.ilConsultationHoursGUI.php.
References confirmRejectBooking().
 Here is the call graph for this function:
      
  | 
  protected | 
Show delete booking confirmation.
Definition at line 392 of file class.ilConsultationHoursGUI.php.
References bookingList(), ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ilUserUtil\getNamePresentation(), initBookingUsersFromPost(), initBookingUsersFromQuery(), and ILIAS\Repository\lng().
Referenced by confirmDeleteBooking().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Create calendar appointments.
Definition at line 610 of file class.ilConsultationHoursGUI.php.
References ilCalendarCategoryAssignments\addAssignment(), ilCalendarRecurrenceCalculator\calculateDateList(), ILIAS\Repository\form(), ilBookingEntry\getId(), getUserId(), ilDateTime\HOUR, ilCalendarUtil\initDefaultCalendarByType(), ILIAS\Repository\lng(), ilDateTime\MINUTE, ilCalendarEntry\TRANSLATION_SYSTEM, ilCalendarCategory\TYPE_CH, ilDateList\TYPE_DATETIME, and ilDateTime\YEAR.
Referenced by saveSequence().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 746 of file class.ilConsultationHoursGUI.php.
References $booking, $ref_id, ilObject\_lookupObjId(), ilObject\_lookupType(), ILIAS\Repository\form(), ILIAS\Repository\lng(), ilBookingEntry\save(), ilBookingEntry\setDeadlineHours(), ilBookingEntry\setNumberOfBookings(), ilBookingEntry\setObjId(), and ilBookingEntry\setTargetObjIds().
Referenced by updateMulti().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Create new sequence.
Definition at line 445 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\form(), IL_CAL_UNIX, and initFormSequence().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 1104 of file class.ilConsultationHoursGUI.php.
References $user_id, ilCalendarCategoryAssignments\_deleteByAppointmentId(), appointments(), ilConsultationHourUtils\cancelBooking(), ILIAS\Repository\ctrl(), ilBookingEntry\getCurrentBookings(), ilBookingEntry\getInstanceByCalendarEntryId(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ilBookingEntry\removeObsoleteEntries().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 1028 of file class.ilConsultationHoursGUI.php.
References cancelBooking().
 Here is the call graph for this function:| ilConsultationHoursGUI::edit | ( | ) | 
Definition at line 700 of file class.ilConsultationHoursGUI.php.
References ilObject\_getAllReferences(), appointments(), ILIAS\Repository\form(), ilBookingEntry\getDeadlineHours(), ilBookingEntry\getNumberOfBookings(), ilBookingEntry\getTargetObjIds(), initAppointmentIdsFromPostString(), initAppointmentIdsFromTableAction(), initFormSequence(), and ILIAS\Repository\lng().
Referenced by handleBookingTableActions(), and updateMulti().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilConsultationHoursGUI::executeCommand | ( | ) | 
Definition at line 210 of file class.ilConsultationHoursGUI.php.
References $user_id, ILIAS\Repository\ctrl(), getProfileBackUrl(), ILIAS\Repository\help(), initAppointmentIdsFromPost(), initAppointmentIdsFromQuery(), initSearchAssignmentToAppointments(), ILIAS\Repository\lng(), and setTabs().
 Here is the call graph for this function:
      
  | 
  protected | 
Build context-sensitive profile back url.
Definition at line 860 of file class.ilConsultationHoursGUI.php.
References $url, ILIAS\Repository\ctrl(), and ILIAS\FileDelivery\http().
Referenced by executeCommand(), and showProfile().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilConsultationHoursGUI::getUserId | ( | ) | 
Definition at line 265 of file class.ilConsultationHoursGUI.php.
References $user_id.
Referenced by appointments(), bookingList(), createAppointments(), initAppointmentIdsFromTableAction(), saveSequence(), and setTabs().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 942 of file class.ilConsultationHoursGUI.php.
References confirmCancelBooking(), confirmDeleteAppointments(), ILIAS\Repository\ctrl(), edit(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), searchUsersForAppointments(), and sendMailToSelectedUsers().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 153 of file class.ilConsultationHoursGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by assignUsersToAppointment(), and executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 166 of file class.ilConsultationHoursGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by edit(), and updateMulti().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 145 of file class.ilConsultationHoursGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by assignUsersToAppointment(), and executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 125 of file class.ilConsultationHoursGUI.php.
References ilConsultationHourAppointments\getAppointmentIds(), getUserId(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by confirmCancelBooking(), confirmDeleteAppointments(), edit(), searchUsersForAppointments(), and sendMailToSelectedUsers().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 181 of file class.ilConsultationHoursGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by assignUsersToAppointment(), and confirmRejectBooking().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 197 of file class.ilConsultationHoursGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by confirmRejectBooking().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 462 of file class.ilConsultationHoursGUI.php.
References $form, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilCalendarRecurrence\FREQ_DAILY, ilCalendarRecurrence\FREQ_MONTHLY, ilCalendarRecurrence\FREQ_WEEKLY, ilYuiUtil\initDomEvent(), ILIAS\Repository\lng(), ilRecurrenceInputGUI\setEnabledSubForms(), ilFormPropertyGUI\setInfo(), ilTextAreaInputGUI\setRows(), ilDurationInputGUI\setShowMinutes(), and ilDateTimeInputGUI\setShowTime().
Referenced by createSequence(), edit(), saveSequence(), and updateMulti().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 113 of file class.ilConsultationHoursGUI.php.
References $search_assignment_to_appointments, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1139 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by renderViewControl().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
build settings form
Definition at line 890 of file class.ilConsultationHoursGUI.php.
References $form, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ilConsultationHourAppointments\getManager(), ILIAS\Repository\lng(), ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
Referenced by settings(), and updateSettings().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1205 of file class.ilConsultationHoursGUI.php.
References $DIC, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by appointments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1148 of file class.ilConsultationHoursGUI.php.
References ilToolbarGUI\addComponent(), ilToolbarGUI\addSeparator(), ILIAS\Repository\ctrl(), initSequenceCreation(), and ILIAS\Repository\lng().
Referenced by appointments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 776 of file class.ilConsultationHoursGUI.php.
References ilConsultationHourUtils\findCalendarAppointmentsForBooking(), ilBookingEntry\getId(), ilPropertyFormGUI\getInput(), and ilBookingEntry\getInstanceByCalendarEntryId().
Referenced by updateMulti().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Save new sequence.
Definition at line 564 of file class.ilConsultationHoursGUI.php.
References $ref_id, ilObject\_lookupObjId(), ilObject\_lookupType(), createAppointments(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), getUserId(), initFormSequence(), ILIAS\Repository\lng(), ilBookingEntry\save(), ilBookingEntry\setDeadlineHours(), ilBookingEntry\setNumberOfBookings(), ilBookingEntry\setObjId(), and ilBookingEntry\setTargetObjIds().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 270 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\ctrl(), initAppointmentIdsFromTableAction(), ILIAS\Repository\lng(), and ilSession\set().
Referenced by handleBookingTableActions().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Send info message about unassigned users.
| int[] | $unassigned | 
Definition at line 286 of file class.ilConsultationHoursGUI.php.
References ilObjUser\_lookupFullname(), and ILIAS\Repository\lng().
Referenced by assignUsersToAppointment(), and assignUsersToAppointments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 964 of file class.ilConsultationHoursGUI.php.
References ilObjUser\_lookupLogin(), appointments(), ILIAS\Repository\ctrl(), ilBookingEntry\getCurrentBookings(), ilMailFormCall\getRedirectTarget(), initAppointmentIdsFromTableAction(), and ILIAS\Repository\lng().
Referenced by handleBookingTableActions().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 678 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\ctrl(), ilConsultationHourAppointments\getManagedUsers(), getUserId(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilConsultationHoursGUI::settings | ( | ) | 
display settings gui
Definition at line 878 of file class.ilConsultationHoursGUI.php.
References ilPropertyFormGUI\getHTML(), ILIAS\Repository\help(), initSettingsForm(), and ILIAS\Repository\tabs().
 Here is the call graph for this function:| ilConsultationHoursGUI::showProfile | ( | ) | 
show public profile of given user
Definition at line 841 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\ctrl(), getProfileBackUrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and ILIAS\Repository\tabs().
 Here is the call graph for this function:
      
  | 
  protected | 
Update multiple sequence items.
Definition at line 811 of file class.ilConsultationHoursGUI.php.
References createNewBookingEntry(), ILIAS\Repository\ctrl(), edit(), ILIAS\Repository\form(), initAppointmentIdsFromPostString(), initFormSequence(), ILIAS\Repository\lng(), ilBookingEntry\removeObsoleteEntries(), and rewriteBookingIdsForAppointments().
 Here is the call graph for this function:| ilConsultationHoursGUI::updateSettings | ( | ) | 
save settings
Definition at line 909 of file class.ilConsultationHoursGUI.php.
References ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), ilPropertyFormGUI\getInput(), ilPropertyFormGUI\getItemByPostVar(), initSettingsForm(), ILIAS\Repository\lng(), ilConsultationHourAppointments\setManager(), and ILIAS\Repository\tabs().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 67 of file class.ilConsultationHoursGUI.php.
Referenced by createNewBookingEntry().
      
  | 
  protected | 
Definition at line 50 of file class.ilConsultationHoursGUI.php.
      
  | 
  private | 
Definition at line 69 of file class.ilConsultationHoursGUI.php.
Referenced by initFormSequence(), and initSettingsForm().
      
  | 
  protected | 
Definition at line 53 of file class.ilConsultationHoursGUI.php.
      
  | 
  protected | 
Definition at line 54 of file class.ilConsultationHoursGUI.php.
      
  | 
  protected | 
Definition at line 58 of file class.ilConsultationHoursGUI.php.
      
  | 
  protected | 
Definition at line 51 of file class.ilConsultationHoursGUI.php.
      
  | 
  protected | 
Definition at line 57 of file class.ilConsultationHoursGUI.php.
      
  | 
  private | 
Definition at line 66 of file class.ilConsultationHoursGUI.php.
Referenced by initSearchAssignmentToAppointments().
      
  | 
  protected | 
Definition at line 55 of file class.ilConsultationHoursGUI.php.
      
  | 
  protected | 
Definition at line 56 of file class.ilConsultationHoursGUI.php.
      
  | 
  protected | 
Definition at line 52 of file class.ilConsultationHoursGUI.php.
      
  | 
  private | 
Definition at line 59 of file class.ilConsultationHoursGUI.php.
      
  | 
  private | 
Definition at line 60 of file class.ilConsultationHoursGUI.php.
      
  | 
  private | 
Definition at line 65 of file class.ilConsultationHoursGUI.php.
Referenced by __construct(), deleteAppointments(), executeCommand(), and getUserId().
      
  | 
  private | 
Definition at line 71 of file class.ilConsultationHoursGUI.php.
      
  | 
  private | 
Definition at line 72 of file class.ilConsultationHoursGUI.php.
      
  | 
  protected | 
Definition at line 48 of file class.ilConsultationHoursGUI.php.
      
  | 
  protected | 
Definition at line 44 of file class.ilConsultationHoursGUI.php.
      
  | 
  protected | 
Definition at line 46 of file class.ilConsultationHoursGUI.php.
      
  | 
  protected | 
Definition at line 45 of file class.ilConsultationHoursGUI.php.
| const ilConsultationHoursGUI::VIEW_MODE_PERIOD_ALL = 'all' | 
Definition at line 38 of file class.ilConsultationHoursGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingDataProvider\isFiltered().
| const ilConsultationHoursGUI::VIEW_MODE_PERIOD_PAST = 'past' | 
Definition at line 37 of file class.ilConsultationHoursGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingDataProvider\isFiltered().
| const ilConsultationHoursGUI::VIEW_MODE_PERIOD_UPCOMING = 'upcoming' | 
Definition at line 36 of file class.ilConsultationHoursGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingDataProvider\isFiltered().
| const ilConsultationHoursGUI::VIEW_MODE_STATUS_ALL = 'all' | 
Definition at line 42 of file class.ilConsultationHoursGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingDataProvider\isFiltered().
| const ilConsultationHoursGUI::VIEW_MODE_STATUS_BOOKED = 'booked' | 
Definition at line 40 of file class.ilConsultationHoursGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingDataProvider\isFiltered().
| const ilConsultationHoursGUI::VIEW_MODE_STATUS_OPEN = 'open' | 
Definition at line 41 of file class.ilConsultationHoursGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingDataProvider\isFiltered().