function(string $type) { if (!empty($type) && ($ptype = $this->getType($type))) { return !empty($ptype['tabs']) ? $ptype['tabs'] : false; } }