logo       

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

symfony-users

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

Thanks Eno, but that does not shows what I am looking for. It explains the configurations and yaml reading process, but I need to register a custom handler to use in a plugin.

2009/7/30 Eno <symbiat@xxxxxxxxx>

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