sfPluginConfiguration represents a configuration for a symfony plugin.
Method Details
-
Configures the plugin.
This method is called before the plugin's classes have been added to sfAutoload.
-
(array) filterAutoloadConfig ($event, $config)
Browse code
Filters sfAutoload configuration values.
-
Returns the plugin name.
-
(string) getRootDir ()
Browse code
Returns the plugin root directory.
-
Guesses the plugin name.
-
(string) guessRootDir ()
Browse code
Guesses the plugin root directory.
-
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)
-
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.
-
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.
|