protected function getAdditionalFields()
    {
        $additionalFields = [];

        foreach ($this->additionalFieldNames as $additionalFieldName) {
            $additionalFields[$additionalFieldName] = $this->getFieldValue($additionalFieldName);
        }

        return $additionalFields;
    }
protected function getAdditionalFields()
    {
        $additionalFields = [];

        foreach ($this->additionalFieldNames as $additionalFieldName) {
            $additionalFields[$additionalFieldName] = $this->getFieldValue($additionalFieldName);
        }

        return $additionalFields;
    }
protected function getAdditionalFields ( ) { $ additionalFields = [ ] ; foreach ( $ this -> additionalFieldNames as $ additionalFieldName ) { $ additionalFields [ $ additionalFieldName ] = $ this -> getFieldValue ( $ additionalFieldName ) ; } return $ additionalFields ; }
Gets the additional fields as an array mapping field names to values.

@return array An array mapping additional field names to their values.
Gets the additional fields as an array mapping field names to values .