Pix_Controller

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

 Methods

__call()

__call($func, $args) 

Parameters

$func

$args

__construct()

__construct() 

addCommonHelpers add common helper

addCommonHelpers() : void

static
access public

addDispatcher add new Dispatcher

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

static
access public

Parameters

$dispatcher

\Pix_Controller_Dispatcher\callable

addHelper add static helper in Pix_Controller

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

static
access public

Parameters

$helper

string

Helper name

$methods

array

$options

array

dispatch dispatch the request action

dispatch(string $data_path) : void

static
access public

Parameters

$data_path

string

draw draw a partial file

draw(string $filename) : string

access public

Parameters

$filename

string

Returns

stringoutput

getActionName get Action name

getActionName() : string

access public

Returns

string

getControllerName get Controller name

getControllerName() : string

access public

Returns

string

getHelperManager get Helper Manager

getHelperManager() : \Pix_Helper_Manager

static
access public

Returns

getURI get request URI

getURI() : string

access public

Returns

string

init()

init() 

noview finish action without drawing view

noview() : void

access public

redirect finish action and redirect to $url

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

access public

Parameters

$url

string

$code

int

redraw finish action and draw another partial $partial_name

redraw(string $partial_name) : void

access public

Parameters

$partial_name

string

setView set Controller view

setView(\Pix_Partial $v) : void

access public

Parameters

 Properties

 

$view

$view