/** * Display content of Tab * * @param $ID of the item * @param $tab number of the tab * * @return true if handled (for class stack) **/ function showTabContent($ID, $tab) { if ($ID > 0 && !parent::showTabContent($ID, $tab)) { switch ($tab) { case 2: $this->showNetpoints($ID); return true; case -1: $this->showNetpoints($ID); return false; } } return false; }