\Thelia\Core\TemplateParserContext

The parser context is an application-wide context, which stores var-value pairs.

Theses pairs are injected in the parser and becomes available to the templates.

Summary

Methods
Properties
Constants
__construct()
setErrorForm()
setGeneralError()
getErrorForm()
clearErrorForm()
set()
remove()
get()
getIterator()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$store
N/A

Properties

$store

$store

Methods

setErrorForm()

setErrorForm(\Thelia\Form\BaseForm $form)

Parameters

\Thelia\Form\BaseForm $form

the errored form

setGeneralError()

setGeneralError( $error)

Parameters

$error

getErrorForm()

getErrorForm()

clearErrorForm()

clearErrorForm()

set()

set( $name,  $value)

Parameters

$name
$value

remove()

remove( $name)

Parameters

$name

get()

get( $name,  $default)

Parameters

$name
$default

getIterator()

getIterator()