| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Consultation hours editor. More...
 Collaboration diagram for ilConsultationHoursGUI:
 Collaboration diagram for ilConsultationHoursGUI:| Public Member Functions | |
| __construct () | |
| Constructor. | |
| executeCommand () | |
| Execute command. | |
| getUserId () | |
| Get user id. | |
| edit () | |
| Edit multiple sequence items. | |
| confirmDelete () | |
| confirm delete for multiple entries | |
| delete () | |
| delete multiple entries | |
| showProfile () | |
| show public profile of given user | |
| settings () | |
| display settings gui | |
| updateSettings () | |
| save settings | |
| Data Fields | |
| const | MODE_CREATE = 1 | 
| const | MODE_UPDATE = 2 | 
| const | MODE_MULTI = 3 | 
| Protected Member Functions | |
| appointmentList () | |
| Show settings of consultation hours. | |
| createSequence () | |
| Create new sequence. | |
| initFormSequence ($a_mode) | |
| Init form. | |
| saveSequence () | |
| Save new sequence. | |
| createAppointments (ilBookingEntry $booking) | |
| Create calendar appointments. | |
| setTabs () | |
| Set tabs. | |
| updateMulti () | |
| Update multiple sequence items. | |
| initSettingsForm () | |
| build settings form | |
| Protected Attributes | |
| $user_id | |
| $ctrl | |
| $booking = null | |
Consultation hours editor.
: ilConsultationHoursGUI: ilPublicUserProfileGUI
Definition at line 33 of file class.ilConsultationHoursGUI.php.
| ilConsultationHoursGUI::__construct | ( | ) | 
Constructor.
Definition at line 47 of file class.ilConsultationHoursGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, $user_id, and ilConsultationHourAppointments\getManagedUsers().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Show settings of consultation hours.
Definition at line 116 of file class.ilConsultationHoursGUI.php.
References getUserId().
Referenced by confirmDelete(), delete(), and edit().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConsultationHoursGUI::confirmDelete | ( | ) | 
confirm delete for multiple entries
Definition at line 535 of file class.ilConsultationHoursGUI.php.
References $_POST, $tpl, appointmentList(), ilDatePresentation\formatDate(), and ilUtil\sendFailure().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Create calendar appointments.
| ilBookingEntry | $booking | 
Definition at line 319 of file class.ilConsultationHoursGUI.php.
References ilCalendarCategoryAssignments\addAssignment(), ilCalendarRecurrenceCalculator\calculateDateList(), ilBookingEntry\getId(), getUserId(), IL_CAL_TRANSLATION_SYSTEM, IL_CAL_UNIX, ilCalendarUtil\initDefaultCalendarByType(), ilDateTime\MINUTE, ilCalendarCategory\TYPE_CH, and ilDateList\TYPE_DATETIME.
Referenced by saveSequence().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Create new sequence.
Definition at line 133 of file class.ilConsultationHoursGUI.php.
References IL_CAL_UNIX, and initFormSequence().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilConsultationHoursGUI::delete | ( | ) | 
delete multiple entries
Definition at line 570 of file class.ilConsultationHoursGUI.php.
References $_POST, $tpl, ilCalendarCategoryAssignments\_deleteByAppointmentId(), appointmentList(), ilBookingEntry\removeObsoleteEntries(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilConsultationHoursGUI::edit | ( | ) | 
Edit multiple sequence items.
Definition at line 402 of file class.ilConsultationHoursGUI.php.
References $_POST, $booking, appointmentList(), initFormSequence(), and ilUtil\sendFailure().
Referenced by updateMulti().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConsultationHoursGUI::executeCommand | ( | ) | 
Execute command.
Definition at line 77 of file class.ilConsultationHoursGUI.php.
References $cmd, $ilCtrl, $user_id, and setTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilConsultationHoursGUI::getUserId | ( | ) | 
Get user id.
Definition at line 106 of file class.ilConsultationHoursGUI.php.
References $user_id.
Referenced by appointmentList(), createAppointments(), saveSequence(), setTabs(), and updateMulti().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Init form.
| int | $a_mode | 
Definition at line 152 of file class.ilConsultationHoursGUI.php.
References IL_CAL_FREQ_DAILY, IL_CAL_FREQ_MONTHLY, IL_CAL_FREQ_WEEKLY, ilYuiUtil\initDomEvent(), ilRecurrenceInputGUI\setEnabledSubForms(), ilFormPropertyGUI\setInfo(), ilTextAreaInputGUI\setRows(), ilDurationInputGUI\setShowMinutes(), ilDateTimeInputGUI\setShowTime(), ilTextInputGUI\setSize(), and ilNumberInputGUI\setSize().
Referenced by createSequence(), edit(), saveSequence(), and updateMulti().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
build settings form
Definition at line 645 of file class.ilConsultationHoursGUI.php.
References $ilDB, ilConsultationHourAppointments\getManager(), and ilFormPropertyGUI\setInfo().
Referenced by settings(), and updateSettings().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Save new sequence.
Definition at line 268 of file class.ilConsultationHoursGUI.php.
References $booking, createAppointments(), getUserId(), initFormSequence(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Set tabs.
Definition at line 381 of file class.ilConsultationHoursGUI.php.
References $ilCtrl, $user_id, ilConsultationHourAppointments\getManagedUsers(), and getUserId().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilConsultationHoursGUI::settings | ( | ) | 
display settings gui
Definition at line 631 of file class.ilConsultationHoursGUI.php.
References $tpl, and initSettingsForm().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilConsultationHoursGUI::showProfile | ( | ) | 
show public profile of given user
Definition at line 599 of file class.ilConsultationHoursGUI.php.
References $_GET, $_REQUEST, $ilCtrl, $tpl, and $user_id.
| 
 | protected | 
Update multiple sequence items.
Definition at line 449 of file class.ilConsultationHoursGUI.php.
References $_POST, $booking, $location, $title, edit(), ilBookingEntry\getInstanceByCalendarEntryId(), getUserId(), initFormSequence(), ilBookingEntry\removeObsoleteEntries(), ilUtil\sendFailure(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilConsultationHoursGUI::updateSettings | ( | ) | 
save settings
Definition at line 669 of file class.ilConsultationHoursGUI.php.
References $ilCtrl, $ilDB, $tpl, initSettingsForm(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilConsultationHourAppointments\setManager().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 42 of file class.ilConsultationHoursGUI.php.
Referenced by edit(), saveSequence(), and updateMulti().
| 
 | protected | 
Definition at line 40 of file class.ilConsultationHoursGUI.php.
| 
 | protected | 
Definition at line 39 of file class.ilConsultationHoursGUI.php.
Referenced by __construct(), executeCommand(), getUserId(), setTabs(), and showProfile().
| const ilConsultationHoursGUI::MODE_CREATE = 1 | 
Definition at line 35 of file class.ilConsultationHoursGUI.php.
| const ilConsultationHoursGUI::MODE_MULTI = 3 | 
Definition at line 37 of file class.ilConsultationHoursGUI.php.
| const ilConsultationHoursGUI::MODE_UPDATE = 2 | 
Definition at line 36 of file class.ilConsultationHoursGUI.php.