title: Generator.yml using DB value [Symfony]
body: <p>I'm new using symfony, and I can't seem to find a proper solution to my problem.</p>
  
  <p>The thing is, I have a backend module with all the configuration for the website (sitename, items per page, default style). I want to configure the generator.yml file so in the list field I can set the value of max_per_page not as a static number but fetched from the database. </p>
  
  <p>I know I could use php code in that file but since it's cached I don't think that'd be the best solution. My generator.yml file looks like this: </p>
  
  <pre><code>generator:
  class: sfDoctrineGenerator
  param:
  model_class:           PodcastUsers
  theme:                 admin
  non_verbose_templates: true
  with_show:             false
  singular:              ~
  plural:                ~
  route_prefix:          podcast_users
  with_doctrine_route:   true
  actions_base_class:    sfActions
  
  config:
    actions: ~
    fields:  ~
    list:
      max_per_page: 10;
    filter:  ~
    form:    ~
    edit:    ~
    new:     ~
  </code></pre>
  
  <p>Is there any way to initialize the max_per_page value from the code somewhere so if I change that number in the db it'd be instantly refreshed?</p>
  
  <p>Thanks in advance!</p>