コード例 #1
0
 static function getMenuContent()
 {
     global $CFG_GLPI;
     $menu = array();
     $menu['title'] = self::getMenuName();
     $menu['page'] = "/plugins/databases/front/database.php";
     $menu['links']['search'] = PluginDatabasesDatabase::getSearchURL(false);
     if (PluginDatabasesDatabase::canCreate()) {
         $menu['links']['add'] = PluginDatabasesDatabase::getFormURL(false);
     }
     return $menu;
 }