src/CRUDlex/EntityDefinition.php
public function getFieldNames($includeMany = false)
    {
        $fieldNames = $this->getReadOnlyFields();
        foreach ($this->fields as $field => $value) {
            if ($includeMany || $this->getType($field) !== 'many') {
                $fieldNames[] = $field;
            }
        }
        return $fieldNames;
    }
public function getFieldNames($includeMany = false)
    {
        $fieldNames = $this->getReadOnlyFields();
        foreach ($this->fields as $field => $value) {
            if ($includeMany || $this->getType($field) !== 'many') {
                $fieldNames[] = $field;
            }
        }
        return $fieldNames;
    }
public function getFieldNames ( $ includeMany = false ) { $ fieldNames = $ this -> getReadOnlyFields ( ) ; foreach ( $ this -> fields as $ field => $ value ) { if ( $ includeMany || $ this -> getType ( $ field ) !== 'many' ) { $ fieldNames [ ] = $ field ; } } return $ fieldNames ; }
Gets all field names, including the implicit ones like "id" or
"created_at".

@param boolean $includeMany
whether to include the many fields as well

@return string[]
the field names
Gets all field names including the implicit ones like id or created_at .