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.
Thursday, March 24, 2011
Getting Raw Data from Action to Template
Thanks Stéphane of Google Groups
Wednesday, March 23, 2011
Clean Everything
php symfony doctrine:build --all-classes --sql
php symfony doctrine:migrate
php symfony plugin:publish-assets
php symfony cc
Thursday, March 17, 2011
Symfony admin generator: problems with routing and multiple primary keys
Got the solution from: Symfony admin generator: problems with routing and multiple primary keys
Thanks bit2bit.it, whoever you are.. ;)
You can easily solve this issue by entering a complex rule using the very same primary keys you defined in your schema.yml. Assuming the “myModule” model has two primary keys “myKey1″ and “myKey2″, you can change your route like the followingcolumn: myKey1/:myKey2here you go: solved!
Thursday, March 10, 2011
Subscribe to:
Posts (Atom)