コード例 #1
0
ファイル: entity.class.php プロジェクト: geldarr/hack-space
 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;
 }
コード例 #2
0
ファイル: hook.php プロジェクト: RubichonL/glpi_monitoring
function plugin_headings_monitoring_entitytag($item)
{
    $pmEntity = new PluginMonitoringEntity();
    $pmHostconfig = new PluginMonitoringHostconfig();
    $pmHostconfig->showForm($item->getID(), "Entity");
    $pmEntity->showForm($item->fields['id']);
}