public function getFieldNames()
    {
        $names = array();

        foreach ($this->getFields() as $field) {
            $names[] = $field->name;
        }

        return $names;
    }
public function getFieldNames()
    {
        $names = array();

        foreach ($this->getFields() as $field) {
            $names[] = $field->name;
        }

        return $names;
    }
public function getFieldNames ( ) { $ names = array ( ) ; foreach ( $ this -> getFields ( ) as $ field ) { $ names [ ] = $ field -> name ; } return $ names ; }
A numerically indexed list of field names of this persistent class.

This array includes identifier fields if present on this class.

@return Array
A numerically indexed list of field names of this persistent class .