Not really. All settings.xml really does is compile a file full of 
AgaviConfig::set() calls for you from the settings you listed in the file...


On 22.10.2011, at 06:19, [email protected] wrote:

> Hi There,
> 
> i want to know that is it possible to save
> configs that I've set via AgaviConfig::set
> into settings.xml or not? for example i like
> to provide UI for admins of application to
> take it down by setting 'core.available'
> to false but after setting 'core.available'
> it won't get stored in settings.xml nor in
> cache of settings.xml.
> 
> 'core.available' is an example, i don't
> want to do it exactly here's exact code:
> 
>    AgaviConfig::set(
>        'Alerts.types', $config);
>    // returns true
> 
> also i don't want to store these settings
> into db cause I've to fetch em each time
> application runs & they change rarely.
> 
> does agavi provide such thing? (of course i
> can set it using SimpleXML - for example) or
> any suggestion about doing such things?
> 
> --
> Regards,
> Behrooz
> 
> 
> -- 
> You Rock! Your E-Mail Should Too! Signup Now at Rock.com and get 2GB of 
> Storage!
> 
> http://connections.rock.com/user/displayUserRegisterPage.kickAction?as=116748&STATUS=MAIN
> 
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to