public function removeTab($name)
    {
        foreach ($this->allFields as $fieldName => $field) {
            if ($field->tab == $name) {
                $this->removeField($fieldName);
            }
        }
    }
public function removeTab($name)
    {
        foreach ($this->allFields as $fieldName => $field) {
            if ($field->tab == $name) {
                $this->removeField($fieldName);
            }
        }
    }
public function removeTab ( $ name ) { foreach ( $ this -> allFields as $ fieldName => $ field ) { if ( $ field -> tab == $ name ) { $ this -> removeField ( $ fieldName ) ; } } }
Programatically remove all fields belonging to a tab.

@param string $name
@return bool
Programatically remove all fields belonging to a tab .