src/CRUDlex/EntityDefinition.php
protected function getFilteredFieldNames(array $exclude)
    {
        $fieldNames = $this->getFieldNames(true);
        $result     = [];
        foreach ($fieldNames as $fieldName) {
            if (!in_array($fieldName, $exclude)) {
                $result[] = $fieldName;
            }
        }
        return $result;
    }
protected function getFilteredFieldNames(array $exclude)
    {
        $fieldNames = $this->getFieldNames(true);
        $result     = [];
        foreach ($fieldNames as $fieldName) {
            if (!in_array($fieldName, $exclude)) {
                $result[] = $fieldName;
            }
        }
        return $result;
    }
protected function getFilteredFieldNames ( array $ exclude ) { $ fieldNames = $ this -> getFieldNames ( true ) ; $ result = [ ] ; foreach ( $ fieldNames as $ fieldName ) { if ( ! in_array ( $ fieldName , $ exclude ) ) { $ result [ ] = $ fieldName ; } } return $ result ; }
Gets the field names exluding the given ones.

@param string[] $exclude
the field names to exclude

@return array
all field names excluding the given ones
Gets the field names exluding the given ones .