|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 35 of file class.ilConsultationHoursGUI.php.
| ilConsultationHoursGUI::__construct | ( | ) |
Constructor.
Definition at line 78 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 928 of file class.ilConsultationHoursGUI.php.
Referenced by edit().
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 327 of file class.ilConsultationHoursGUI.php.
References $booking, 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 304 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 373 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 1032 of file class.ilConsultationHoursGUI.php.
References $data, ilConsultationHourUtils\cancelBooking(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 996 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 1073 of file class.ilConsultationHoursGUI.php.
References ilDatePresentation\formatDate(), ILIAS\FileDelivery\http(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Show delete booking confirmation.
Definition at line 385 of file class.ilConsultationHoursGUI.php.
References confirmRejectBooking().
Here is the call graph for this function:
|
protected |
Show delete booking confirmation.
Definition at line 393 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 609 of file class.ilConsultationHoursGUI.php.
References $booking, ILIAS\Repository\form(), ilBookingEntry\getId(), getUserId(), ILIAS\UI\Implementation\Component\Input\getValue(), 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 745 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().
Here is the call graph for this function:
|
protected |
Create new sequence.
Definition at line 446 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 1103 of file class.ilConsultationHoursGUI.php.
References $user_id, ilCalendarCategoryAssignments\_deleteByAppointmentId(), ilConsultationHourUtils\cancelBooking(), ILIAS\Repository\ctrl(), 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 1027 of file class.ilConsultationHoursGUI.php.
| ilConsultationHoursGUI::edit | ( | ) |
Definition at line 699 of file class.ilConsultationHoursGUI.php.
References $booking, ilObject\_getAllReferences(), appointments(), ILIAS\Repository\form(), ilBookingEntry\getDeadlineHours(), ilBookingEntry\getNumberOfBookings(), ilBookingEntry\getTargetObjIds(), initAppointmentIdsFromPostString(), initAppointmentIdsFromTableAction(), initFormSequence(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilConsultationHoursGUI::executeCommand | ( | ) |
Definition at line 211 of file class.ilConsultationHoursGUI.php.
References 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 859 of file class.ilConsultationHoursGUI.php.
References $url, ILIAS\Repository\ctrl(), and ILIAS\FileDelivery\http().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilConsultationHoursGUI::getUserId | ( | ) |
Definition at line 266 of file class.ilConsultationHoursGUI.php.
References $user_id.
Referenced by bookingList(), createAppointments(), initAppointmentIdsFromTableAction(), saveSequence(), and setTabs().
Here is the caller graph for this function:
|
protected |
Definition at line 941 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 154 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 167 of file class.ilConsultationHoursGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 146 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 126 of file class.ilConsultationHoursGUI.php.
References ilConsultationHourAppointments\getAppointmentIds(), getUserId(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by edit(), and searchUsersForAppointments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 182 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 198 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 463 of file class.ilConsultationHoursGUI.php.
References $form, ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilCalendarRecurrence\FREQ_DAILY, ilCalendarRecurrence\FREQ_MONTHLY, ilCalendarRecurrence\FREQ_WEEKLY, ILIAS\Repository\lng(), MODE_CREATE, and MODE_MULTI.
Referenced by createSequence(), edit(), and saveSequence().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 114 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 1138 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
build settings form
Definition at line 889 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\ctrl(), ilConsultationHourAppointments\getManager(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 1204 of file class.ilConsultationHoursGUI.php.
References $DIC, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
protected |
Definition at line 1147 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 775 of file class.ilConsultationHoursGUI.php.
References $booking, $form, ilConsultationHourUtils\findCalendarAppointmentsForBooking(), ilBookingEntry\getId(), ilPropertyFormGUI\getInput(), and ilBookingEntry\getInstanceByCalendarEntryId().
Here is the call graph for this function:
|
protected |
Save new sequence.
Definition at line 563 of file class.ilConsultationHoursGUI.php.
References $booking, $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 271 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\ctrl(), initAppointmentIdsFromTableAction(), ILIAS\Repository\lng(), and ilSession\set().
Here is the call graph for this function:
|
protected |
Send info message about unassigned users.
| int[] | $unassigned |
Definition at line 287 of file class.ilConsultationHoursGUI.php.
References $user_id, 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 963 of file class.ilConsultationHoursGUI.php.
References ilObjUser\_lookupLogin(), ILIAS\Repository\ctrl(), ilMailFormCall\getRedirectTarget(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 677 of file class.ilConsultationHoursGUI.php.
References $user_id, 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 877 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\help(), and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilConsultationHoursGUI::showProfile | ( | ) |
show public profile of given user
Definition at line 840 of file class.ilConsultationHoursGUI.php.
References $user_id, ILIAS\Repository\ctrl(), 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 810 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ILIAS\Repository\lng(), and ilBookingEntry\removeObsoleteEntries().
Here is the call graph for this function:| ilConsultationHoursGUI::updateSettings | ( | ) |
save settings
Definition at line 908 of file class.ilConsultationHoursGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilConsultationHourAppointments\setManager(), and ILIAS\Repository\tabs().
Here is the call graph for this function:
|
private |
Definition at line 68 of file class.ilConsultationHoursGUI.php.
Referenced by assignUsersToAppointment(), createAppointments(), createNewBookingEntry(), edit(), rewriteBookingIdsForAppointments(), and saveSequence().
|
protected |
Definition at line 51 of file class.ilConsultationHoursGUI.php.
|
private |
Definition at line 70 of file class.ilConsultationHoursGUI.php.
Referenced by initFormSequence(), and rewriteBookingIdsForAppointments().
|
protected |
Definition at line 54 of file class.ilConsultationHoursGUI.php.
|
protected |
Definition at line 55 of file class.ilConsultationHoursGUI.php.
|
protected |
Definition at line 59 of file class.ilConsultationHoursGUI.php.
|
protected |
Definition at line 52 of file class.ilConsultationHoursGUI.php.
|
protected |
Definition at line 58 of file class.ilConsultationHoursGUI.php.
|
private |
Definition at line 67 of file class.ilConsultationHoursGUI.php.
Referenced by initSearchAssignmentToAppointments().
|
protected |
Definition at line 56 of file class.ilConsultationHoursGUI.php.
|
protected |
Definition at line 57 of file class.ilConsultationHoursGUI.php.
|
protected |
Definition at line 53 of file class.ilConsultationHoursGUI.php.
|
private |
Definition at line 60 of file class.ilConsultationHoursGUI.php.
|
private |
Definition at line 61 of file class.ilConsultationHoursGUI.php.
|
private |
Definition at line 66 of file class.ilConsultationHoursGUI.php.
Referenced by __construct(), getUserId(), sendInfoAboutUnassignedUsers(), and setTabs().
|
private |
Definition at line 72 of file class.ilConsultationHoursGUI.php.
|
private |
Definition at line 73 of file class.ilConsultationHoursGUI.php.
|
protected |
Definition at line 49 of file class.ilConsultationHoursGUI.php.
|
protected |
Definition at line 45 of file class.ilConsultationHoursGUI.php.
Referenced by initFormSequence().
|
protected |
Definition at line 47 of file class.ilConsultationHoursGUI.php.
Referenced by initFormSequence().
|
protected |
Definition at line 46 of file class.ilConsultationHoursGUI.php.
| const ilConsultationHoursGUI::VIEW_MODE_PERIOD_ALL = 'all' |
Definition at line 39 of file class.ilConsultationHoursGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingDataProvider\isFiltered().
| const ilConsultationHoursGUI::VIEW_MODE_PERIOD_PAST = 'past' |
Definition at line 38 of file class.ilConsultationHoursGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingDataProvider\isFiltered().
| const ilConsultationHoursGUI::VIEW_MODE_PERIOD_UPCOMING = 'upcoming' |
Definition at line 37 of file class.ilConsultationHoursGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingDataProvider\isFiltered().
| const ilConsultationHoursGUI::VIEW_MODE_STATUS_ALL = 'all' |
Definition at line 43 of file class.ilConsultationHoursGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingDataProvider\isFiltered().
| const ilConsultationHoursGUI::VIEW_MODE_STATUS_BOOKED = 'booked' |
Definition at line 41 of file class.ilConsultationHoursGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingDataProvider\isFiltered().
| const ilConsultationHoursGUI::VIEW_MODE_STATUS_OPEN = 'open' |
Definition at line 42 of file class.ilConsultationHoursGUI.php.
Referenced by ILIAS\Calendar\ConsultationHours\BookingDataProvider\isFiltered().