base_controller Class Reference

Base controller that all other controllers inherit from. More...

Inheritance diagram for base_controller:
bulk_delete_controller copy_slaves_controller group_controller

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

Detailed Description

Base controller that all other controllers inherit from.

Contains helper methods


Constructor & Destructor Documentation

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.


Member Function Documentation

base_controller::flash ( message  )  [protected]

This will store message in session until it is read.

Parameters:
$message string
Exceptions:
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.

Parameters:
$controller string|base_controller
$action string = 'index'
Exceptions:
InvalidArgumentException 

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 21 Dec 2018 for nacoma by  doxygen 1.6.1