class Location extends Page (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
protected $theme from  Controller
protected $controllerActionPath
protected $themeViewTemplate from  Controller
protected $error from  UserInterface
protected $validationToken
protected Page $page from  Page
protected Permissions $permissions from  Page

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()

Override this method to perform controller initializations.

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

from  Page
canAccess()

No description

validateAction()

No description

setPageObject(Page $c)

No description

from  Page
view()

No description

submit()

No description

Details

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

__construct()

No description

mixed getRequest()

No description

Return Value

mixed

setRequest(mixed $request)

No description

Parameters

mixed $request

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.

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)

No description

Parameters

$key
$val

getSets()

No description

shouldRunControllerTask()

No description

getHelperObjects()

No description

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

No description

Parameters

$key
$defaultValue

getTask()

No description

getAction()

No description

getParameters()

No description

on_start()

Override this method to perform controller initializations.

on_before_render()

No description

isPost() deprecated

deprecated

No description

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

No description

Parameters

$key
$defaultValue

redirect()

No description

runTask($action, $parameters)

No description

Parameters

$action
$parameters

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

No description

Parameters

$action
$parameters

request($key = null)

No description

Parameters

$key

setViewObject(AbstractView $view)

No description

Parameters

AbstractView $view

setTheme($mixed)

No description

Parameters

$mixed

getTheme()

No description

setThemeViewTemplate($template)

No description

Parameters

$template

getThemeViewTemplate()

No description

getControllerActionPath()

No description

getViewObject()

No description

action()

No description

protected canAccess()

No description

protected validateAction()

No description

setPageObject(Page $c)

No description

Parameters

Page $c

view()

No description

submit()

No description