/** * Update active plugins list for manager. */ public function readPluginsList() { $this->activePlugins = array(); /* read all plugins from DB */ $plugins = $this->pluginService->findActivePlugins(); usort($plugins, array(__CLASS__, 'sortPlugins')); /* @var $value BOL_Plugin */ foreach ($plugins as $value) { $this->activePlugins[$value->getKey()] = $this->pluginService->getPluginObject($value); } }