Revision c57342f4
Added by Andreas Kohlbecker over 3 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
2801 | 2801 |
* |
2802 | 2802 |
* @return array of footnote keys |
2803 | 2803 |
*/ |
2804 |
function cdm_entities_annotations_as_footnotekeys(array $cdm_entities, $footnote_list_key_suggestion = NULL) {
|
|
2804 |
function cdm_entities_annotations_footnotekeys(array $cdm_entities, $footnote_list_key_suggestion = NULL) { |
|
2805 | 2805 |
|
2806 | 2806 |
$foot_note_keys = []; |
2807 | 2807 |
foreach ($cdm_entities as $cdm_entity) { |
modules/cdm_dataportal/includes/descriptions.inc | ||
---|---|---|
368 | 368 |
* The foot note keys |
369 | 369 |
* |
370 | 370 |
* @throws \Exception re-throw exception from theme() |
371 |
* @see cdm_entities_annotations_as_footnotekeys()
|
|
371 |
* @see cdm_entities_annotations_footnotekeys() |
|
372 | 372 |
* For original sources the $footnote_list_key_suggestion will be overwritten by bibliography_footnote_list_key() when |
373 | 373 |
* $is_bibliography_aware is set TRUE. |
374 | 374 |
* @$original_source_footnote_tag |
... | ... | |
592 | 592 |
* |
593 | 593 |
* @throws \Exception |
594 | 594 |
* |
595 |
* @see cdm_entities_annotations_as_footnotekeys()
|
|
595 |
* @see cdm_entities_annotations_footnotekeys() |
|
596 | 596 |
*/ |
597 | 597 |
function handle_annotations_and_sources($entity, $config, $inline_text_prefix, $footnote_list_key_suggestion) { |
598 | 598 |
|
modules/cdm_dataportal/theme/cdm_dataportal.common.theme | ||
---|---|---|
164 | 164 |
$out = ''; |
165 | 165 |
if(is_array($cdm_entities)){ |
166 | 166 |
// array of entities |
167 |
$footNoteKeys = cdm_entities_annotations_as_footnotekeys($cdm_entities, $footnote_list_key);
|
|
167 |
$footNoteKeys = cdm_entities_annotations_footnotekeys($cdm_entities, $footnote_list_key); |
|
168 | 168 |
} else { |
169 | 169 |
// single entity |
170 | 170 |
$footNoteKeys = cdm_entity_annotations_as_footnotekeys($cdm_entities, $footnote_list_key); |
Also available in: Unified diff
ref #8543 renaming function cdm_entities_annotations_as_footnotekeys() -> cdm_entities_annotations_footnotekeys()