class Node extends UserInterface (View source)

Traits

Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface

Properties

protected Application $app from ApplicationAwareTrait
protected $helpers from AbstractController
protected $sets from AbstractController
protected $action from AbstractController
protected $request from AbstractController
protected $parameters from AbstractController
protected $view from Controller
protected $viewPath from Controller
protected $theme from Controller
protected $controllerActionPath from Controller
protected $themeViewTemplate from Controller
protected $error from UserInterface
protected $validationToken from UserInterface

Methods

setApplication(Application $app)

Setter method for the application

__construct()

No description

mixed
getRequest()

No description

setRequest(mixed $request)

No description

requireAsset()

No description

addHeaderItem(string $item)

Adds an item to the view's header. This item will then be automatically printed out before the section of the page.

addFooterItem(string $item)

Adds an item to the view's footer. This item will then be automatically printed out before the section of the page.

set($key, $val)

No description

getSets()

No description

shouldRunControllerTask()

No description

getHelperObjects()

No description

get($key = null, $defaultValue = null)

No description

getTask()

No description

getAction()

No description

getParameters()

No description

on_start()

No description

on_before_render()

No description

isPost() deprecated

No description

post($key = null, $defaultValue = null)

No description

redirect()

No description

runTask($action, $parameters)

No description

runAction($action, $parameters = array())

No description

request($key = null)

No description

setViewObject(AbstractView $view)

No description

setTheme($mixed)

No description

getTheme()

No description

setThemeViewTemplate($template)

No description

getThemeViewTemplate()

No description

getControllerActionPath()

No description

getViewObject()

No description

action()

No description

canAccess()

No description

validateAction()

No description

getNode()

No description

view()

No description

Details

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

__construct()

mixed getRequest()

Return Value

mixed

setRequest(mixed $request)

Parameters

mixed $request

requireAsset()

addHeaderItem(string $item)

Adds an item to the view's header. This item will then be automatically printed out before the section of the page.

Parameters

string $item

addFooterItem(string $item)

Adds an item to the view's footer. This item will then be automatically printed out before the section of the page.

Parameters

string $item

set($key, $val)

Parameters

$key
$val

getSets()

shouldRunControllerTask()

getHelperObjects()

get($key = null, $defaultValue = null)

Parameters

$key
$defaultValue

getTask()

getAction()

getParameters()

on_start()

on_before_render()

isPost() deprecated

deprecated

post($key = null, $defaultValue = null)

Parameters

$key
$defaultValue

redirect()

runTask($action, $parameters)

Parameters

$action
$parameters

runAction($action, $parameters = array())

Parameters

$action
$parameters

request($key = null)

Parameters

$key

setViewObject(AbstractView $view)

Parameters

AbstractView $view

setTheme($mixed)

Parameters

$mixed

getTheme()

setThemeViewTemplate($template)

Parameters

$template

getThemeViewTemplate()

getControllerActionPath()

getViewObject()

action()

abstract protected canAccess()

protected validateAction()

protected getNode()

view()