src/Utility/BasicSearch.php
protected function getDefaultFields(): array
    {
        $result = [];
        $types = Options::getBasicSearchFieldTypes();

        foreach ($this->searchFields as $field => $properties) {
            if (in_array($properties['type'], $types)) {
                $result[] = $field;
            }
        }

        return $result;
    }
protected function getDefaultFields(): array
    {
        $result = [];
        $types = Options::getBasicSearchFieldTypes();

        foreach ($this->searchFields as $field => $properties) {
            if (in_array($properties['type'], $types)) {
                $result[] = $field;
            }
        }

        return $result;
    }
protected function getDefaultFields ( ) : array { $ result = [ ] ; $ types = Options :: getBasicSearchFieldTypes ( ) ; foreach ( $ this -> searchFields as $ field => $ properties ) { if ( in_array ( $ properties [ 'type' ] , $ types ) ) { $ result [ ] = $ field ; } } return $ result ; }
Default basic search fields getter.

@return mixed[]
Default basic search fields getter .