Revision a44d210c
Added by Andreas Kohlbecker over 4 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
1975 | 1975 |
} |
1976 | 1976 |
|
1977 | 1977 |
// type designations |
1978 |
$type_designations_render_array = compose_type_designations($taxon_name->uuid, false);
|
|
1978 |
$type_designations_render_array = compose_type_designations($taxon_name->uuid); |
|
1979 | 1979 |
$content = array_merge($content, $type_designations_render_array); |
1980 | 1980 |
// registrations |
1981 | 1981 |
$registrationDTOs= cdm_ws_fetch_all(CDM_WS_REGISTRATION_DTO, array('nameUuid' => $taxon_name_uuid)); |
modules/cdm_dataportal/includes/name.inc | ||
---|---|---|
864 | 864 |
|
865 | 865 |
$render_array['map'] = compose_type_designations_map($type_designations); |
866 | 866 |
} |
867 |
if($show_specimen_details){ |
|
868 |
$fileunit_dtos = array(); |
|
869 |
foreach($type_designations as $type_designation){ |
|
870 |
if(isset($type_designation->typeSpecimen)) { |
|
871 |
$fileunit_dtos[] = cdm_ws_get(CDM_WS_OCCURRENCE_FILEUNIT_DTO, array($type_designation->typeSpecimen->uuid)); |
|
872 |
} |
|
873 |
} |
|
874 |
if(count($fileunit_dtos) > 0) { |
|
875 |
$render_array['specimens'] = compose_specimen_table_top_down($fileunit_dtos); |
|
876 |
} |
|
877 |
} |
|
878 | 867 |
return $render_array; |
879 | 868 |
} |
880 | 869 |
|
Also available in: Unified diff
ref #8403 removing rejected implementation