logo       

[symfony-users] Re: How do I create a plugin specific configuration file?: msg#00870

symfony-users

Subject: [symfony-users] Re: How do I create a plugin specific configuration file?


On Thu, 30 Jul 2009, Bruno Reis wrote:

> I have a plugin that needs to be configurated with a yml config file. How do
> I register this configuration file so that I can read the values with
> sfConfig::get?
> And what is the appropriate place to put this file? config/pluginName ?

http://www.symfony-project.org/book/1_2/05-Configuring-Symfony#chapter_05_sub_module_configuration

> Is there a way to auto-generate this file on plugin instalation?

Maybe you can override the plugin:publish-assets task?



--



--~--~---------~--~----~------------~-------~--~----~
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
symfony-users+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise