public function getModelNameForRow(array $row)
    {
        if (isset($row['gtf_field_type']) && ('appointment' === $row['gtf_field_type'])) {
            return self::APPOINTMENTS_NAME;
        }
        if ((! isset($row['gtf_field_type'])) && isset($row[$this->_modelField]) && $row[$this->_modelField]) {
            return $row[$this->_modelField];
        }
        return self::FIELDS_NAME;
    }
public function getModelNameForRow(array $row)
    {
        if (isset($row['gtf_field_type']) && ('appointment' === $row['gtf_field_type'])) {
            return self::APPOINTMENTS_NAME;
        }
        if ((! isset($row['gtf_field_type'])) && isset($row[$this->_modelField]) && $row[$this->_modelField]) {
            return $row[$this->_modelField];
        }
        return self::FIELDS_NAME;
    }
public function getModelNameForRow ( array $ row ) { if ( isset ( $ row [ 'gtf_field_type' ] ) && ( 'appointment' === $ row [ 'gtf_field_type' ] ) ) { return self :: APPOINTMENTS_NAME ; } if ( ( ! isset ( $ row [ 'gtf_field_type' ] ) ) && isset ( $ row [ $ this -> _modelField ] ) && $ row [ $ this -> _modelField ] ) { return $ row [ $ this -> _modelField ] ; } return self :: FIELDS_NAME ; }
Get the name of the union model that should be used for this row.

@param array $row
@return string
Get the name of the union model that should be used for this row .