symfony API

sfPluginConfiguration 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.

sfPluginConfiguration represents a configuration for a symfony plugin.

Inheritence

sfPluginConfigurationGeneric, sfDoctrinePluginConfiguration  <  sfPluginConfiguration

Method Summary

Method Details

  • configure () Browse code

    Configures the plugin.


    This method is called before the plugin's classes have been added to sfAutoload.

  • (array) filterAutoloadConfig ($event, $config) Browse code

    $event
    $config

    Filters sfAutoload configuration values.

  • (string) getName () Browse code

    Returns the plugin name.

  • (string) getRootDir () Browse code

    Returns the plugin root directory.

  • (string) guessName () Browse code

    Guesses the plugin name.

  • (string) guessRootDir () Browse code

    Guesses the plugin root directory.

  • initialize () Browse code

    Initializes the plugin.


    This method is called after the plugin's classes have been added to sfAutoload.

    returns If false sfApplicationConfiguration will look for a config.php (maintains BC with symfony < 1.2)

  • initializeAutoload () Browse code

    Initializes autoloading for the plugin.


    This method is called when a plugin is initialized in a project configuration. Otherwise, autoload is handled in sfApplicationConfiguration using sfAutoload.

  • setup () Browse code

    Sets up the plugin.


    This method can be used when creating a base plugin configuration class for other plugins to extend.

  • __construct ($configuration, $rootDir = null, $name = null) Browse code

    $configuration The project configuration
    $rootDir The plugin root directory
    $name The plugin name

    Constructor.