]> git.wh0rd.org - tt-rss.git/blobdiff - classes/pluginhost.php
make_init_params: add plugins
[tt-rss.git] / classes / pluginhost.php
index 472f201860ea1ce48844d119caa96cd50cdd771f..19f8b563b145b41ed23fd54304a0a5e0777cc4c1 100644 (file)
@@ -75,6 +75,16 @@ class PluginHost {
                return $this->dbh;
        }
 
+       function get_plugin_names() {
+               $names = array();
+
+               foreach ($this->plugins as $p) {
+                       array_push($names, get_class($p));
+               }
+
+               return $names;
+       }
+
        function get_plugins() {
                return $this->plugins;
        }