[symfony-users] Re: How to pass single instance of an Object to view

2010-10-12 Thread Richtermeister
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

[symfony-users] Re: How to pass single instance of an Object to view

2010-10-12 Thread wickass
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) {