Revision 67f32f09
Added by Andreas Kohlbecker over 5 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
1851 | 1851 |
$tokens = explode("#", $field_unit_ref); |
1852 | 1852 |
$field_unit_uuids[] = $tokens[1]; |
1853 | 1853 |
} |
1854 |
$render_array['specimen_table'] = compose_derivate_hierarchy_table($field_unit_uuids);
|
|
1854 |
$render_array['specimen_table'] = compose_specimen_table($field_unit_uuids);
|
|
1855 | 1855 |
} |
1856 | 1856 |
|
1857 | 1857 |
} else { |
modules/cdm_dataportal/includes/pages.inc | ||
---|---|---|
127 | 127 |
} |
128 | 128 |
} |
129 | 129 |
|
130 |
$render_array['derivate_hierarchy_table'] = render_derivate_hierarchy_table($field_unit_uuids);
|
|
130 |
$render_array['derivate_hierarchy_table'] = compose_specimen_table($field_unit_uuids);
|
|
131 | 131 |
|
132 | 132 |
$render_array['pager'] = markup_to_render_array( |
133 | 133 |
theme('cdm_pager', array( |
... | ... | |
246 | 246 |
} |
247 | 247 |
|
248 | 248 |
/** |
249 |
* Creates the drupal render array for the derivate_hierarchy_table |
|
249 |
* Creates the drupal render array for the table showing all derivated which are |
|
250 |
* derive from a common gathering event. |
|
250 | 251 |
* |
251 | 252 |
* @param $field_unit_uuids array |
252 | 253 |
* An array of uuids for cdm FieldUnit entities. |
... | ... | |
256 | 257 |
* |
257 | 258 |
* @ingroup compose |
258 | 259 |
*/ |
259 |
function compose_derivate_hierarchy_table($field_unit_uuids)
|
|
260 |
function compose_specimen_table($field_unit_uuids)
|
|
260 | 261 |
{ |
261 | 262 |
// get icon images |
262 | 263 |
$expand_icon = font_awesome_icon_markup( |
Also available in: Unified diff
renaming specimen_detivate_hierarchy_table to specimen_table and updating documentation