Project

General

Profile

« Previous | Next » 

Revision 6679207a

Added by Andreas Kohlbecker over 3 years 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