this->testArray = array('1'=>'a', '2'=>'b', '3'=>'c');
Turning output escaping off
This happens when you have output escaping enabled in Symfony.If you don't need it you can turn it off in:
myapp/apps/frontend/config/settings.ymlFind the entry and set it to false.
all: escaping_strategy: false
Solution with keeping output escaping enabled
In the action.class.php:this->testArray = array('1'=>'a', '2'=>'b', '3'=>'c');In the template.php:
$myArray = $sf_data->getRaw('testArray');
0 comments:
Post a Comment