Revision fe064e2d
Added by Andreas Kohlbecker over 3 years ago
modules/cdm_dataportal/theme/cdm_dataportal.common.theme | ||
---|---|---|
152 | 152 |
* @param $footnote_list_key_suggestion string |
153 | 153 |
* optional parameter. If this parameter is left empty (null, 0, "") the |
154 | 154 |
* footnote key will be determined be set to |
155 |
* RenderHints::getFootnoteListKey().'-annotations' otherwise the supplied
|
|
155 |
* RenderHints::getFootnoteListKey().FOOTNOTE_KEY_SUFFIX_ANNOTATIONS otherwise the supplied
|
|
156 | 156 |
* key will be used. |
157 | 157 |
* |
158 | 158 |
* @return string |
... | ... | |
167 | 167 |
$out = ''; |
168 | 168 |
if(is_array($cdm_entities)){ |
169 | 169 |
// array of entities |
170 |
$footNoteKeys = cdm_entities_annotations_footnotekeys($cdm_entities, $footnote_list_key); |
|
170 |
$footNoteKeys = cdm_entities_annotations_footnote_keys($cdm_entities, $footnote_list_key);
|
|
171 | 171 |
} else { |
172 | 172 |
// single entity |
173 |
$footNoteKeys = cdm_entity_annotations_as_footnotekeys($cdm_entities, $footnote_list_key); |
|
173 |
$footNoteKeys = cdm_entity_annotations_as_footnote_keys($cdm_entities, $footnote_list_key);
|
|
174 | 174 |
} |
175 | 175 |
foreach ($footNoteKeys as $a) { |
176 | 176 |
$out .= cdm_footnote_key($a, ($out ? ',' : '')); |
Also available in: Unified diff
ref #8543 removing useless code and cleaner footnote functions