symfony API

sfPropel Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

Initialization for propel and i18n propel integration.

Method Summary

Method Details

  • clearAllInstancePools () Browse code

    Clears all instance pools.

  • (string) getDefaultCulture () Browse code

    Return the default culture

    returns the default culture

  • import ($path) Browse code

    $path

    Include once a file specified in DOT notation and return unqualified classname.


    This method is the same as in Propel::import(). The only difference is that this one takes the autoloading into account.

  • initialize ($dispatcher, $culture = null) Browse code

    $dispatcher
    $culture

    Initialize sfymfony propel

  • listenToChangeCultureEvent ($event) Browse code

    $event An sfEvent instance

    Listens to the user.change_culture event.

  • setDefaultCulture ($culture) Browse code

    $culture

    Sets the default culture