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.
-
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, $sourceDirectory)
Browse code
| $plugin |
The plugin name
|
| $sourceDirectory |
|
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 ((sfEvent) $event)
Browse code
| $event |
An sfEvent instance
|
Listens to the plugin.post_install event.
-
ListenToPluginPostUninstall ((sfEvent) $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.
|