src/Framework/Form/AspiForm.php
public function removeFieldset($i)
    {
        if (isset($this->fieldsets[(int)$i])) {
            unset($this->fieldsets[(int)$i]);
        }
        $this->fieldsets = array_values($this->fieldsets);
        if (!isset($this->fieldsets[$this->current])) {
            $this->current = (count($this->fieldsets) > 0) ? count($this->fieldsets) - 1 : 0;
        }
        return $this;
    }
public function removeFieldset($i)
    {
        if (isset($this->fieldsets[(int)$i])) {
            unset($this->fieldsets[(int)$i]);
        }
        $this->fieldsets = array_values($this->fieldsets);
        if (!isset($this->fieldsets[$this->current])) {
            $this->current = (count($this->fieldsets) > 0) ? count($this->fieldsets) - 1 : 0;
        }
        return $this;
    }
public function removeFieldset ( $ i ) { if ( isset ( $ this -> fieldsets [ ( int ) $ i ] ) ) { unset ( $ this -> fieldsets [ ( int ) $ i ] ) ; } $ this -> fieldsets = array_values ( $ this -> fieldsets ) ; if ( ! isset ( $ this -> fieldsets [ $ this -> current ] ) ) { $ this -> current = ( count ( $ this -> fieldsets ) > 0 ) ? count ( $ this -> fieldsets ) - 1 : 0 ; } return $ this ; }
Method to remove fieldset

@param  int $i
@return Form
Method to remove fieldset