Member Function Documentation
Exception handler called when the performance of an action raises an exception.
- Parameters
-
object | the thrown exception |
Returns a URL to a specified route to your Trails application.
- Parameters
-
string | a string containing a controller and optionally an action |
strings | optional arguments |
- Returns
- string a URL to this route
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: