|
| before_filter (&$action, &$args) |
|
| extract_action_and_args ($string) |
|
| validate_args (&$args, $types=NULL) |
|
| index_action () |
|
| edit_action ($id=null) |
|
| save_action ($domain_id=null) |
|
| delete_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) |
|
| render_form (\Studip\Forms\Form $form) |
|
| 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') |
|
| render_spreadsheet (array $header, array $data, string $format, string $filename, ?string $filepath=null) |
|
◆ before_filter()
before_filter |
( |
& |
$action, |
|
|
& |
$args |
|
) |
| |
common tasks for all actions
◆ delete_action()
Delete an existing user domain.
◆ edit_action()
edit_action |
( |
|
$id = null | ) |
|
Edit an existing user domain.
◆ extract_action_and_args()
extract_action_and_args |
( |
|
$string | ) |
|
Extracts action and args from a string. Specialized to allow dots in the argument.
- Parameters
-
string | the processed string |
- Returns
- array an array with two elements - a string containing the action and an array of strings representing the args
◆ index_action()
Display the list of user domains.
◆ save_action()
save_action |
( |
|
$domain_id = null | ) |
|
Save changes to a user domain.
◆ validate_args()
validate_args |
( |
& |
$args, |
|
|
|
$types = NULL |
|
) |
| |
Validate arguments based on a list of given types. The types are: 'int', 'float', 'option' and 'string'. If the list of types is NULL or shorter than the argument list, 'option' is assumed for all remaining arguments. 'option' differs from Request::option() in that it also accepts the charaters '-' and ',' in addition to all word charaters.
- Parameters
-
array | an array of arguments to the action |
array | list of argument types (optional) |
The documentation for this class was generated from the following file: