class ViewHelper extends AbstractHelper (View source)

deprecated

Class ViewHelper

Methods

__construct(HelperSet $parent = null)

Class init.

getParent()

Method to get property Parent

setParent(HelperSet $parent)

Method to set property parent

static array
getGlobalVariables(AbstractPackage $package = null)

getGlobalVariables

string
getId(Data $view)

getId

string
getClass(Data $view)

getClass

bool|string
isActiveRoute(string $route)

isActiveRoute

static string
showFlash(array $flashes)

showFlash

Details

__construct(HelperSet $parent = null)

Class init.

Parameters

HelperSet $parent

HelperSet getParent()

Method to get property Parent

Return Value

HelperSet

AbstractHelper setParent(HelperSet $parent)

Method to set property parent

Parameters

HelperSet $parent

Return Value

AbstractHelper Return self to support chaining.

at line line 36
static array getGlobalVariables(AbstractPackage $package = null)

getGlobalVariables

Parameters

AbstractPackage $package

Return Value

array

at line line 67
string getId(Data $view)

getId

Parameters

Data $view

Return Value

string

at line line 79
string getClass(Data $view)

getClass

Parameters

Data $view

Return Value

string

at line line 91
bool|string isActiveRoute(string $route)

isActiveRoute

Parameters

string $route

Return Value

bool|string

at line line 115
static string showFlash(array $flashes)

showFlash

Parameters

array $flashes

Return Value

string