|
| before_filter (&$action, &$args) |
|
| index_action () |
|
| info_action ($request_id) |
|
| new_action () |
|
| request_start_action ($request_id= '') |
|
| request_select_properties_action ($request_id= '') |
|
| request_select_room_action ($request_id) |
|
| request_summary_action ($request_id=null) |
|
| request_store_action () |
|
| delete_action ($request_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 | Called action |
array | $args | Possible arguments |
delete_action |
( |
|
$request_id | ) |
|
getRequestInstanceFromSession |
( |
|
$request_id | ) |
|
|
protected |
Returns a request instance that gets all its data set from the session. This is useful if a new request is being created.
& getRequestSessionData |
( |
|
$request_id = null | ) |
|
|
protected |
Returns a reference to the session data array for the specified request-ID.
Display the list of room requests
info_action |
( |
|
$request_id | ) |
|
Show information about a request
- Parameters
-
String | $request_id | Id of the request |
loadData |
( |
|
$session_data, |
|
|
|
$step = 1 |
|
) |
| |
|
protected |
This method loads data for the request editing actions. Depending on the editing step, more or less data have to be loaded.
- Parameters
-
array | $session_data | Request data stored in the session. |
int | $step | The editing step: 1 = request_start 2 = request_select_properties 3 = request_select_room 4 = request_overview |
create a new room request
request_select_properties_action |
( |
|
$request_id = '' | ) |
|
This action is called from request_start in the case that a resource category has been selected.
request_select_room_action |
( |
|
$request_id | ) |
|
This action is called either directly from request_start (in case a room name is set but no resource category) or after selecting properties in request_select_properties. It searches for rooms depending on the selected properties or the selected name.
request_start_action |
( |
|
$request_id = '' | ) |
|
This action is the entry point for adding properties to a room request.
Stores the request. This is called from request_summary, request_select_room and request_select_properties after the user clicked on "save" or "save and close".
request_summary_action |
( |
|
$request_id = null | ) |
|
This action is either called from request_select_room after a room has been selected, from request_select_properties after properties have been selected or when an existing request shall be edited.
The documentation for this class was generated from the following file: