This class loads the plugins from the configuration and initializes them.

category phpDocumentor
package Plugin
author Mike van Riel
license MIT
link http://phpdoc.org

 Methods

Registers the Event Dispatcher, Confguration and Autoloader onto the Manager.

__construct(\sfEventDispatcher $event_dispatcher, \Zend_Config $configuration, \ZendX_Loader_StandardAutoloader $autoloader) 

Parameters

$event_dispatcher

\sfEventDispatcher

Event dispatcher that plugins can bind to and where events should be dispatched to.

$configuration

\Zend_Config

Configuration file which can be used to load parameters into the plugins.

$autoloader

\ZendX_Loader_StandardAutoloader

Plugins can additionally load classes; with the autoloader they can register themselves.

Loads the plugins from the configuration.

loadFromConfiguration() : \void.

If no plugins are presented in the configuration then only the 'Core' plugin will be loaded.

Returns

\void.

 Properties

 

$autoloader

$autoloader : \ZendX_Loader_StandardAutoloader

 

$configuration

$configuration : \phpDocumentor_Core_Config

 

$event_dispatcher

$event_dispatcher : \sfEventDispatcher

 

$plugins

$plugins : \phpDocumentor_Plugin