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
#
return "";
}
+ function loaded($env){
+ }
+
function install($env){
return true;
}
$env->load_versions();
$env->load_config($this->bdd, $this->config);
$env->init();
+ $env->loaded_plugins();
if(($res = $env->init_data_upgrades()) !== true){
$this->error("impossible de lire les upgrades. ".$res);
return false;