Project

General

Profile

« Previous | Next » 

Revision 102f8c26

Added by Andreas Kohlbecker almost 7 years ago

ref #6700 updating default name render part definitions and adding status checks

View differences:

modules/cdm_dataportal/includes/name.inc
246 246
 * get_nameRenderTemplate())
247 247
 *
248 248
 * @param $taxonName
249
 *    cdm TaxonNameBase instance
249
 *    cdm TaxonName instance
250 250
 * @param $sec
251 251
 *    the sec reference of a taxon having this name (optional)
252 252
 * @param $nameLink
......
280 280
    // use the TaxonBase.taggedTitle so we have the secRef
281 281
    $taggedTitle = $taxon_name_or_taxon_base->taggedTitle;
282 282
  } else {
283
    // assuming this is a TaxonNameBase
283
    // assuming this is a TaxonName
284 284
    $taxonName = $taxon_name_or_taxon_base;
285 285
    $taggedTitle = $taxon_name_or_taxon_base->taggedName;
286 286
  }

Also available in: Unified diff