From 9ca4b43a97ae92fad57b00ac0217d5b7078272fb Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 26 Sep 2015 15:57:39 -0400 Subject: Add page to show the list of plugins --- app/Core/Plugin/Loader.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app/Core/Plugin/Loader.php') diff --git a/app/Core/Plugin/Loader.php b/app/Core/Plugin/Loader.php index 04b2bfff..9a884dae 100644 --- a/app/Core/Plugin/Loader.php +++ b/app/Core/Plugin/Loader.php @@ -21,6 +21,14 @@ class Loader extends \Core\Base */ const TABLE_SCHEMA = 'plugin_schema_versions'; + /** + * Plugin instances + * + * @access public + * @var array + */ + public $plugins = array(); + /** * Scan plugin folder and load plugins * @@ -55,6 +63,7 @@ class Loader extends \Core\Base Tool::buildDic($this->container, $instance->getClasses()); $instance->initialize(); + $this->plugins[] = $instance; } /** -- cgit v1.2.3