sfSymfonyPluginManager allows you to manage symfony plugins installation and uninstallation.
Method Summary
checkDependency , checkPluginDependencies , configure , doInstallPlugin , getEnvironment , getInstalledPlugins , getPluginLicense , getPluginVersion , initialize , installPlugin , isPluginCompatible , isPluginCompatibleWithDependency , uninstallPlugin , __construct
Method Details
-
Configures this plugin manager.
-
disablePlugin ($plugin, $configDir)
Browse code
| $plugin |
The name of the plugin |
| $configDir |
The config directory |
Disables a plugin in the ProjectConfiguration class.
This is a static method that does not rely on the PEAR environment
as we don't want this method to have PEAR as a dependency.
-
enablePlugin ($plugin, $configDir)
Browse code
| $plugin |
The name of the plugin |
| $configDir |
The config directory |
Enables a plugin in the ProjectConfiguration class.
This is a static method that does not rely on the PEAR environment
as we don't want this method to have PEAR as a dependency.
-
initialize ($dispatcher, $environment)
Browse code
| $dispatcher |
An event dispatcher instance |
| $environment |
A sfPearEnvironment instance |
Initializes this sfPluginManager instance.
Available options: * web_dir: The directory where to plugins assets (images, stylesheets, javascripts, ...) See sfPluginManager for other options.
-
installWebContent ($plugin)
Browse code
Installs web content for a plugin.
-
(Boolean) isPluginCompatibleWithDependency ($dependency)
Browse code
| $dependency |
A dependency array |
Returns true if the plugin is comptatible with the dependency.
returns true if the plugin is compatible, false otherwise
-
listenToPluginPostInstall ($event)
Browse code
| $event |
An sfEvent instance |
Listens to the plugin.post_install event.
-
listenToPluginPostUninstall ($event)
Browse code
| $event |
An sfEvent instance |
Listens to the plugin.post_uninstall event.
-
registerSymfonyPackage ()
Browse code
Registers the symfony package for the current version.
-
uninstallWebContent ($plugin)
Browse code
Unnstalls web content for a plugin.
|