+ /** List the plugins that are active in a given context
+ *
+ * @param $page
+ */
+ function getPlugins($page = 0)
+ {
+ $plugins = array();
+ foreach ($this->pluginsCache as $plug)
+ {
+ if ($plug['page'] == $page)
+ {
+ array_push($plugins, $plug);
+ }
+ }
+ return $plugins;
+ }
+
+