Project

General

Profile

Revision 6679207a

ID6679207a899188bbae8fba986cf4655a6fd2e87d
Parent ad6ad4c6
Child f02e26e1

Added by Andreas Kohlbecker about 2 months ago

ref #9222 adapting dataportal and tests to single sourced classes

View differences:

modules/cdm_dataportal/cdm_dataportal.module
1342 1342
 */
1343 1343
function _load_taxonBase(&$taxonBase) {
1344 1344
  if (isset($taxonBase->uuid)) {
1345
    $taxonBase->name = cdm_ws_get(CDM_WS_TAXON, array($taxonBase->uuid, "name"));
1346
    $taxonBase->name->taggedName = cdm_ws_get(CDM_WS_NAME, array($taxonBase->name->uuid, "taggedName"));
1347
    $taxonBase->name->nomenclaturalReference = cdm_ws_get(CDM_WS_NAME, array($taxonBase->name->uuid, "nomenclaturalReference"));
1345
    $taxonBase->name = cdm_ws_get(CDM_WS_PORTAL_TAXON, array($taxonBase->uuid, "name"));
1346
    $taxonBase->name->nomenclaturalSource = cdm_ws_get(CDM_WS_NAME, array($taxonBase->name->uuid, "nomenclaturalSource"));
1348 1347
  }
1349 1348
}
1350 1349

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)