Project

General

Profile

« Previous | Next » 

Revision b9d4068f

Added by Andreas Kohlbecker about 3 years ago

ref #7599 fixing name link of identifications

View differences:

modules/cdm_dataportal/includes/name.inc
244 244
 * @param $taxon_name_or_taxon_base
245 245
 *    A cdm TaxonBase or TaxonName entity
246 246
 * @param $name_link
247
 *    URI to the taxon, @param $reference_link
248
 *    URI to the reference,
247
 *    URI to the taxon, the path provided by path_to_taxon() must be processed
248
 *    by url() before passing to this method
249
 * @param $reference_link
250
 *    URI to the reference, the path provided by path_to_reference() must be
251
 *    processed by url() before passing to this method
249 252
 * @param bool $show_taxon_name_annotations
250 253
 *    Enable the display of footnotes for annotations on the taxon and name
251 254
 *    (default: true)
......
263 266
 *
264 267
 * @return string
265 268
 *  The markup for a taxon name.
266
 * @see path_to_taxon(), must be processed by url() before passing to this method
267
 * @see path_to_reference(), must be processed by url() before passing to this method
268 269
 */
269 270
function render_taxon_or_name($taxon_name_or_taxon_base, $name_link = NULL, $reference_link = NULL,
270 271
  $show_taxon_name_annotations = true, $is_type_designation = false, $skip_render_template_parts = [], $is_invalid = false) {

Also available in: Unified diff