Revision 4fc43df6
Added by Andreas Kohlbecker about 3 years ago
modules/cdm_dataportal/includes/occurrences_new.inc | ||
---|---|---|
338 | 338 |
* |
339 | 339 |
* @ingroup compose |
340 | 340 |
*/ |
341 |
function compose_cdm_derived_unit_dto_storage_details($du_dto, $compact_mode = FALSE) { |
|
341 |
function compose_cdm_derived_unit_dto_storage_details($du_dto, $compact_mode = FALSE) {
|
|
342 | 342 |
|
343 | 343 |
$table_row_data = sob_dto_details_rows($du_dto, $compact_mode); |
344 | 344 |
|
... | ... | |
358 | 358 |
cdm_occurrence_field_name_label('storedUnder'), |
359 | 359 |
render_taxon_or_name($taxon_name, path_to_name($taxon_name->uuid))); |
360 | 360 |
} |
361 |
if (isset($du_dto->exsiccatum)) { |
|
362 |
$table_row_data[] = cdm_sob_dto_table_row( |
|
363 |
cdm_occurrence_field_name_label('exsiccatum'), |
|
364 |
$du_dto->exsiccatum); |
|
365 |
} |
|
366 |
if (isset($du_dto->catalogNumber)) { |
|
367 |
$table_row_data[] = cdm_sob_dto_table_row( |
|
368 |
cdm_occurrence_field_name_label('catalogNumber'), |
|
369 |
$du_dto->catalogNumber); |
|
370 |
} |
|
371 |
if (isset($du_dto->barcode)) { |
|
372 |
$table_row_data[] = cdm_sob_dto_table_row( |
|
373 |
cdm_occurrence_field_name_label('barcode'), |
|
374 |
$du_dto->barcode); |
|
375 |
} |
|
376 |
if (isset($du_dto->preservationMethod)) { |
|
377 |
$table_row_data[] = cdm_sob_dto_table_row( |
|
378 |
cdm_occurrence_field_name_label('preservationMethod'), |
|
379 |
$du_dto->preservationMethod); |
|
380 |
} |
|
361 | 381 |
if (isset_not_empty($du_dto->characterData)) { |
362 | 382 |
$table_row_data[] = cdm_sob_dto_table_row( |
363 | 383 |
cdm_occurrence_field_name_label('characterData'), |
Also available in: Unified diff
ref #7599 ref #6866 specimen details tables - more fields