|
Stud.IP
2.0 Revision 48548
|


Public Member Functions | |
| index_action ($days=false) | |
| addEntry_action ($id=false) | |
| entry_action ($id=false, $cycle_id=false) | |
| entryajax_action ($id, $cycle_id=false) | |
| groupedentry_action ($start, $end, $seminars, $ajax=false) | |
| delete_action ($id) | |
| editseminar_action ($seminar_id, $cycle_id) | |
| addvirtual_action ($seminar_id) | |
| adminbind_action ($seminar_id, $cycle_id, $visible, $ajax=false) | |
| unbind_action ($seminar_id, $cycle_id=false, $ajax=false) | |
| bind_action ($seminar_id, $cycle_id, $ajax=false) | |
| settings_action () | |
| storesettings_action ($start_hour=false, $end_hour=false, $days=false, $semester_id=false) | |
Public Member Functions inherited from AuthenticatedController | |
| before_filter (&$action, &$args) | |
| after_filter ($action, $args) | |
Public Member Functions inherited from StudipController | |
| validate_args (&$args, $types=NULL) | |
| url_for ($to) | |
| rescue ($exception) | |
Personal schedule controller.
| addEntry_action | ( | $id = false | ) |
this action is called whenever a new entry shall be modified or added to the schedule
| string | $id | optional, if id given, the entry with this id is updated |

| addvirtual_action | ( | $seminar_id | ) |
Adds the appointments of a course to your schedule.
| string | the ID of the course |

| adminbind_action | ( | $seminar_id, | |
| $cycle_id, | |||
| $visible, | |||
$ajax = false |
|||
| ) |
Set the visibility of the course.
| string | the ID of the course |
| string | the ID of the cycle |
| string | visibility; either '1' or '0' |
| string | if you give this optional param, it signals an Ajax request |

| bind_action | ( | $seminar_id, | |
| $cycle_id, | |||
$ajax = false |
|||
| ) |
Show the given appointment.
| string | the ID of the course |
| string | the ID of the cycle |
| string | if you give this optional param, it signals an Ajax request |

| delete_action | ( | $id | ) |
delete the entry of the submitted id (only entry belonging to the current use can be deleted)
| string | $id | the id of the entry to delete |

| editseminar_action | ( | $seminar_id, | |
| $cycle_id | |||
| ) |
store the color-settings for the seminar
| string | $seminar_id |

this action keeps the entry of the submitted_id and enables displaying of the entry-dialog. If no id is submitted, an empty entry_dialog is displayed.
| string | $id | the id of the entry to edit (if any), false otherwise. |

| entryajax_action | ( | $id, | |
$cycle_id = false |
|||
| ) |
Return an HTML fragment containing a form to edit an entry
| string | the ID of a course |
| string | an optional cycle's ID |

| groupedentry_action | ( | $start, | |
| $end, | |||
| $seminars, | |||
$ajax = false |
|||
| ) |
Returns an HTML fragment of a grouped entry in the schedule of an institute.
| string | the start time of the group, e.g. "1000" |
| string | the end time of the group, e.g. "1200" |
| string | the ID of the institute |
| string | true if this is an Ajax request |

| index_action | ( | $days = false | ) |
this action is the main action of the schedule-controller, setting the environment for the timetable, accepting a comma-separated list of days.
| string | a list of an arbitrary mix of the numbers 0-6, separated with a comma (e.g. 1,2,3,4,5 (for Monday to Friday, the default)) |

| settings_action | ( | ) |
Show the settings' form.
| storesettings_action | ( | $start_hour = false, |
|
$end_hour = false, |
|||
$days = false, |
|||
$semester_id = false |
|||
| ) |
Store the settings
| string | the start time of the calendar to show, e.g. "1000" |
| string | the end time of the calendar to show, e.g. "1200" |
| string | the days to show |
| string | the ID of the semester |

Hide the give appointment.
| string | the ID of the course |
| string | the ID of the cycle |
| string | if you give this optional param, it signals an Ajax request |
