X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Fenv%2Fmodules%2Fmw_env_plugins.php;h=b9fe042d46a078f0a62e22da27cf4a6d056cda64;hb=61f37fc21cac669aa439d0681590f5ceccad3157;hp=fefbd04cdec4dfb07c6fbf64435405e9b10607a8;hpb=abc64414fdac6533c011c28b53cba6d28dee4f2a;p=mtweb diff --git a/mw/env/modules/mw_env_plugins.php b/mw/env/modules/mw_env_plugins.php index fefbd04..b9fe042 100644 --- a/mw/env/modules/mw_env_plugins.php +++ b/mw/env/modules/mw_env_plugins.php @@ -114,6 +114,14 @@ if(method_exists($impl, $method)) return $impl->$method($this); } + function loaded_plugins(){ + if($plugins = $this->plugins()){ + foreach($plugins as $plugin_name => $plugin){ + $plugin["impl"]->loaded($this); + } + } + } + # --------------------------------------------------------------------------------- # impl # @@ -191,6 +199,9 @@ return ""; } + function loaded($env){ + } + function install($env){ return true; }