static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) : boolean | ||
$item | CommonGLPI | CommonGLPI item |
$tabnum | (default 1) | |
$withtemplate | (default 0) | |
Résultat | boolean |
static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
{
switch ($item->getType()) {
case 'SLA':
self::showForSla($item);
break;
}
return true;
}