Project

General

Profile

« Previous | Next » 

Revision 8202a2c0

Added by Andreas Kohlbecker almost 4 years ago

ref #8543 option to block footnote list key to avoid foonote keys in odd places like warnings

View differences:

modules/cdm_dataportal/includes/footnotes.inc
273 273

  
274 274

  
275 275
/**
276
 * Creates markup for the name relationship and creates a footnote in the
277
 * {@link \FootnoteManager}. The resulting foonote key is returned as markup.
276
 * Creates footnote markup for the name relationship and
277
 * registers it in the {@link \FootnoteManager}. The resulting foonote
278
 * key is returned as markup.
278 279
 *
279 280
 * @param $name_rel
280 281
 *   The cdm name relationship
281 282
 * @return string
282
 *  The makrup for the footnote key
283
 *  The markup for the footnote key
283 284
 */
284 285
function handle_name_relationship_as_footnote($name_rel)
285 286
{
......
302 303
}
303 304

  
304 305
/**
306
 * Creates footnote markup for nomenclatural status and
307
 * registers it in the {@link \FootnoteManager}. The resulting foonote
308
 * key is returned as markup.
309
 *
305 310
 * @param $nom_status
306 311
 * @return string
312
 *  The markup for the footnote key
307 313
 */
308
function nomenclatural_status_footnote_markup($nom_status)
314
function handle_nomenclatural_status_as_footnote($nom_status)
309 315
{
310 316
  // NomenclaturalStatus is a subclass of ReferencedEntityBase
311 317
  // and has the same structure as TaxonNameRelationship
......
313 319
}
314 320

  
315 321
/**
322
 * Creates footnote markup for nomenclatural reference of the name and
323
 * registers it in the {@link \FootnoteManager}. The resulting foonote
324
 * key is returned as markup.
325
 *
316 326
 * @param $name
327
 * The name whose nomenclatural reference is to be shown as footnote
317 328
 * @return string
329
 *  The markup for the footnote key
318 330
 */
319
function nomenclatural_reference_footnote_key_markup($name)
331
function handle_nomenclatural_reference_as_footnote($name)
320 332
{
321 333
  $footnote_markup = '';
322 334
  $footnote_key_markup = '';

Also available in: Unified diff