symfony API

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

sfSymfonyPluginManager allows you to manage symfony plugins installation and uninstallation.

Inheritence

sfSymfonyPluginManager  <  sfPluginManager

Method Summary

Methods inherited from sfPluginManager

checkDependency , checkPluginDependencies , configure , doInstallPlugin , getEnvironment , getInstalledPlugins , getPluginLicense , getPluginVersion , initialize , installPlugin , isPluginCompatible , isPluginCompatibleWithDependency , uninstallPlugin , __construct

Method Details

  • configure () Browse code

    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

    $plugin The plugin name

    Unnstalls web content for a plugin.