|
| before_filter (&$action, &$args) |
|
| index_action () |
|
| editSemester_action () |
|
| editDate_action ($termin_id) |
|
| saveDate_action ($termin_id) |
|
| createSingleDate_action () |
|
| saveSingleDate_action () |
|
| undeleteSingle_action ($termin_id, $from_dates=false) |
|
| stack_action ($cycle_id='') |
|
| saveStack_action ($cycle_id='') |
|
| createCycle_action ($cycle_id=null) |
|
| saveCycle_action () |
|
| editCycle_action ($cycle_id) |
|
| deleteCycle_action ($cycle_id) |
|
| cancel_action ($termin_id) |
|
| saveComment_action ($termin_id) |
|
| getNewEndOffset ($cycle, $old_start_weeks, $new_start_weeks) |
|
| redirect ($to) |
|
| relocate ($to) |
|
| before_filter (&$action, &$args) |
|
| perform ($unconsumed_path) |
|
| after_filter ($action, $args) |
|
| validate_args (&$args, $types=NULL) |
|
| url_for ($to='') |
|
| link_for ($to='') |
|
| relocate ($to) |
|
| rescue ($exception) |
|
| render_json ($data) |
|
| render_csv ($data, $filename=null, $delimiter=';', $enclosure='"') |
|
| relay ($to_uri) |
|
| perform_relayed ($unconsumed) |
|
| render_template_as_string ($template, $layout=null) |
|
◆ before_filter()
before_filter |
( |
& |
$action, |
|
|
& |
$args |
|
) |
| |
Common actions before any other action
- Parameters
-
String | $action | Action to be executed |
Array | $args | Arguments passed to the action |
- Exceptions
-
Trails_Exception | when either no course was found or the user may not access this area |
◆ cancel_action()
cancel_action |
( |
|
$termin_id | ) |
|
Add information to canceled / holiday date
- Parameters
-
String | $termin_id | Id of the date |
◆ createCycle_action()
createCycle_action |
( |
|
$cycle_id = null | ) |
|
Creates a cycle.
- Parameters
-
String | $cycle_id | Id of the cycle to be created (optional) |
◆ createSingleDate_action()
createSingleDate_action |
( |
| ) |
|
◆ deleteCycle_action()
deleteCycle_action |
( |
|
$cycle_id | ) |
|
Deletes a cycle
- Parameters
-
String | $cycle_id | Id of the cycle to be deleted |
◆ editCycle_action()
editCycle_action |
( |
|
$cycle_id | ) |
|
Edits a cycle
- Parameters
-
String | $cycle_id | Id of the cycle to be edited |
◆ editDate_action()
editDate_action |
( |
|
$termin_id | ) |
|
Primary function to edit date-informations
- Parameters
-
| $termin_id | |
null | $metadate_id | |
◆ editSemester_action()
Edit the start-semester of a course
- Exceptions
-
◆ getNewEndOffset()
getNewEndOffset |
( |
|
$cycle, |
|
|
|
$old_start_weeks, |
|
|
|
$new_start_weeks |
|
) |
| |
Calculates new end_offset value for given SeminarCycleDate Object
- Parameters
-
- Returns
- int
◆ index_action()
Displays the times and rooms of a course
- Parameters
-
mixed | $course_id | Id of the course (optional, defaults to globally selected) |
◆ redirect()
Redirects to another location.
- Parameters
-
◆ relocate()
Relocates to another location if not from dialog
- Parameters
-
◆ saveComment_action()
saveComment_action |
( |
|
$termin_id | ) |
|
Saves a comment for a given date.
- Parameters
-
String | $termin_id | Id of the date |
◆ saveCycle_action()
◆ saveDate_action()
saveDate_action |
( |
|
$termin_id | ) |
|
Save date-information
- Parameters
-
- Exceptions
-
◆ saveSingleDate_action()
saveSingleDate_action |
( |
| ) |
|
Save Single Date
- Exceptions
-
◆ saveStack_action()
saveStack_action |
( |
|
$cycle_id = '' | ) |
|
Saves a stack/cycle.
- Parameters
-
String | $cycle_id | Id of the cycle to be saved. |
◆ stack_action()
stack_action |
( |
|
$cycle_id = '' | ) |
|
Performs a stack action defined by url parameter method.
- Parameters
-
String | $cycle_id | Id of the cycle the action should be performed upon |
◆ undeleteSingle_action()
undeleteSingle_action |
( |
|
$termin_id, |
|
|
|
$from_dates = false |
|
) |
| |
Restores a previously removed date.
- Parameters
-
String | $termin_id | Id of the previously removed date |
The documentation for this class was generated from the following file: