library/core/class.pluginmanager.php
public function Start($Force = FALSE) {
      
      if (function_exists('apc_fetch') && C('Garden.Apc', FALSE))
         $this->Apc = TRUE;

      // Build list of all available plugins
      $this->AvailablePlugins($Force);

      // Build list of all enabled plugins
      $this->EnabledPlugins($Force);

      // Include enabled plugin source files
      $this->IncludePlugins();

      // Register hooked methods
      $this->RegisterPlugins();
      
      $this->Started = TRUE;
      $this->FireEvent('AfterStart');
   }
public function Start($Force = FALSE) {
      
      if (function_exists('apc_fetch') && C('Garden.Apc', FALSE))
         $this->Apc = TRUE;

      // Build list of all available plugins
      $this->AvailablePlugins($Force);

      // Build list of all enabled plugins
      $this->EnabledPlugins($Force);

      // Include enabled plugin source files
      $this->IncludePlugins();

      // Register hooked methods
      $this->RegisterPlugins();
      
      $this->Started = TRUE;
      $this->FireEvent('AfterStart');
   }
public function Start ( $ Force = FALSE ) { if ( function_exists ( 'apc_fetch' ) && C ( 'Garden.Apc' , FALSE ) ) $ this -> Apc = TRUE ; // Build list of all available plugins $ this -> AvailablePlugins ( $ Force ) ; // Build list of all enabled plugins $ this -> EnabledPlugins ( $ Force ) ; // Include enabled plugin source files $ this -> IncludePlugins ( ) ; // Register hooked methods $ this -> RegisterPlugins ( ) ; $ this -> Started = TRUE ; $ this -> FireEvent ( 'AfterStart' ) ; }
Sets up the plugin framework

This method indexes all available plugins and extracts their information.
It then determines which plugins have been enabled, and includes them.
Finally, it parses all plugin files and extracts their events and plugged
methods.
Sets up the plugin framework