static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI |
static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
{
$itemtype = $item->getType() . 'Task';
if ($task = getItemForItemtype($itemtype)) {
$task->showSummary($item);
return true;
}
}