Revision 7a7c0b73
Added by Lorna Morris about 12 years ago
7.x/modules/dwca_export/dwca_export.views_default.inc | ||
---|---|---|
7 | 7 |
* @see dwca_export_views_api() |
8 | 8 |
*/ |
9 | 9 |
function dwca_export_views_default_views() { |
10 |
|
|
11 |
//static $view_functions = array('classification', 'specimen', 'reference', 'image', 'distribution'); |
|
12 | 10 |
|
13 | 11 |
static $view_description_names = array('general_description', 'morphology', 'behavious', 'biology', |
14 | 12 |
'conservation_status', 'legislation', 'management', 'procedures', |
... | ... | |
23 | 21 |
$views = array(); |
24 | 22 |
|
25 | 23 |
foreach (dwca_export_view_names_array() as $function_postfix) { |
26 |
//foreach ($view_all_names_except_description as $function_postfix) { |
|
27 |
//foreach ($view_functions as $function_postfix) { |
|
24 |
|
|
28 | 25 |
$function = '_view_' . $function_postfix; |
29 | 26 |
$view = $function(); |
30 | 27 |
$views[$view->name] = $view; |
Also available in: Unified diff
removed comments