Him thank you for your reply, but this is getting tricky. The partial is used in many places by nearly every module and creating a component out of it because of one single call seems so inefficient.
Greetings Sam On 21 Apr., 20:14, Alistair Stead <[email protected]> wrote: > I would suggest you assign the value returned by sfConfig to a > php variable as part of the action. If the value is a string you should then > be able to access it directly. If it is a complex data type you will need to > use ESC_RAW. > Regards > > Alistair > > 2009/4/21 Sam <[email protected]> > > > > > Fine $sf_data is my friend when it comes to raw data, but how can I > > retrieve config values unescaped? > > > I have a call to sfConfig::get('sth') in a template since I need some > > config value there, but i get it escaped! > > So what can I do to get this value unescaped? > > The call occurs in a partial > > -- > Alistair Stead > Senior Interactive Developer > > Mobile: +44 (0) 7788 107 333 > Email: [email protected] > WWW: designdisclosure.com > > The information contained in this email is confidential and may contain > proprietary information. It is meant solely for the intended > recipient/recipients. Access to this email by anyone else is unauthorised. > If you are not the intended recipient, any disclosure, copying, distribution > or any action taken or omitted in reliance on this, is prohibited and may be > unlawful. Please consider the environment before printing this e-mail. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
