static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { if ($item instanceof CommonTreeDropdown) { $item->showChildren(); } return true; }
static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { if ($item->getType() == 'TicketTemplate') { self::showForTicketTemplate($item, $withtemplate); } return parent::displayTabContentForItem($item, $tabnum, $withtemplate); }