src/AbstractDbEntity.php
public static function getDbFieldNames(array $exclude = [])
    {
        $fieldNames = [];
        foreach (array_keys(static::$dbProperties) as $propertyName) {
            $fieldNames[] = static::getDbFieldName($propertyName);
        }

        return $exclude ? array_diff($fieldNames, $exclude) : $fieldNames;
    }
public static function getDbFieldNames(array $exclude = [])
    {
        $fieldNames = [];
        foreach (array_keys(static::$dbProperties) as $propertyName) {
            $fieldNames[] = static::getDbFieldName($propertyName);
        }

        return $exclude ? array_diff($fieldNames, $exclude) : $fieldNames;
    }
public static function getDbFieldNames ( array $ exclude = [ ] ) { $ fieldNames = [ ] ; foreach ( array_keys ( static :: $ dbProperties ) as $ propertyName ) { $ fieldNames [ ] = static :: getDbFieldName ( $ propertyName ) ; } return $ exclude ? array_diff ( $ fieldNames , $ exclude ) : $ fieldNames ; }
Return array with raw db field names.

@param array $exclude
@return array
Return array with raw db field names .