Project

General

Profile

Revision 2f4646e0

ID2f4646e09c98b115f5ff80a147d44a86309d3a85
Parent cd3ea2e8
Child 793df790

Added by Andreas Kohlbecker 9 months ago

ref #8786 renaming all min_max_() functions to statistical_values_()

View differences:

modules/cdm_dataportal/includes/occurrences.inc
679 679
                        @_description_list_group_add($groups, cdm_occurrence_field_name_label('country'), $value->country->representation_L10n, '', 4);
680 680
                        @_description_list_group_add($groups, cdm_occurrence_field_name_label('collectingMethod'), $value->collectingMethod,'',5);
681 681
                        if (isset($value->absoluteElevation)) {
682
                            $min_max_markup = min_max_measure($value, 'absoluteElevation');
682
                            $min_max_markup = statistical_values_from_gathering_event($value, 'absoluteElevation');
683 683
                            @_description_list_group_add($groups, cdm_occurrence_field_name_label('absoluteElevation'), $min_max_markup, '',6);
684 684
                        }
685 685
                        if (isset($value->distanceToGround)) {
686
                            $min_max_markup = min_max_measure($value, 'distanceToGround');
686
                            $min_max_markup = statistical_values_from_gathering_event($value, 'distanceToGround');
687 687
                            @_description_list_group_add($groups, cdm_occurrence_field_name_label('distanceToGround'), $min_max_markup,'',7);
688 688
                        }
689 689
                        if (isset($value->distanceToWaterSurface)) {
690
                            $min_max_markup = min_max_measure($value, 'distanceToWaterSurface');
690
                            $min_max_markup = statistical_values_from_gathering_event($value, 'distanceToWaterSurface');
691 691
                            @_description_list_group_add($groups, cdm_occurrence_field_name_label('distanceToWaterSurface'), $min_max_markup, '',8);
692 692
                        }
693 693
                        if (isset($value->collectingAreas) && count($value->collectingAreas) > 0) {
......
1424 1424
                        @_description_list_group_add($groups, cdm_occurrence_field_name_label('country'), $value->country);
1425 1425
                        @_description_list_group_add($groups, cdm_occurrence_field_name_label('collectingMethod'), $value->collectingMethod);
1426 1426
                        if (isset($value->absoluteElevation)) {
1427
                            $min_max_markup = min_max_measure($value, 'absoluteElevation');
1427
                            $min_max_markup = statistical_values_from_gathering_event($value, 'absoluteElevation');
1428 1428
                            @_description_list_group_add($groups, cdm_occurrence_field_name_label('absoluteElevation'), $min_max_markup);
1429 1429
                        }
1430 1430
                        if (isset($value->distanceToGround) && $value->distanceToGround >0) {
1431
                            $min_max_markup = min_max_measure($value, 'distanceToGround');
1431
                            $min_max_markup = statistical_values_from_gathering_event($value, 'distanceToGround');
1432 1432
                            @_description_list_group_add($groups, cdm_occurrence_field_name_label('distanceToGround'), $min_max_markup);
1433 1433
                        }
1434 1434
                        if (isset($value->distanceToWaterSurface) && $value->distanceToWaterSurface > 0) {
1435
                            $min_max_markup = min_max_measure($value, 'distanceToWaterSurface');
1435
                            $min_max_markup = statistical_values_from_gathering_event($value, 'distanceToWaterSurface');
1436 1436
                            @_description_list_group_add($groups, cdm_occurrence_field_name_label('distanceToWaterSurface'), $min_max_markup);
1437 1437
                        }
1438 1438

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)