It there an easy way to pass all the variables a template file has access to onto a partial when I have output escaping on?
I tend to create a template file, then refactor things into a partial at some point and it would seem that there would be an easy way to just pass all the same variables from the template to the partial and be done with it.
I have output escaping on and I can't just pass in $sf_data.
It look like calling a partial from within another partial is very simple...just pass in the variable $vars.
Edit: This is in regards to Symfony 1.2+