[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 66 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ActionException:: (3 methods):
__construct()
getNewAction()
displayToUser()
Class: ActionException - X-Ref
Class ActionException__construct($newaction = null, $message = '') X-Ref |
ActionException constructor. When no new action is given 'show' is assumed. For requests that originated in a POST, a 'redirect' is used which will cause a redirect to the 'show' action. param: string|null $newaction the action that should be used next param: string $message optional message, will not be shown except for some dub classes |
getNewAction() X-Ref |
Returns the action to use next return: string |
displayToUser($set = null) X-Ref |
Should this Exception's message be shown to the user? param: null|bool $set when null is given, the current setting is not changed return: bool |