Global variables in presenters
Notice: This thread is very old.
- bafoed
- Member | 6
How can I define global variables for all presenters?
For all templates I can use beforeRender() function. But this don't work with
presenters.
For example, i want to store $lang variable in all presenters.
Overwriting __construct of BasePresenter (with parent::__construct()) throws an
Exception.
P.S. Sorry for bad English.