Entity::displayTabContentForItem PHP Метод

displayTabContentForItem() статический публичный Метод

static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
$item CommonGLPI
    static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0)
    {
        if ($item->getType() == __CLASS__) {
            switch ($tabnum) {
                case 1:
                    $item->showChildren();
                    break;
                case 2:
                    self::showStandardOptions($item);
                    break;
                case 3:
                    self::showAdvancedOptions($item);
                    break;
                case 4:
                    self::showNotificationOptions($item);
                    break;
                case 5:
                    self::showHelpdeskOptions($item);
                    break;
                case 6:
                    self::showInventoryOptions($item);
                    break;
            }
        }
        return true;
    }