-
Returns the PEAR Config instance.
returns The PEAR Config instance
-
(object) getFrontend ()
Browse code
Returns the PEAR Frontend instance.
returns The PEAR Frontend instance
-
(mixed) getOption ($name)
Browse code
| $name |
The configuration name |
Returns a configuration value.
returns The configuration value
-
(object) getRegistry ()
Browse code
Returns the PEAR Registry instance.
returns The PEAR Registry instance
-
Returns the PEAR Rest instance.
returns The PEAR Rest instance
-
(boolean) hasOption ($name)
Browse code
| $name |
The configuration name |
Returns whether configuration name exists.
returns True if configuration name exists
-
initialize ($dispatcher, $options)
Browse code
| $dispatcher |
An event dispatcher instance |
| $options |
An array of options |
Initializes this sfPluginManager instance.
Available options:
* plugin_dir: The directory where to put plugins
* cache_dir: The local PEAR cache directory
* rest_base_class: The base class for REST calls (default to sfPearRest)
(mainly used for testing)
* downloader_base_class: The base class for downloads (default to sfPearDownloader)
(mainly used for testing)
-
initializeConfiguration ($pluginDir, $cacheDir)
Browse code
| $pluginDir |
The plugin path |
| $cacheDir |
The cache path |
Registers the PEAR Configuration instance.
-
Initializes the PEAR Frontend instance.
-
Initializes the PEAR Registry instance.
-
registerChannel ($channel, $isDefault)
Browse code
| $channel |
The channel name |
| $isDefault |
true if this is the default PEAR channel, false otherwise |
Registers a PEAR channel.
-
setOption ($name, $value)
Browse code
| $name |
The configuration name |
| $value |
The configuration value |
Sets a configuration value.
-
__construct ($dispatcher, $options)
Browse code
| $dispatcher |
An event dispatcher instance |
| $options |
An array of options |
Constructs a new sfPluginManager.