Pix_Controller_DefaultErrorController

package Controller
copyright 2003-2012 PIXNET Digital Media Corporation
license BSD License

 Methods

__call()

__call($func, $args) 
Inherited

inherited_from \Pix_Controller::__call()

Parameters

$func

$args

__construct()

__construct() 
Inherited

inherited_from \Pix_Controller::__construct()

addCommonHelpers add common helper

addCommonHelpers() : void
Inherited

static
access public
inherited_from \Pix_Controller::addCommonHelpers()

addDispatcher add new Dispatcher

addDispatcher(\Pix_Controller_Dispatcher | \callable $dispatcher) : void
Inherited

static
access public
inherited_from \Pix_Controller::addDispatcher()

Parameters

$dispatcher

\Pix_Controller_Dispatcher\callable

addHelper add static helper in Pix_Controller

addHelper(string $helper, array $methods, array $options) : void
Inherited

static
access public
inherited_from \Pix_Controller::addHelper()

Parameters

$helper

string

Helper name

$methods

array

$options

array

dispatch dispatch the request action

dispatch(string $data_path) : void
Inherited

static
access public
inherited_from \Pix_Controller::dispatch()

Parameters

$data_path

string

draw draw a partial file

draw(string $filename) : string
Inherited

access public
inherited_from \Pix_Controller::draw()

Parameters

$filename

string

Returns

stringoutput

errorAction()

errorAction() 

getActionName get Action name

getActionName() : string
Inherited

access public
inherited_from \Pix_Controller::getActionName()

Returns

string

getControllerName get Controller name

getControllerName() : string
Inherited

access public
inherited_from \Pix_Controller::getControllerName()

Returns

string

getHelperManager get Helper Manager

getHelperManager() : \Pix_Helper_Manager
Inherited

static
access public
inherited_from \Pix_Controller::getHelperManager()

Returns

getURI get request URI

getURI() : string
Inherited

access public
inherited_from \Pix_Controller::getURI()

Returns

string

init()

init() 
Inherited

inherited_from \Pix_Controller::init()

noview finish action without drawing view

noview() : void
Inherited

access public
inherited_from \Pix_Controller::noview()

redirect finish action and redirect to $url

redirect(string $url, int $code) : void
Inherited

access public
inherited_from \Pix_Controller::redirect()

Parameters

$url

string

$code

int

redraw finish action and draw another partial $partial_name

redraw(string $partial_name) : void
Inherited

access public
inherited_from \Pix_Controller::redraw()

Parameters

$partial_name

string

setView set Controller view

setView(\Pix_Partial $v) : void
Inherited

access public
inherited_from \Pix_Controller::setView()

Parameters

 Properties

 

$view

$view 
Inherited

inherited_from \Pix_Controller::$$view