Class Bluewater_Controller_Abstract

Overview

Class Abstract to handle Application MVC Controllers

author: Walter Torres <walter@torres.ws>
version: $Revision: 1.0 $
abstract:
PHPUnit: Not Defined
example: example not found

Located in /controller/abstract.php (line 58)


	
    		        
Properties Summary
object $helper
object $logger
Object $objCommand
string $view
boolean $_secure
Method Summary
void __construct ( &$objCommand, object $objCommand)
void _default ([ $_parameters = array()])
void _is_admin (void 0)
void _is_secure (void 0)
Properties
string $controllerAction = false (line 94)

Action [Method] Name

var: Action [Method] Name
since: 1.0
access: public
usedby: Bluewater_Controller_Abstract::__construct()
string $controllerName = false (line 83)

Controller Name

var: Controller Name
since: 1.0
access: public
usedby: Bluewater_Controller_Abstract::__construct()
string $controllerPath = false (line 105)

Path to Controller Class File

var: Path to Controller Class File
since: 1.0
access: public
object $helper = false (line 116)

Helper Object Container

var: Helper Object Container
since: 1.0
access: public
usedby: Bluewater_Controller_Abstract::__construct()
object $logger = false (line 127)

Logger Object Container

var: Logger Object Container
since: 1.0
access: public
usedby: Bluewater_Controller_Abstract::__construct()
Object $objCommand = false (line 72)

Command Object

var: Command Object
since: 1.0
access: public
usedby: Bluewater_Controller_Abstract::__construct()
string $view = 'index.phtml' (line 138)

Default view to run

var: Default view to run
since: 1.0
access: public
usedby: Bluewater_Controller_Abstract::__construct()
boolean $_secure = false (line 150)

Is this 'section' secure, requiring a user/admin login to access Set this in each controller as needed

var: Is this 'section' secure
since: 1.0
access: protected
usedby: Bluewater_Controller_Abstract::_is_admin()
usedby: Bluewater_Controller_Abstract::_is_secure()
Methods
Constructor __construct (line 186)

Class constructor.

PHPUnit: Not Defined
access: public
uses: Bluewater_Logger::getInstance()
uses: Bluewater_Controller_Abstract::_is_secure()
uses: Bluewater_View
uses: LOGGER_ERR
uses: LOGGER_TRACE
uses: LOGGER_SQL
uses: Bluewater_Controller_Abstract::$view
uses: Bluewater_View::$gui_name
uses: Bluewater_Controller_Abstract::$objCommand
uses: Bluewater_Config::helper()
uses: Bluewater_Auth::$logged_in
uses: Bluewater_Auth
uses: Bluewater_Controller_Abstract::$controllerAction
uses: Bluewater_Controller_Abstract::$controllerName
uses: Bluewater_Controller_Abstract::$logger
uses: Bluewater_Controller_Abstract::$helper
uses: Bluewater_Controller_Abstract::$objAuth
void __construct ( &$objCommand, object $objCommand)
  • object $objCommand: Command Controller Object
  • &$objCommand
_default (line 238)

Default action for this controller. This needs to be defined in the final class file.

abstract:
since: 1.0
PHPUnit: Not Defined
access: protected
void _default ([ $_parameters = array()])
  • array $_parameters: method parameters
_is_admin (line 283)

Returns a boolean indicating that this "section" needs have s ADMIN logged in before it can be accessed.

This method can not be redefined in the local class.

abstract:
since: 1.0
PHPUnit: Not Defined
access: protected
uses: Bluewater_Controller_Abstract::$_secure
void _is_admin (void 0)
  • void 0
_is_secure (line 259)

Returns a boolean indicating that this "section" needs have s USER logged in before it can be accessed.

This method can not be redefined in the local class.

abstract:
since: 1.0
PHPUnit: Not Defined
access: protected
usedby: Bluewater_Controller_Abstract::__construct()
uses: Bluewater_Controller_Abstract::$_secure
void _is_secure (void 0)
  • void 0

Documentation generated on Tue, 18 Aug 2009 02:30:10 -0500 by phpDocumentor 1.4.2