Item_Project::displayTabContentForItem PHP Method

displayTabContentForItem() static public method

static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
$item CommonGLPI
    static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
    {
        switch ($item->getType()) {
            case 'Project':
                self::showForProject($item);
                break;
            default:
                // Not defined and used now
                // Project::showListForItem($item);
        }
        return true;
    }