Might just be a typo, but you're calling getInstance while the
method you show is called createInstance..
Daniel
On Oct 11, 1:43 pm, wickass wick...@gmail.com wrote:
Im trying to pass a single instance of a helper object to the view by
making use of template.filter_parameters event. However
Hi Daniel
Yes this is a typo in my post code should look like the following
public function setup()
{
// ...
$this-dispatcher-connect('template.filter_parameters', array(
$this, 'templateFilterParameters'
));
}
public function templateFilterParameters(sfEvent $event, $parameters)
{