diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-09-26 15:57:39 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-09-26 15:57:39 -0400 |
commit | 9ca4b43a97ae92fad57b00ac0217d5b7078272fb (patch) | |
tree | cd16f66b175dad4be54f24533b1671015dd34699 /app/Core/Plugin/Loader.php | |
parent | 47c1bc965254dc539cd8996730fcc00546a32143 (diff) |
Add page to show the list of plugins
Diffstat (limited to 'app/Core/Plugin/Loader.php')
-rw-r--r-- | app/Core/Plugin/Loader.php | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ -22,6 +22,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 * * @access public @@ -55,6 +63,7 @@ class Loader extends \Core\Base Tool::buildDic($this->container, $instance->getClasses()); $instance->initialize(); + $this->plugins[] = $instance; } /** |