Esempio n. 1
0
 static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
 {
     if ($item->getID() > -1) {
         $pmEntity = new PluginMonitoringEntity();
         $pmHostconfig = new PluginMonitoringHostconfig();
         $pmHostconfig->showForm($item->getID(), "Entity");
         $pmEntity->showForm($item->fields['id']);
     }
     return true;
 }
Esempio n. 2
0
function plugin_headings_monitoring_entitytag($item)
{
    $pmEntity = new PluginMonitoringEntity();
    $pmHostconfig = new PluginMonitoringHostconfig();
    $pmHostconfig->showForm($item->getID(), "Entity");
    $pmEntity->showForm($item->fields['id']);
}