What you are seeing is the automatic output escaping in action. Turn
it off, look in the docs on how to deal with this or just do $sf_data-
>getRaw('varName');
Cheers, Daniel
Sent from my iPhone
On Apr 23, 2010, at 12:21 AM, Joshua <houseaddi...@gmail.com> wrote:
damnit. Restricted at every turn
Tell you what, run this RE on all your project folders then eat your
hat
find . -name "*Success.php" | xargs grep '*doSelect*' -sl
On Apr 22, 5:31 pm, Jonathan Wage <jonw...@gmail.com> wrote:
Hi,
The idea of a MVC is that you don't do any data retrieving or
manipulation
in your templates. You should do this in your controller and pass
the value
you want to your views.
- Jon
On Thu, Apr 22, 2010 at 5:24 PM, Joshua <houseaddi...@gmail.com>
wrote:
symfony version 1.4.4
In the action class I'm doing
$this->var = ClassPeer::doSelect($c);
When I print_r($this->var) it is an array but in the
indexSuccess.php
template it is
sfOutputEscaperArrayDecorator Object
In the template when I try to
unset($var[$x]);
I get escape error
[22-Apr-2010 21:06:49] Cannot unset values.
WTF?
--
If you want to report a vulnerability issue on symfony, please
send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com<symfony-users
%2bunsubscr...@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
--
Jonathan H. Wage (+1 415 992 5468)
Open Source Software Developer & Evangelist
sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org
You should follow me on Twitter:http://www.twitter.com/jwage
You can contact Jonathan about Doctrine, Symfony and Open-Source or
for
training, consulting, application development, or business related
questions
at jonathan.w...@sensio.com
--
If you want to report a vulnerability issue on symfony, please send
it to security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group athttp://groups.google.com/group/
symfony-users?hl=en
--
If you want to report a vulnerability issue on symfony, please send
it to security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en