コード例 #1
0
 /**
  * @brief load the user plugins
  * 
  * This loads up plugins that are installed and active but not part of 
  * the core.
  * 
  * @access public
  * 
  * @return void 
  */
 public static function loadInstalled()
 {
     $object = new StdClass();
     foreach ((array) self::listPlugins('notLoaded') as $plugin) {
         self::load($plugin);
         EventCore::trigger($object, $plugin . '.requireLibs');
         configureCache(EventCore::trigger($object, $plugin . '.setupCache'));
         EventCore::loadEventHandler($plugin);
     }
 }