|
| before_filter (&$action, &$args) |
|
| index_action () |
|
| edit_action ($id=null) |
|
| delete_action ($id) |
|
| lock_action ($id) |
|
| unlock_action ($id) |
|
| before_filter (&$action, &$args) |
|
| before_filter (&$action, &$args) |
|
| erase_response () |
|
| perform ($unconsumed_path) |
|
| after_filter ($action, $args) |
|
| validate_args (&$args, $types=null) |
|
| url_for ($to= '') |
|
| link_for ($to= '') |
|
| redirect ($to) |
|
| relocate ($to) |
|
| rescue ($exception) |
|
| render_json ($data) |
|
| render_csv ($data, $filename=null, $delimiter= ';', $enclosure= '"') |
|
| render_file ($file, $filename=null, $content_type=null, $content_disposition= 'attachment', Closure $callback=null, $chunk_size=262144) |
|
| render_temporary_file ($file, $filename=null, $content_type=null, $content_disposition= 'attachment', Closure $callback=null, $chunk_size=262144) |
|
| relay ($to_uri) |
|
| relayWithRedirect (...$args) |
|
| perform_relayed ($unconsumed) |
|
| render_template_as_string ($template, $layout=null) |
|
| __call ($method, $arguments) |
|
| has_action ($action) |
|
| action_url ($action) |
|
| action_link ($action) |
|
| validate_datetime ($datetime, $format= 'H:i') |
|
before_filter |
( |
& |
$action, |
|
|
& |
$args |
|
) |
| |
common tasks for all actions
- Parameters
-
String | $action | Action that has been called |
Array | $args | List of arguments |
This method deletes a semester or a bundle of semesters.
- Parameters
-
string | $id | Id of the semester (or 'bulk' for a bulk operation) |
edit_action |
( |
|
$id = null | ) |
|
This method edits an existing semester or creates a new semester.
- Parameters
-
mixed | $id | Id of the semester or null to create a semester. |
getTimeStamp |
( |
|
$name, |
|
|
|
$time = '0:00:00' |
|
) |
| |
|
protected |
Checks a string if it is a valid date and returns the according unix timestamp if valid.
- Parameters
-
string | $name | Parameter name to extract from request |
string | $time | Optional time segment |
- Returns
- mixed Unix timestamp or false if not valid
Display all informations about the semesters
This method locks a semester or a bundle of semesters.
- Parameters
-
string | $id | Id of the semester (or 'bulk' for a bulk operation) |
Adds the content to sidebar
This method unlocks a semester or a bundle of semesters.
- Parameters
-
string | $id | Id of the semester (or 'bulk' for a bulk operation) |
Validates the semester for required valies, properness of values and possible overlaps with other semesters.
The validation is also divided into these three steps, so the next validation step only occurs when the previous one succeeded.
- Parameters
-
- Returns
- Array filled with errors
The documentation for this class was generated from the following file: