weedo tech blog

le blog technique de la team weedo

  • Home
  • Ka on twitter
    • Edit
    • Delete
    • Tags
    • Autopost

    Accéder à des infos de configuration du projet

    Lire la partie sous
    "The sfConfig Class"
    dans http://www.symfony-project.org/book/1_0/05-Configuring-Symfony

    et l'API dans
    http://www.symfony-project.org/api/1_2/sfConfig

    Ça permet notamment d'obtenir tous les nom des dossiers de symfony, et c'est la seule manière autorisée d'y accéder.

    Si vous êtes curieux, un var_dump(sfConfig::getAll()) vous permettra d'afficher toutes les variables de configuration

    Tags » symfony123
    • 12 November 2009
    • Views
    • 0 Comments
    • Permalink
    • Favorited 0 Times
    • Tweet
    • Tweet

    Comments 0 Comments

    Leave a Comment

  • About Karim Cassam Chenaï

    My Google Profile

  • Contributors

    • Ballut Vincent
    • fix
    • Karim Cassam Chenaï
  • Subscribe

    Subscribe to this posterous
    Unsubscribe
    Follow this posterous RSS
    You're a contributor here (Edit)
    This is your Space (Edit)
    Follow by email »
    Get the latest updates in your email box automatically.
  • Follow Me

      Delicious

Theme created for Posterous by Obox