Base controller that all other controllers inherit from. More...
Public Member Functions | |
__construct ($input) | |
Base constructor - we probably want to do something here at some point. | |
index () | |
Index action. | |
Static Public Member Functions | |
static | redirect ($controller, $action= 'index') |
Do a HTTP Redirect to the specified controller and/or action. | |
Data Fields | |
$name | |
The name of the current page, if other than the controller name. | |
Protected Member Functions | |
flash ($message) | |
This will store message in session until it is read. | |
Protected Attributes | |
$input | |
input_nacoma_Model |
Base controller that all other controllers inherit from.
Contains helper methods
base_controller::__construct | ( | $ | input | ) |
Base constructor - we probably want to do something here at some point.
..
Reimplemented in bulk_delete_controller, copy_slaves_controller, and group_controller.
base_controller::flash | ( | $ | message | ) | [protected] |
This will store message in session until it is read.
$message | string |
InvalidArgumentException | if session is not started |
static base_controller::redirect | ( | $ | controller, | |
$ | action = 'index' | |||
) | [static] |
Do a HTTP Redirect to the specified controller and/or action.
$controller | string|base_controller | |
$action | string = 'index' |
InvalidArgumentException |