Well, I finally solved my problem. Basically, use sfConfig::get() just
as one would from within the application itself.

Here's a post explaining how it works for other symfony newbies (and
an extra tip on how to flip-flop between environments):
http://www.homepluspower.info/2011/05/getting-configuration-values-from.html

On Apr 26, 3:38 pm, pantherse <panthe...@gmail.com> wrote:
> I just spent the day trying to figure out how can I get the value of a
> configuration item from within my symfony task.
>
> My configure function already adds the application and env options.
> Doing a var_dump on $this->configuration confirms that I have an
> sfApplicationConfiguration object. But how do I get the value stored
> within sfApplicationConfiguration::$config array?
>
> Thanks

-- 
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

Reply via email to