On Wednesday, August 15, 2007, Greg Freeman wrote: > What is the best way to store dynamic configuration in a symfony > application (i.e user-editable config in a backend application)
You can use yaml. To convert a PHP array to yaml: $yaml = sfYaml::dump($array) To convert yaml to PHP: $array = sfYaml::load($yaml); However, you should read up on configuration handlers to really achieve what you want: http://www.symfony-project.com/book/trunk/19-Mastering-Symfony-s-Configuration-Files#Understanding Configuration Handlers Carl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
