|
ILIAS
Release_3_10_x_branch Revision 61812
|
Administrate calendar appointments. More...
Collaboration diagram for ilCalendarAppointmentGUI:Public Member Functions | |
| __construct (ilDate $seed, $a_appointment_id=0) | |
| Constructor. | |
| executeCommand () | |
| Execute command. | |
Protected Member Functions | |
| cancel () | |
| cancel editing | |
| initForm ($a_mode) | |
| init form | |
| add () | |
| add new appointment | |
| save () | |
| save appointment | |
| edit () | |
| edit appointment | |
| showInfoScreen () | |
| show info screen | |
| update () | |
| update | |
| askDelete () | |
| ask delete | |
| delete () | |
| delete | |
| initTimeZone () | |
| init timezone | |
| initSeed (ilDate $seed) | |
| init seed | |
| initAppointment ($a_app_id=0) | |
| init appointment | |
| load () | |
| load post | |
| loadRecurrenceSettings () | |
| load recurrence settings | |
| saveRecurrenceSettings () | |
| save recurrence settings | |
| createDefaultCalendar () | |
| Create a default calendar. | |
Protected Attributes | |
| $seed = null | |
| $default_fulltime = true | |
| $app = null | |
| $rec = null | |
| $timezone = null | |
| $tpl | |
| $lng | |
| $ctrl | |
Administrate calendar appointments.
Definition at line 36 of file class.ilCalendarAppointmentGUI.php.
| ilCalendarAppointmentGUI::__construct | ( | ilDate | $seed, |
$a_appointment_id = 0 |
|||
| ) |
Constructor.
public
| ilDate | seed |
Definition at line 56 of file class.ilCalendarAppointmentGUI.php.
References $ilCtrl, $lng, initAppointment(), initSeed(), and initTimeZone().
Here is the call graph for this function:
|
protected |
add new appointment
protected
Definition at line 222 of file class.ilCalendarAppointmentGUI.php.
References $tpl, and initForm().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
ask delete
protected
Definition at line 407 of file class.ilCalendarAppointmentGUI.php.
References $tpl.
|
protected |
cancel editing
protected
| @return |
Definition at line 99 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Create a default calendar.
protected
Definition at line 710 of file class.ilCalendarAppointmentGUI.php.
References $lng, ilCalendarCategory\DEFAULT_COLOR, and ilCalendarCategory\TYPE_USR.
Referenced by save(), and update().
Here is the caller graph for this function:
|
protected |
delete
protected
| @return |
Definition at line 432 of file class.ilCalendarAppointmentGUI.php.
References $app, ilCalendarCategoryAssignments\_deleteByAppointmentId(), and ilUtil\sendInfo().
Here is the call graph for this function:
|
protected |
edit appointment
protected
| @return |
Definition at line 277 of file class.ilCalendarAppointmentGUI.php.
References $ilErr, $tpl, ilCalendarCategories\_getInstance(), ilCalendarCategoryAssignments\_lookupCategory(), initForm(), and showInfoScreen().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarAppointmentGUI::executeCommand | ( | ) |
Execute command.
public
Definition at line 76 of file class.ilCalendarAppointmentGUI.php.
References $cmd, $ilSetting, and $tpl.
|
protected |
init appointment
protected
| int | appointment id |
Definition at line 497 of file class.ilCalendarAppointmentGUI.php.
References $seed, ilCalendarRecurrences\_getFirstRecurrence(), and IL_CAL_HOUR.
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
init form
protected
| string | mode ('edit' | 'create') |
Definition at line 111 of file class.ilCalendarAppointmentGUI.php.
References $_GET, $rec, $title, $tpl, ilCalendarCategories\_getInstance(), ilCalendarCategories\_lookupCategoryIdByObjId(), ilObject\_lookupObjId(), ilCalendarCategoryAssignments\getFirstAssignment(), ilYuiUtil\initDomEvent(), ilCheckboxInputGUI\setChecked(), ilDateTimeInputGUI\setDate(), ilTextInputGUI\setValue(), ilSelectInputGUI\setValue(), and ilTextAreaInputGUI\setValue().
Referenced by add(), and edit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
init seed
protected
| @return |
Definition at line 467 of file class.ilCalendarAppointmentGUI.php.
References $_GET, $seed, $timezone, ilDate\get(), IL_CAL_DATE, and IL_CAL_DATETIME.
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
init timezone
protected
| @return |
Definition at line 453 of file class.ilCalendarAppointmentGUI.php.
Referenced by __construct().
Here is the caller graph for this function:
|
protected |
load post
protected
| @return |
Definition at line 536 of file class.ilCalendarAppointmentGUI.php.
References IL_CAL_DATE, IL_CAL_FKT_GETDATE, loadRecurrenceSettings(), and ilUtil\stripSlashes().
Referenced by save(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
load recurrence settings
protected
Definition at line 581 of file class.ilCalendarAppointmentGUI.php.
References IL_CAL_FREQ_DAILY, IL_CAL_FREQ_MONTHLY, IL_CAL_FREQ_WEEKLY, IL_CAL_FREQ_YEARLY, and ilUtil\stripSlashes().
Referenced by load().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
save appointment
protected
Definition at line 235 of file class.ilCalendarAppointmentGUI.php.
References $ilErr, add(), ilCalendarCategoryAssignments\addAssignment(), createDefaultCalendar(), load(), saveRecurrenceSettings(), and ilUtil\sendInfo().
Here is the call graph for this function:
|
protected |
save recurrence settings
protected
| @return |
Definition at line 679 of file class.ilCalendarAppointmentGUI.php.
Referenced by save(), and update().
Here is the caller graph for this function:
|
protected |
show info screen
protected
Definition at line 309 of file class.ilCalendarAppointmentGUI.php.
References $tpl, ilObject\_getAllReferences(), ilCalendarCategories\_getInstance(), ilLink\_getStaticLink(), ilCalendarCategoryAssignments\_lookupCategory(), ilObject\_lookupType(), ilDatePresentation\formatPeriod(), and ilCalendarCategory\TYPE_OBJ.
Referenced by edit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
update
protected
Definition at line 363 of file class.ilCalendarAppointmentGUI.php.
References $ilErr, createDefaultCalendar(), ilCalendarCategoryAssignments\deleteAssignments(), edit(), load(), saveRecurrenceSettings(), and ilUtil\sendInfo().
Here is the call graph for this function:
|
protected |
Definition at line 41 of file class.ilCalendarAppointmentGUI.php.
Referenced by delete().
|
protected |
Definition at line 47 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 39 of file class.ilCalendarAppointmentGUI.php.
|
protected |
Definition at line 46 of file class.ilCalendarAppointmentGUI.php.
Referenced by __construct(), and createDefaultCalendar().
|
protected |
Definition at line 42 of file class.ilCalendarAppointmentGUI.php.
Referenced by initForm().
|
protected |
Definition at line 38 of file class.ilCalendarAppointmentGUI.php.
Referenced by initAppointment(), and initSeed().
|
protected |
Definition at line 43 of file class.ilCalendarAppointmentGUI.php.
Referenced by initSeed().
|
protected |
Definition at line 45 of file class.ilCalendarAppointmentGUI.php.
Referenced by add(), askDelete(), edit(), executeCommand(), initForm(), and showInfoScreen().