示例#1
0
 /**
  * Registered the installed module to other modules already present
  *
  */
 public function registerSelfToOthers($module, &$content)
 {
     $content[] = dgettext('boost', 'Registering this module to other modules.');
     $modules = PHPWS_Boost::getRegMods();
     if (!is_array($modules)) {
         return;
     }
     foreach ($modules as $register_mod) {
         $register_mod->init();
         if ($register_mod->isRegister()) {
             PHPWS_Error::logIfError($this->registerModToMod($register_mod, $module, $content));
         }
     }
 }