Project

General

Profile

« Previous | Next » 

Revision 791e1c94

Added by Andreas Kohlbecker almost 12 years ago

fixing #2877 (microreference not shown in distribution references (sources))

View differences:

5.x/modules/cdm_dataportal/cdm_api/cdm_api.module
713 713
    }
714 714
}
715 715

  
716
/**
717
 * returns the NomenclaturalReference string with correctly placed microreference (= reference detail) e.g. in Phytotaxa 43: 1-48. 2012
718
 * @param unknown_type $referenceUuid
719
 * @param unknown_type $microreference
720
 * @return string
721
 */
722
function cdm_ws_getNomenclaturalReference($referenceUuid, $microreference){
723

  
724
  $obj = cdm_ws_get(CDM_WS_NOMENCLATURAL_REFERENCE_CITATION, array($referenceUuid), "microReference=".urlencode($microreference));
725
  if($obj){
726
    return $obj->String;
727
  } else {
728
    return null;
729
  }
730
}
731

  
732

  
716 733
function _mergeFeatureTreeDescriptions($featureNodes, $descriptionElements){
717 734

  
718 735
  foreach($featureNodes as &$node){

Also available in: Unified diff