Item_Problem::displayTabContentForItem PHP Méthode

displayTabContentForItem() static public méthode

static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
$item CommonGLPI
    static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
    {
        switch ($item->getType()) {
            case 'Problem':
                self::showForProblem($item);
                break;
            default:
                Problem::showListForItem($item);
        }
        return true;
    }