class Context implements ContextInterface (View source)

Properties

protected $actions
protected $controlTemplates

Methods

preferTemplateIfAvailable($template, $pkgHandle = null)

No description

preferActionIfAvailable($action)

No description

includeTemplateIfAvailable($template, $pkgHandle = null)

No description

runActionIfAvailable($action)

No description

getActions()

No description

getControlTemplates()

No description

setLocation(TemplateLocator $locator)

No description

render(Key $key, $value = null)

No description

Details

preferTemplateIfAvailable($template, $pkgHandle = null)

Parameters

$template
$pkgHandle

preferActionIfAvailable($action)

Parameters

$action

includeTemplateIfAvailable($template, $pkgHandle = null)

Parameters

$template
$pkgHandle

runActionIfAvailable($action)

Parameters

$action

getActions()

getControlTemplates()

TemplateLocator setLocation(TemplateLocator $locator)

Parameters

TemplateLocator $locator

Return Value

TemplateLocator

render(Key $key, $value = null)

Parameters

Key $key
$value