Thursday, March 24, 2011

Getting Raw Data from Action to Template

Thanks Stéphane of Google Groups

In a template, you can call $sf_data->getRaw('myActionProperty');
after init it like $this->myActionProperty = array('hey'=>'hoy'); inside an
action.
So you'll get your raw object : unescaped.

No comments:

Post a Comment