src/FormView.php
public function getFieldsWithoutSection()
    {
        $matchedFields = array();
        foreach ($this->fields as $fieldName => $field) {
            if (!isset($field['options']['section']) || $field['options']['section'] === null || $field['options']['section'] === '') {
                $matchedFields[$fieldName] = $field;
            }
        }

        return $matchedFields;
    }
public function getFieldsWithoutSection()
    {
        $matchedFields = array();
        foreach ($this->fields as $fieldName => $field) {
            if (!isset($field['options']['section']) || $field['options']['section'] === null || $field['options']['section'] === '') {
                $matchedFields[$fieldName] = $field;
            }
        }

        return $matchedFields;
    }
public function getFieldsWithoutSection ( ) { $ matchedFields = array ( ) ; foreach ( $ this -> fields as $ fieldName => $ field ) { if ( ! isset ( $ field [ 'options' ] [ 'section' ] ) || $ field [ 'options' ] [ 'section' ] === null || $ field [ 'options' ] [ 'section' ] === '' ) { $ matchedFields [ $ fieldName ] = $ field ; } } return $ matchedFields ; }
Get any fields that don't have a section set

@return array
Get any fields that don t have a section set