Project

General

Profile

Download (119 KB) Statistics
| Branch: | Tag: | Revision:
1
<?php
2

    
3

    
4
/**
5
 * Implementation of hook_views_default_views().
6
 *
7
 * @see dwca_export_views_api()
8
 */
9
function dwca_export_views_default_views() {
10

    
11
	static $view_description_names = array('general_description', 'morphology', 'behavious', 'biology',
12
	'conservation_status', 'legislation', 'management', 'procedures',
13
	'threats','associations','cyclicity','diagnostic_description',
14
	'diseases', 'dispersal', 'distribution', 'ecology',
15
	'evolution', 'genetics' ,'growth', 'habitat', 
16
	'life_cycle', 'life_expectancy', 'look_alikes', 'migration',
17
	'molecular_biology', 'physiology', 'population_biology', 'reproduction',
18
	'risk_statement', 'size', 'taxon_biology', 'trophic_strategy', 
19
	'uses');
20

    
21
	$views = array();
22

    
23
	foreach (dwca_export_view_names_array() as $function_postfix) {
24

    
25
		$function = '_view_' . $function_postfix;
26
		$view = $function();
27
		$views[$view->name] = $view;
28
		watchdog("dwca_export", "hook_views_default_views() : view '".$view->name."'");
29
	}
30
	
31
	foreach ($view_description_names as $desc_type) {
32
		$function = '_view_description';
33
		$view = $function($desc_type);
34
		$views[$view->name] = $view;
35
		watchdog("dwca_export", "hook_views_default_views() : view '".$view->name."'");
36
	}
37
	
38
	
39
	return $views;
40
}
41

    
42

    
43
/**
44
 * Classification Export View - exported from views module
45
 */
46
function _view_classification() {
47

    
48
	$view = new view;
49
	$view->name = 'dwca_export_classification';
50
	$view->description = 'DwC-A core data for a Taxon';
51
	$view->tag = 'default';
52
	$view->base_table = 'taxonomy_term_data';
53
	$view->human_name = 'DwC-A Export Classification';
54
	$view->core = 7;
55
	$view->api_version = '3.0';
56
	$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
57
	
58
	/* Display: Master */
59
	$handler = $view->new_display('default', 'Master', 'default');
60
	$handler->display->display_options['title'] = 'Classification Export View';
61
	$handler->display->display_options['access']['type'] = 'perm';
62
	$handler->display->display_options['cache']['type'] = 'none';
63
	$handler->display->display_options['query']['type'] = 'views_query';
64
	$handler->display->display_options['query']['options']['query_comment'] = FALSE;
65
	$handler->display->display_options['exposed_form']['type'] = 'basic';
66
	$handler->display->display_options['pager']['type'] = 'none';
67
	$handler->display->display_options['pager']['options']['offset'] = '0';
68
	$handler->display->display_options['style_plugin'] = 'table';
69
	/* Relationship: relParent */
70
	$handler->display->display_options['relationships']['parent']['id'] = 'parent';
71
	$handler->display->display_options['relationships']['parent']['table'] = 'taxonomy_term_hierarchy';
72
	$handler->display->display_options['relationships']['parent']['field'] = 'parent';
73
	$handler->display->display_options['relationships']['parent']['ui_name'] = 'relParent';
74
	$handler->display->display_options['relationships']['parent']['required'] = 0;
75
	/* Field: Taxonomy term: Term ID */
76
	$handler->display->display_options['fields']['tid_2']['id'] = 'tid_2';
77
	$handler->display->display_options['fields']['tid_2']['table'] = 'taxonomy_term_data';
78
	$handler->display->display_options['fields']['tid_2']['field'] = 'tid';
79
	$handler->display->display_options['fields']['tid_2']['label'] = 'id';
80
	$handler->display->display_options['fields']['tid_2']['alter']['alter_text'] = 0;
81
	$handler->display->display_options['fields']['tid_2']['alter']['make_link'] = 0;
82
	$handler->display->display_options['fields']['tid_2']['alter']['absolute'] = 0;
83
	$handler->display->display_options['fields']['tid_2']['alter']['external'] = 0;
84
	$handler->display->display_options['fields']['tid_2']['alter']['replace_spaces'] = 0;
85
	$handler->display->display_options['fields']['tid_2']['alter']['trim_whitespace'] = 0;
86
	$handler->display->display_options['fields']['tid_2']['alter']['nl2br'] = 0;
87
	$handler->display->display_options['fields']['tid_2']['alter']['word_boundary'] = 1;
88
	$handler->display->display_options['fields']['tid_2']['alter']['ellipsis'] = 1;
89
	$handler->display->display_options['fields']['tid_2']['alter']['strip_tags'] = 0;
90
	$handler->display->display_options['fields']['tid_2']['alter']['trim'] = 0;
91
	$handler->display->display_options['fields']['tid_2']['alter']['html'] = 0;
92
	$handler->display->display_options['fields']['tid_2']['element_label_colon'] = 1;
93
	$handler->display->display_options['fields']['tid_2']['element_default_classes'] = 1;
94
	$handler->display->display_options['fields']['tid_2']['hide_empty'] = 0;
95
	$handler->display->display_options['fields']['tid_2']['empty_zero'] = 0;
96
	$handler->display->display_options['fields']['tid_2']['hide_alter_empty'] = 0;
97
	$handler->display->display_options['fields']['tid_2']['separator'] = '';
98
	$handler->display->display_options['fields']['tid_2']['format_plural'] = 0;
99
	/* Field: Taxonomy term: Name */
100
	$handler->display->display_options['fields']['name_1']['id'] = 'name_1';
101
	$handler->display->display_options['fields']['name_1']['table'] = 'taxonomy_term_data';
102
	$handler->display->display_options['fields']['name_1']['field'] = 'name';
103
	$handler->display->display_options['fields']['name_1']['label'] = 'scientificName';
104
	$handler->display->display_options['fields']['name_1']['alter']['alter_text'] = 0;
105
	$handler->display->display_options['fields']['name_1']['alter']['make_link'] = 0;
106
	$handler->display->display_options['fields']['name_1']['alter']['absolute'] = 0;
107
	$handler->display->display_options['fields']['name_1']['alter']['external'] = 0;
108
	$handler->display->display_options['fields']['name_1']['alter']['replace_spaces'] = 0;
109
	$handler->display->display_options['fields']['name_1']['alter']['trim_whitespace'] = 0;
110
	$handler->display->display_options['fields']['name_1']['alter']['nl2br'] = 0;
111
	$handler->display->display_options['fields']['name_1']['alter']['word_boundary'] = 1;
112
	$handler->display->display_options['fields']['name_1']['alter']['ellipsis'] = 1;
113
	$handler->display->display_options['fields']['name_1']['alter']['strip_tags'] = 0;
114
	$handler->display->display_options['fields']['name_1']['alter']['trim'] = 0;
115
	$handler->display->display_options['fields']['name_1']['alter']['html'] = 0;
116
	$handler->display->display_options['fields']['name_1']['element_label_colon'] = 1;
117
	$handler->display->display_options['fields']['name_1']['element_default_classes'] = 1;
118
	$handler->display->display_options['fields']['name_1']['hide_empty'] = 0;
119
	$handler->display->display_options['fields']['name_1']['empty_zero'] = 0;
120
	$handler->display->display_options['fields']['name_1']['hide_alter_empty'] = 0;
121
	$handler->display->display_options['fields']['name_1']['link_to_taxonomy'] = 0;
122
	/* Field: Taxonomy term: Term ID */
123
	$handler->display->display_options['fields']['tid_3']['id'] = 'tid_3';
124
	$handler->display->display_options['fields']['tid_3']['table'] = 'taxonomy_term_data';
125
	$handler->display->display_options['fields']['tid_3']['field'] = 'tid';
126
	$handler->display->display_options['fields']['tid_3']['relationship'] = 'parent';
127
	$handler->display->display_options['fields']['tid_3']['label'] = 'parentNameUsageId';
128
	$handler->display->display_options['fields']['tid_3']['alter']['alter_text'] = 0;
129
	$handler->display->display_options['fields']['tid_3']['alter']['make_link'] = 0;
130
	$handler->display->display_options['fields']['tid_3']['alter']['absolute'] = 0;
131
	$handler->display->display_options['fields']['tid_3']['alter']['external'] = 0;
132
	$handler->display->display_options['fields']['tid_3']['alter']['replace_spaces'] = 0;
133
	$handler->display->display_options['fields']['tid_3']['alter']['trim_whitespace'] = 0;
134
	$handler->display->display_options['fields']['tid_3']['alter']['nl2br'] = 0;
135
	$handler->display->display_options['fields']['tid_3']['alter']['word_boundary'] = 1;
136
	$handler->display->display_options['fields']['tid_3']['alter']['ellipsis'] = 1;
137
	$handler->display->display_options['fields']['tid_3']['alter']['strip_tags'] = 0;
138
	$handler->display->display_options['fields']['tid_3']['alter']['trim'] = 0;
139
	$handler->display->display_options['fields']['tid_3']['alter']['html'] = 0;
140
	$handler->display->display_options['fields']['tid_3']['element_label_colon'] = 1;
141
	$handler->display->display_options['fields']['tid_3']['element_default_classes'] = 1;
142
	$handler->display->display_options['fields']['tid_3']['hide_empty'] = 1;
143
	$handler->display->display_options['fields']['tid_3']['empty_zero'] = 0;
144
	$handler->display->display_options['fields']['tid_3']['hide_alter_empty'] = 0;
145
	$handler->display->display_options['fields']['tid_3']['separator'] = '';
146
	$handler->display->display_options['fields']['tid_3']['format_plural'] = 0;
147
	/* Field: Taxonomy term: Name */
148
	$handler->display->display_options['fields']['name_4']['id'] = 'name_4';
149
	$handler->display->display_options['fields']['name_4']['table'] = 'taxonomy_term_data';
150
	$handler->display->display_options['fields']['name_4']['field'] = 'name';
151
	$handler->display->display_options['fields']['name_4']['relationship'] = 'parent';
152
	$handler->display->display_options['fields']['name_4']['label'] = 'parentNameUsage';
153
	$handler->display->display_options['fields']['name_4']['alter']['alter_text'] = 0;
154
	$handler->display->display_options['fields']['name_4']['alter']['make_link'] = 0;
155
	$handler->display->display_options['fields']['name_4']['alter']['absolute'] = 0;
156
	$handler->display->display_options['fields']['name_4']['alter']['external'] = 0;
157
	$handler->display->display_options['fields']['name_4']['alter']['replace_spaces'] = 0;
158
	$handler->display->display_options['fields']['name_4']['alter']['trim_whitespace'] = 0;
159
	$handler->display->display_options['fields']['name_4']['alter']['nl2br'] = 0;
160
	$handler->display->display_options['fields']['name_4']['alter']['word_boundary'] = 1;
161
	$handler->display->display_options['fields']['name_4']['alter']['ellipsis'] = 1;
162
	$handler->display->display_options['fields']['name_4']['alter']['strip_tags'] = 0;
163
	$handler->display->display_options['fields']['name_4']['alter']['trim'] = 0;
164
	$handler->display->display_options['fields']['name_4']['alter']['html'] = 0;
165
	$handler->display->display_options['fields']['name_4']['element_label_colon'] = 1;
166
	$handler->display->display_options['fields']['name_4']['element_default_classes'] = 1;
167
	$handler->display->display_options['fields']['name_4']['hide_empty'] = 0;
168
	$handler->display->display_options['fields']['name_4']['empty_zero'] = 0;
169
	$handler->display->display_options['fields']['name_4']['hide_alter_empty'] = 0;
170
	$handler->display->display_options['fields']['name_4']['link_to_taxonomy'] = 0;
171
	/* Field: Taxonomy vocabulary: Name */
172
	$handler->display->display_options['fields']['name']['id'] = 'name';
173
	$handler->display->display_options['fields']['name']['table'] = 'taxonomy_vocabulary';
174
	$handler->display->display_options['fields']['name']['field'] = 'name';
175
	$handler->display->display_options['fields']['name']['label'] = 'datasetName';
176
	$handler->display->display_options['fields']['name']['alter']['alter_text'] = 0;
177
	$handler->display->display_options['fields']['name']['alter']['make_link'] = 0;
178
	$handler->display->display_options['fields']['name']['alter']['absolute'] = 0;
179
	$handler->display->display_options['fields']['name']['alter']['external'] = 0;
180
	$handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0;
181
	$handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0;
182
	$handler->display->display_options['fields']['name']['alter']['nl2br'] = 0;
183
	$handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1;
184
	$handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1;
185
	$handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0;
186
	$handler->display->display_options['fields']['name']['alter']['trim'] = 0;
187
	$handler->display->display_options['fields']['name']['alter']['html'] = 0;
188
	$handler->display->display_options['fields']['name']['element_label_colon'] = 1;
189
	$handler->display->display_options['fields']['name']['element_default_classes'] = 1;
190
	$handler->display->display_options['fields']['name']['hide_empty'] = 0;
191
	$handler->display->display_options['fields']['name']['empty_zero'] = 0;
192
	$handler->display->display_options['fields']['name']['hide_alter_empty'] = 0;
193
	/* Field: Taxonomy term: Unit name 1 */
194
	$handler->display->display_options['fields']['field_unit_name1']['id'] = 'field_unit_name1';
195
	$handler->display->display_options['fields']['field_unit_name1']['table'] = 'field_data_field_unit_name1';
196
	$handler->display->display_options['fields']['field_unit_name1']['field'] = 'field_unit_name1';
197
	$handler->display->display_options['fields']['field_unit_name1']['label'] = 'uninomial';
198
	$handler->display->display_options['fields']['field_unit_name1']['alter']['alter_text'] = 0;
199
	$handler->display->display_options['fields']['field_unit_name1']['alter']['make_link'] = 0;
200
	$handler->display->display_options['fields']['field_unit_name1']['alter']['absolute'] = 0;
201
	$handler->display->display_options['fields']['field_unit_name1']['alter']['external'] = 0;
202
	$handler->display->display_options['fields']['field_unit_name1']['alter']['replace_spaces'] = 0;
203
	$handler->display->display_options['fields']['field_unit_name1']['alter']['trim_whitespace'] = 0;
204
	$handler->display->display_options['fields']['field_unit_name1']['alter']['nl2br'] = 0;
205
	$handler->display->display_options['fields']['field_unit_name1']['alter']['word_boundary'] = 1;
206
	$handler->display->display_options['fields']['field_unit_name1']['alter']['ellipsis'] = 1;
207
	$handler->display->display_options['fields']['field_unit_name1']['alter']['strip_tags'] = 0;
208
	$handler->display->display_options['fields']['field_unit_name1']['alter']['trim'] = 0;
209
	$handler->display->display_options['fields']['field_unit_name1']['alter']['html'] = 0;
210
	$handler->display->display_options['fields']['field_unit_name1']['element_label_colon'] = 1;
211
	$handler->display->display_options['fields']['field_unit_name1']['element_default_classes'] = 1;
212
	$handler->display->display_options['fields']['field_unit_name1']['hide_empty'] = 0;
213
	$handler->display->display_options['fields']['field_unit_name1']['empty_zero'] = 0;
214
	$handler->display->display_options['fields']['field_unit_name1']['hide_alter_empty'] = 1;
215
	$handler->display->display_options['fields']['field_unit_name1']['field_api_classes'] = 0;
216
	/* Field: Taxonomy term: Unit name 2 */
217
	$handler->display->display_options['fields']['field_unit_name2']['id'] = 'field_unit_name2';
218
	$handler->display->display_options['fields']['field_unit_name2']['table'] = 'field_data_field_unit_name2';
219
	$handler->display->display_options['fields']['field_unit_name2']['field'] = 'field_unit_name2';
220
	$handler->display->display_options['fields']['field_unit_name2']['label'] = 'specificEpithet';
221
	$handler->display->display_options['fields']['field_unit_name2']['alter']['alter_text'] = 0;
222
	$handler->display->display_options['fields']['field_unit_name2']['alter']['make_link'] = 0;
223
	$handler->display->display_options['fields']['field_unit_name2']['alter']['absolute'] = 0;
224
	$handler->display->display_options['fields']['field_unit_name2']['alter']['external'] = 0;
225
	$handler->display->display_options['fields']['field_unit_name2']['alter']['replace_spaces'] = 0;
226
	$handler->display->display_options['fields']['field_unit_name2']['alter']['trim_whitespace'] = 0;
227
	$handler->display->display_options['fields']['field_unit_name2']['alter']['nl2br'] = 0;
228
	$handler->display->display_options['fields']['field_unit_name2']['alter']['word_boundary'] = 1;
229
	$handler->display->display_options['fields']['field_unit_name2']['alter']['ellipsis'] = 1;
230
	$handler->display->display_options['fields']['field_unit_name2']['alter']['strip_tags'] = 0;
231
	$handler->display->display_options['fields']['field_unit_name2']['alter']['trim'] = 0;
232
	$handler->display->display_options['fields']['field_unit_name2']['alter']['html'] = 0;
233
	$handler->display->display_options['fields']['field_unit_name2']['element_label_colon'] = 1;
234
	$handler->display->display_options['fields']['field_unit_name2']['element_default_classes'] = 1;
235
	$handler->display->display_options['fields']['field_unit_name2']['hide_empty'] = 0;
236
	$handler->display->display_options['fields']['field_unit_name2']['empty_zero'] = 0;
237
	$handler->display->display_options['fields']['field_unit_name2']['hide_alter_empty'] = 1;
238
	$handler->display->display_options['fields']['field_unit_name2']['field_api_classes'] = 0;
239
	/* Field: Taxonomy term: Unit name 3 */
240
	$handler->display->display_options['fields']['field_unit_name3']['id'] = 'field_unit_name3';
241
	$handler->display->display_options['fields']['field_unit_name3']['table'] = 'field_data_field_unit_name3';
242
	$handler->display->display_options['fields']['field_unit_name3']['field'] = 'field_unit_name3';
243
	$handler->display->display_options['fields']['field_unit_name3']['label'] = 'infraspecificEpithet';
244
	$handler->display->display_options['fields']['field_unit_name3']['alter']['alter_text'] = 0;
245
	$handler->display->display_options['fields']['field_unit_name3']['alter']['make_link'] = 0;
246
	$handler->display->display_options['fields']['field_unit_name3']['alter']['absolute'] = 0;
247
	$handler->display->display_options['fields']['field_unit_name3']['alter']['external'] = 0;
248
	$handler->display->display_options['fields']['field_unit_name3']['alter']['replace_spaces'] = 0;
249
	$handler->display->display_options['fields']['field_unit_name3']['alter']['trim_whitespace'] = 0;
250
	$handler->display->display_options['fields']['field_unit_name3']['alter']['nl2br'] = 0;
251
	$handler->display->display_options['fields']['field_unit_name3']['alter']['word_boundary'] = 1;
252
	$handler->display->display_options['fields']['field_unit_name3']['alter']['ellipsis'] = 1;
253
	$handler->display->display_options['fields']['field_unit_name3']['alter']['strip_tags'] = 0;
254
	$handler->display->display_options['fields']['field_unit_name3']['alter']['trim'] = 0;
255
	$handler->display->display_options['fields']['field_unit_name3']['alter']['html'] = 0;
256
	$handler->display->display_options['fields']['field_unit_name3']['element_label_colon'] = 1;
257
	$handler->display->display_options['fields']['field_unit_name3']['element_default_classes'] = 1;
258
	$handler->display->display_options['fields']['field_unit_name3']['hide_empty'] = 0;
259
	$handler->display->display_options['fields']['field_unit_name3']['empty_zero'] = 0;
260
	$handler->display->display_options['fields']['field_unit_name3']['hide_alter_empty'] = 1;
261
	$handler->display->display_options['fields']['field_unit_name3']['field_api_classes'] = 0;
262
	/* Field: Taxonomy term: Usage */
263
	$handler->display->display_options['fields']['field_usage']['id'] = 'field_usage';
264
	$handler->display->display_options['fields']['field_usage']['table'] = 'field_data_field_usage';
265
	$handler->display->display_options['fields']['field_usage']['field'] = 'field_usage';
266
	$handler->display->display_options['fields']['field_usage']['label'] = 'taxonomicStatus';
267
	$handler->display->display_options['fields']['field_usage']['alter']['alter_text'] = 0;
268
	$handler->display->display_options['fields']['field_usage']['alter']['make_link'] = 0;
269
	$handler->display->display_options['fields']['field_usage']['alter']['absolute'] = 0;
270
	$handler->display->display_options['fields']['field_usage']['alter']['external'] = 0;
271
	$handler->display->display_options['fields']['field_usage']['alter']['replace_spaces'] = 0;
272
	$handler->display->display_options['fields']['field_usage']['alter']['trim_whitespace'] = 0;
273
	$handler->display->display_options['fields']['field_usage']['alter']['nl2br'] = 0;
274
	$handler->display->display_options['fields']['field_usage']['alter']['word_boundary'] = 1;
275
	$handler->display->display_options['fields']['field_usage']['alter']['ellipsis'] = 1;
276
	$handler->display->display_options['fields']['field_usage']['alter']['strip_tags'] = 0;
277
	$handler->display->display_options['fields']['field_usage']['alter']['trim'] = 0;
278
	$handler->display->display_options['fields']['field_usage']['alter']['html'] = 0;
279
	$handler->display->display_options['fields']['field_usage']['element_label_colon'] = 1;
280
	$handler->display->display_options['fields']['field_usage']['element_default_classes'] = 1;
281
	$handler->display->display_options['fields']['field_usage']['hide_empty'] = 0;
282
	$handler->display->display_options['fields']['field_usage']['empty_zero'] = 0;
283
	$handler->display->display_options['fields']['field_usage']['hide_alter_empty'] = 1;
284
	$handler->display->display_options['fields']['field_usage']['field_api_classes'] = 0;
285
	/* Field: Taxonomy term: Associated accepted name */
286
	$handler->display->display_options['fields']['field_aan_cichorieae']['id'] = 'field_aan_cichorieae';
287
	$handler->display->display_options['fields']['field_aan_cichorieae']['table'] = 'field_data_field_aan_cichorieae';
288
	$handler->display->display_options['fields']['field_aan_cichorieae']['field'] = 'field_aan_cichorieae';
289
	$handler->display->display_options['fields']['field_aan_cichorieae']['label'] = 'acceptedNameUsage';
290
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['alter_text'] = 0;
291
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['make_link'] = 0;
292
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['absolute'] = 0;
293
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['external'] = 0;
294
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['replace_spaces'] = 0;
295
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['trim_whitespace'] = 0;
296
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['nl2br'] = 0;
297
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['word_boundary'] = 1;
298
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['ellipsis'] = 1;
299
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['more_link'] = 0;
300
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['strip_tags'] = 0;
301
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['trim'] = 0;
302
	$handler->display->display_options['fields']['field_aan_cichorieae']['alter']['html'] = 0;
303
	$handler->display->display_options['fields']['field_aan_cichorieae']['element_label_colon'] = 1;
304
	$handler->display->display_options['fields']['field_aan_cichorieae']['element_default_classes'] = 1;
305
	$handler->display->display_options['fields']['field_aan_cichorieae']['hide_empty'] = 0;
306
	$handler->display->display_options['fields']['field_aan_cichorieae']['empty_zero'] = 0;
307
	$handler->display->display_options['fields']['field_aan_cichorieae']['hide_alter_empty'] = 1;
308
	$handler->display->display_options['fields']['field_aan_cichorieae']['field_api_classes'] = 0;
309
	/* Field: Taxonomy term: Authors */
310
	$handler->display->display_options['fields']['field_authors']['id'] = 'field_authors';
311
	$handler->display->display_options['fields']['field_authors']['table'] = 'field_data_field_authors';
312
	$handler->display->display_options['fields']['field_authors']['field'] = 'field_authors';
313
	$handler->display->display_options['fields']['field_authors']['label'] = 'scientificNameAuthorship';
314
	$handler->display->display_options['fields']['field_authors']['alter']['alter_text'] = 0;
315
	$handler->display->display_options['fields']['field_authors']['alter']['make_link'] = 0;
316
	$handler->display->display_options['fields']['field_authors']['alter']['absolute'] = 0;
317
	$handler->display->display_options['fields']['field_authors']['alter']['external'] = 0;
318
	$handler->display->display_options['fields']['field_authors']['alter']['replace_spaces'] = 0;
319
	$handler->display->display_options['fields']['field_authors']['alter']['trim_whitespace'] = 0;
320
	$handler->display->display_options['fields']['field_authors']['alter']['nl2br'] = 0;
321
	$handler->display->display_options['fields']['field_authors']['alter']['word_boundary'] = 1;
322
	$handler->display->display_options['fields']['field_authors']['alter']['ellipsis'] = 1;
323
	$handler->display->display_options['fields']['field_authors']['alter']['strip_tags'] = 0;
324
	$handler->display->display_options['fields']['field_authors']['alter']['trim'] = 0;
325
	$handler->display->display_options['fields']['field_authors']['alter']['html'] = 0;
326
	$handler->display->display_options['fields']['field_authors']['element_label_colon'] = 1;
327
	$handler->display->display_options['fields']['field_authors']['element_default_classes'] = 1;
328
	$handler->display->display_options['fields']['field_authors']['hide_empty'] = 0;
329
	$handler->display->display_options['fields']['field_authors']['empty_zero'] = 0;
330
	$handler->display->display_options['fields']['field_authors']['hide_alter_empty'] = 1;
331
	$handler->display->display_options['fields']['field_authors']['field_api_classes'] = 0;
332
	/* Field: Taxonomy term: Reference */
333
	$handler->display->display_options['fields']['field_reference']['id'] = 'field_reference';
334
	$handler->display->display_options['fields']['field_reference']['table'] = 'field_data_field_reference';
335
	$handler->display->display_options['fields']['field_reference']['field'] = 'field_reference';
336
	$handler->display->display_options['fields']['field_reference']['label'] = 'bibliographicCitation';
337
	$handler->display->display_options['fields']['field_reference']['alter']['alter_text'] = 0;
338
	$handler->display->display_options['fields']['field_reference']['alter']['make_link'] = 0;
339
	$handler->display->display_options['fields']['field_reference']['alter']['absolute'] = 0;
340
	$handler->display->display_options['fields']['field_reference']['alter']['external'] = 0;
341
	$handler->display->display_options['fields']['field_reference']['alter']['replace_spaces'] = 0;
342
	$handler->display->display_options['fields']['field_reference']['alter']['trim_whitespace'] = 0;
343
	$handler->display->display_options['fields']['field_reference']['alter']['nl2br'] = 0;
344
	$handler->display->display_options['fields']['field_reference']['alter']['word_boundary'] = 1;
345
	$handler->display->display_options['fields']['field_reference']['alter']['ellipsis'] = 1;
346
	$handler->display->display_options['fields']['field_reference']['alter']['more_link'] = 0;
347
	$handler->display->display_options['fields']['field_reference']['alter']['strip_tags'] = 0;
348
	$handler->display->display_options['fields']['field_reference']['alter']['trim'] = 0;
349
	$handler->display->display_options['fields']['field_reference']['alter']['html'] = 0;
350
	$handler->display->display_options['fields']['field_reference']['element_label_colon'] = 1;
351
	$handler->display->display_options['fields']['field_reference']['element_default_classes'] = 1;
352
	$handler->display->display_options['fields']['field_reference']['hide_empty'] = 0;
353
	$handler->display->display_options['fields']['field_reference']['empty_zero'] = 0;
354
	$handler->display->display_options['fields']['field_reference']['hide_alter_empty'] = 1;
355
	$handler->display->display_options['fields']['field_reference']['field_api_classes'] = 0;
356
	/* Field: Taxonomy term: Vernacular names */
357
	$handler->display->display_options['fields']['field_vernacular_names']['id'] = 'field_vernacular_names';
358
	$handler->display->display_options['fields']['field_vernacular_names']['table'] = 'field_data_field_vernacular_names';
359
	$handler->display->display_options['fields']['field_vernacular_names']['field'] = 'field_vernacular_names';
360
	$handler->display->display_options['fields']['field_vernacular_names']['label'] = 'vernacularName';
361
	$handler->display->display_options['fields']['field_vernacular_names']['alter']['alter_text'] = 0;
362
	$handler->display->display_options['fields']['field_vernacular_names']['alter']['make_link'] = 0;
363
	$handler->display->display_options['fields']['field_vernacular_names']['alter']['absolute'] = 0;
364
	$handler->display->display_options['fields']['field_vernacular_names']['alter']['external'] = 0;
365
	$handler->display->display_options['fields']['field_vernacular_names']['alter']['replace_spaces'] = 0;
366
	$handler->display->display_options['fields']['field_vernacular_names']['alter']['trim_whitespace'] = 0;
367
	$handler->display->display_options['fields']['field_vernacular_names']['alter']['nl2br'] = 0;
368
	$handler->display->display_options['fields']['field_vernacular_names']['alter']['word_boundary'] = 1;
369
	$handler->display->display_options['fields']['field_vernacular_names']['alter']['ellipsis'] = 1;
370
	$handler->display->display_options['fields']['field_vernacular_names']['alter']['strip_tags'] = 0;
371
	$handler->display->display_options['fields']['field_vernacular_names']['alter']['trim'] = 0;
372
	$handler->display->display_options['fields']['field_vernacular_names']['alter']['html'] = 0;
373
	$handler->display->display_options['fields']['field_vernacular_names']['element_label_colon'] = 1;
374
	$handler->display->display_options['fields']['field_vernacular_names']['element_default_classes'] = 1;
375
	$handler->display->display_options['fields']['field_vernacular_names']['hide_empty'] = 0;
376
	$handler->display->display_options['fields']['field_vernacular_names']['empty_zero'] = 0;
377
	$handler->display->display_options['fields']['field_vernacular_names']['hide_alter_empty'] = 1;
378
	$handler->display->display_options['fields']['field_vernacular_names']['group_rows'] = 1;
379
	$handler->display->display_options['fields']['field_vernacular_names']['delta_offset'] = '0';
380
	$handler->display->display_options['fields']['field_vernacular_names']['delta_reversed'] = 0;
381
	$handler->display->display_options['fields']['field_vernacular_names']['delta_first_last'] = 0;
382
	$handler->display->display_options['fields']['field_vernacular_names']['field_api_classes'] = 0;
383
	/* Field: Taxonomy term: Rank */
384
	$handler->display->display_options['fields']['field_rank']['id'] = 'field_rank';
385
	$handler->display->display_options['fields']['field_rank']['table'] = 'field_data_field_rank';
386
	$handler->display->display_options['fields']['field_rank']['field'] = 'field_rank';
387
	$handler->display->display_options['fields']['field_rank']['label'] = 'taxonRank';
388
	$handler->display->display_options['fields']['field_rank']['alter']['alter_text'] = 0;
389
	$handler->display->display_options['fields']['field_rank']['alter']['make_link'] = 0;
390
	$handler->display->display_options['fields']['field_rank']['alter']['absolute'] = 0;
391
	$handler->display->display_options['fields']['field_rank']['alter']['external'] = 0;
392
	$handler->display->display_options['fields']['field_rank']['alter']['replace_spaces'] = 0;
393
	$handler->display->display_options['fields']['field_rank']['alter']['trim_whitespace'] = 0;
394
	$handler->display->display_options['fields']['field_rank']['alter']['nl2br'] = 0;
395
	$handler->display->display_options['fields']['field_rank']['alter']['word_boundary'] = 1;
396
	$handler->display->display_options['fields']['field_rank']['alter']['ellipsis'] = 1;
397
	$handler->display->display_options['fields']['field_rank']['alter']['strip_tags'] = 0;
398
	$handler->display->display_options['fields']['field_rank']['alter']['trim'] = 0;
399
	$handler->display->display_options['fields']['field_rank']['alter']['html'] = 0;
400
	$handler->display->display_options['fields']['field_rank']['element_label_colon'] = 1;
401
	$handler->display->display_options['fields']['field_rank']['element_default_classes'] = 1;
402
	$handler->display->display_options['fields']['field_rank']['hide_empty'] = 0;
403
	$handler->display->display_options['fields']['field_rank']['empty_zero'] = 0;
404
	$handler->display->display_options['fields']['field_rank']['hide_alter_empty'] = 1;
405
	$handler->display->display_options['fields']['field_rank']['field_api_classes'] = 0;
406
	/* Sort criterion: Taxonomy term: Term ID */
407
	$handler->display->display_options['sorts']['tid']['id'] = 'tid';
408
	$handler->display->display_options['sorts']['tid']['table'] = 'taxonomy_term_data';
409
	$handler->display->display_options['sorts']['tid']['field'] = 'tid';
410
	/* Filter criterion: Taxonomy vocabulary: Machine name */ 
411
	$handler->display->display_options['filters']['machine_name']['id'] = 'machine_name'; 
412
	$handler->display->display_options['filters']['machine_name']['table'] = 'taxonomy_vocabulary'; 
413
	$handler->display->display_options['filters']['machine_name']['field'] = 'machine_name'; 
414
	$handler->display->display_options['filters']['machine_name']['operator'] = 'not in'; 
415
	$handler->display->display_options['filters']['machine_name']['value'] = array(
416
	  'image_keywords' => 'image_keywords',
417
	  'imaging_technique' => 'imaging_technique',
418
	  'preparation_technique' => 'preparation_technique', );
419
	
420
	
421
	/* Display: Page */
422
	$handler = $view->new_display('page', 'Page', 'page');
423
	$handler->display->display_options['path'] = 'dwca_export/classification/page';
424
	
425
	/* Display: Data export */
426
	$handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
427
	$handler->display->display_options['pager']['type'] = 'none';
428
	$handler->display->display_options['pager']['options']['offset'] = '0';
429
	$handler->display->display_options['style_plugin'] = 'views_data_export_csv';
430
	$handler->display->display_options['style_options']['provide_file'] = 0;
431
	$handler->display->display_options['style_options']['parent_sort'] = 0;
432
	$handler->display->display_options['style_options']['quote'] = 1;
433
	$handler->display->display_options['style_options']['trim'] = 1;
434
	$handler->display->display_options['style_options']['replace_newlines'] = 1;
435
	$handler->display->display_options['style_options']['newline_replacement'] = '\\r';
436
	$handler->display->display_options['style_options']['header'] = 0;
437
	
438
	$handler->display->display_options['pager']['type'] = 'none';
439
	$handler->display->display_options['pager']['options']['offset'] = '0';
440
	
441
	$handler->display->display_options['path'] = 'dwca_export/classification/csv';
442
	
443

    
444
	return $view;
445
}
446

    
447

    
448
function _view_reference() {
449

    
450
	$view = new view;
451
	$view->name = 'dwca_export_reference';
452
	$view->description = 'DwC-A reference extension for a Taxon';
453
	$view->tag = 'default';
454
	$view->base_table = 'taxonomy_term_data';
455
	$view->human_name = 'DwC-A Export Reference';
456
	$view->core = 7;
457
	$view->api_version = '3.0';
458
	$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
459

    
460
	/* Display: Master */
461
	$handler = $view->new_display('default', 'Master', 'default');
462
	$handler->display->display_options['title'] = 'Reference Export';
463
	$handler->display->display_options['access']['type'] = 'perm';
464
	$handler->display->display_options['cache']['type'] = 'none';
465
	$handler->display->display_options['query']['type'] = 'views_query';
466
	$handler->display->display_options['query']['options']['query_comment'] = FALSE;
467
	$handler->display->display_options['exposed_form']['type'] = 'basic';
468
	$handler->display->display_options['pager']['type'] = 'full';
469
	$handler->display->display_options['pager']['options']['items_per_page'] = '10';
470
	$handler->display->display_options['style_plugin'] = 'table';
471
	$handler->display->display_options['style_options']['columns'] = array(
472
  'name' => 'name',
473
	);
474
	$handler->display->display_options['style_options']['default'] = '-1';
475
	$handler->display->display_options['style_options']['info'] = array(
476
  'name' => array(
477
    'sortable' => 0,
478
    'default_sort_order' => 'asc',
479
    'align' => '',
480
    'separator' => '',
481
    'empty_column' => 0,
482
	),
483
	);
484
	$handler->display->display_options['style_options']['override'] = 1;
485
	$handler->display->display_options['style_options']['sticky'] = 0;
486
	$handler->display->display_options['style_options']['empty_table'] = 0;
487
	/* Relationship: Taxonomy term: Reference (field_reference) */
488
	$handler->display->display_options['relationships']['field_reference_nid']['id'] = 'field_reference_nid';
489
	$handler->display->display_options['relationships']['field_reference_nid']['table'] = 'field_data_field_reference';
490
	$handler->display->display_options['relationships']['field_reference_nid']['field'] = 'field_reference_nid';
491
	$handler->display->display_options['relationships']['field_reference_nid']['required'] = 1;
492
	$handler->display->display_options['relationships']['field_reference_nid']['delta'] = '-1';
493
	/* Field: Taxonomy term: Term ID */
494
	$handler->display->display_options['fields']['tid']['id'] = 'tid';
495
	$handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
496
	$handler->display->display_options['fields']['tid']['field'] = 'tid';
497
	$handler->display->display_options['fields']['tid']['alter']['alter_text'] = 0;
498
	$handler->display->display_options['fields']['tid']['alter']['make_link'] = 0;
499
	$handler->display->display_options['fields']['tid']['alter']['absolute'] = 0;
500
	$handler->display->display_options['fields']['tid']['alter']['external'] = 0;
501
	$handler->display->display_options['fields']['tid']['alter']['replace_spaces'] = 0;
502
	$handler->display->display_options['fields']['tid']['alter']['trim_whitespace'] = 0;
503
	$handler->display->display_options['fields']['tid']['alter']['nl2br'] = 0;
504
	$handler->display->display_options['fields']['tid']['alter']['word_boundary'] = 1;
505
	$handler->display->display_options['fields']['tid']['alter']['ellipsis'] = 1;
506
	$handler->display->display_options['fields']['tid']['alter']['more_link'] = 0;
507
	$handler->display->display_options['fields']['tid']['alter']['strip_tags'] = 0;
508
	$handler->display->display_options['fields']['tid']['alter']['trim'] = 0;
509
	$handler->display->display_options['fields']['tid']['alter']['html'] = 0;
510
	$handler->display->display_options['fields']['tid']['element_label_colon'] = 1;
511
	$handler->display->display_options['fields']['tid']['element_default_classes'] = 1;
512
	$handler->display->display_options['fields']['tid']['hide_empty'] = 0;
513
	$handler->display->display_options['fields']['tid']['empty_zero'] = 0;
514
	$handler->display->display_options['fields']['tid']['hide_alter_empty'] = 1;
515
	$handler->display->display_options['fields']['tid']['format_plural'] = 0;
516
	/* Field: Biblio: Accession Number */
517
	$handler->display->display_options['fields']['biblio_accession_number']['id'] = 'biblio_accession_number';
518
	$handler->display->display_options['fields']['biblio_accession_number']['table'] = 'biblio';
519
	$handler->display->display_options['fields']['biblio_accession_number']['field'] = 'biblio_accession_number';
520
	$handler->display->display_options['fields']['biblio_accession_number']['relationship'] = 'field_reference_nid';
521
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['alter_text'] = 0;
522
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['make_link'] = 0;
523
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['absolute'] = 0;
524
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['external'] = 0;
525
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['replace_spaces'] = 0;
526
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['trim_whitespace'] = 0;
527
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['nl2br'] = 0;
528
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['word_boundary'] = 1;
529
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['ellipsis'] = 1;
530
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['more_link'] = 0;
531
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['strip_tags'] = 0;
532
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['trim'] = 0;
533
	$handler->display->display_options['fields']['biblio_accession_number']['alter']['html'] = 0;
534
	$handler->display->display_options['fields']['biblio_accession_number']['element_label_colon'] = 1;
535
	$handler->display->display_options['fields']['biblio_accession_number']['element_default_classes'] = 1;
536
	$handler->display->display_options['fields']['biblio_accession_number']['hide_empty'] = 0;
537
	$handler->display->display_options['fields']['biblio_accession_number']['empty_zero'] = 0;
538
	$handler->display->display_options['fields']['biblio_accession_number']['hide_alter_empty'] = 1;
539
	$handler->display->display_options['fields']['biblio_accession_number']['biblio_label'] = 1;
540
	/* Field: Biblio: Call Number */
541
	$handler->display->display_options['fields']['biblio_call_number']['id'] = 'biblio_call_number';
542
	$handler->display->display_options['fields']['biblio_call_number']['table'] = 'biblio';
543
	$handler->display->display_options['fields']['biblio_call_number']['field'] = 'biblio_call_number';
544
	$handler->display->display_options['fields']['biblio_call_number']['relationship'] = 'field_reference_nid';
545
	$handler->display->display_options['fields']['biblio_call_number']['alter']['alter_text'] = 0;
546
	$handler->display->display_options['fields']['biblio_call_number']['alter']['make_link'] = 0;
547
	$handler->display->display_options['fields']['biblio_call_number']['alter']['absolute'] = 0;
548
	$handler->display->display_options['fields']['biblio_call_number']['alter']['external'] = 0;
549
	$handler->display->display_options['fields']['biblio_call_number']['alter']['replace_spaces'] = 0;
550
	$handler->display->display_options['fields']['biblio_call_number']['alter']['trim_whitespace'] = 0;
551
	$handler->display->display_options['fields']['biblio_call_number']['alter']['nl2br'] = 0;
552
	$handler->display->display_options['fields']['biblio_call_number']['alter']['word_boundary'] = 1;
553
	$handler->display->display_options['fields']['biblio_call_number']['alter']['ellipsis'] = 1;
554
	$handler->display->display_options['fields']['biblio_call_number']['alter']['more_link'] = 0;
555
	$handler->display->display_options['fields']['biblio_call_number']['alter']['strip_tags'] = 0;
556
	$handler->display->display_options['fields']['biblio_call_number']['alter']['trim'] = 0;
557
	$handler->display->display_options['fields']['biblio_call_number']['alter']['html'] = 0;
558
	$handler->display->display_options['fields']['biblio_call_number']['element_label_colon'] = 1;
559
	$handler->display->display_options['fields']['biblio_call_number']['element_default_classes'] = 1;
560
	$handler->display->display_options['fields']['biblio_call_number']['hide_empty'] = 0;
561
	$handler->display->display_options['fields']['biblio_call_number']['empty_zero'] = 0;
562
	$handler->display->display_options['fields']['biblio_call_number']['hide_alter_empty'] = 1;
563
	$handler->display->display_options['fields']['biblio_call_number']['biblio_label'] = 1;
564
	/* Field: Biblio: Citation Key */
565
	$handler->display->display_options['fields']['biblio_citekey']['id'] = 'biblio_citekey';
566
	$handler->display->display_options['fields']['biblio_citekey']['table'] = 'biblio';
567
	$handler->display->display_options['fields']['biblio_citekey']['field'] = 'biblio_citekey';
568
	$handler->display->display_options['fields']['biblio_citekey']['relationship'] = 'field_reference_nid';
569
	$handler->display->display_options['fields']['biblio_citekey']['alter']['alter_text'] = 0;
570
	$handler->display->display_options['fields']['biblio_citekey']['alter']['make_link'] = 0;
571
	$handler->display->display_options['fields']['biblio_citekey']['alter']['absolute'] = 0;
572
	$handler->display->display_options['fields']['biblio_citekey']['alter']['external'] = 0;
573
	$handler->display->display_options['fields']['biblio_citekey']['alter']['replace_spaces'] = 0;
574
	$handler->display->display_options['fields']['biblio_citekey']['alter']['trim_whitespace'] = 0;
575
	$handler->display->display_options['fields']['biblio_citekey']['alter']['nl2br'] = 0;
576
	$handler->display->display_options['fields']['biblio_citekey']['alter']['word_boundary'] = 1;
577
	$handler->display->display_options['fields']['biblio_citekey']['alter']['ellipsis'] = 1;
578
	$handler->display->display_options['fields']['biblio_citekey']['alter']['more_link'] = 0;
579
	$handler->display->display_options['fields']['biblio_citekey']['alter']['strip_tags'] = 0;
580
	$handler->display->display_options['fields']['biblio_citekey']['alter']['trim'] = 0;
581
	$handler->display->display_options['fields']['biblio_citekey']['alter']['html'] = 0;
582
	$handler->display->display_options['fields']['biblio_citekey']['element_label_colon'] = 1;
583
	$handler->display->display_options['fields']['biblio_citekey']['element_default_classes'] = 1;
584
	$handler->display->display_options['fields']['biblio_citekey']['hide_empty'] = 0;
585
	$handler->display->display_options['fields']['biblio_citekey']['empty_zero'] = 0;
586
	$handler->display->display_options['fields']['biblio_citekey']['hide_alter_empty'] = 1;
587
	$handler->display->display_options['fields']['biblio_citekey']['biblio_label'] = 1;
588
	/* Field: Biblio: DOI */
589
	$handler->display->display_options['fields']['biblio_doi']['id'] = 'biblio_doi';
590
	$handler->display->display_options['fields']['biblio_doi']['table'] = 'biblio';
591
	$handler->display->display_options['fields']['biblio_doi']['field'] = 'biblio_doi';
592
	$handler->display->display_options['fields']['biblio_doi']['relationship'] = 'field_reference_nid';
593
	$handler->display->display_options['fields']['biblio_doi']['alter']['alter_text'] = 0;
594
	$handler->display->display_options['fields']['biblio_doi']['alter']['make_link'] = 0;
595
	$handler->display->display_options['fields']['biblio_doi']['alter']['absolute'] = 0;
596
	$handler->display->display_options['fields']['biblio_doi']['alter']['external'] = 0;
597
	$handler->display->display_options['fields']['biblio_doi']['alter']['replace_spaces'] = 0;
598
	$handler->display->display_options['fields']['biblio_doi']['alter']['trim_whitespace'] = 0;
599
	$handler->display->display_options['fields']['biblio_doi']['alter']['nl2br'] = 0;
600
	$handler->display->display_options['fields']['biblio_doi']['alter']['word_boundary'] = 1;
601
	$handler->display->display_options['fields']['biblio_doi']['alter']['ellipsis'] = 1;
602
	$handler->display->display_options['fields']['biblio_doi']['alter']['more_link'] = 0;
603
	$handler->display->display_options['fields']['biblio_doi']['alter']['strip_tags'] = 0;
604
	$handler->display->display_options['fields']['biblio_doi']['alter']['trim'] = 0;
605
	$handler->display->display_options['fields']['biblio_doi']['alter']['html'] = 0;
606
	$handler->display->display_options['fields']['biblio_doi']['element_label_colon'] = 1;
607
	$handler->display->display_options['fields']['biblio_doi']['element_default_classes'] = 1;
608
	$handler->display->display_options['fields']['biblio_doi']['hide_empty'] = 0;
609
	$handler->display->display_options['fields']['biblio_doi']['empty_zero'] = 0;
610
	$handler->display->display_options['fields']['biblio_doi']['hide_alter_empty'] = 1;
611
	$handler->display->display_options['fields']['biblio_doi']['biblio_label'] = 1;
612
	/* Field: Biblio: ISBN Number */
613
	$handler->display->display_options['fields']['biblio_isbn']['id'] = 'biblio_isbn';
614
	$handler->display->display_options['fields']['biblio_isbn']['table'] = 'biblio';
615
	$handler->display->display_options['fields']['biblio_isbn']['field'] = 'biblio_isbn';
616
	$handler->display->display_options['fields']['biblio_isbn']['relationship'] = 'field_reference_nid';
617
	$handler->display->display_options['fields']['biblio_isbn']['alter']['alter_text'] = 0;
618
	$handler->display->display_options['fields']['biblio_isbn']['alter']['make_link'] = 0;
619
	$handler->display->display_options['fields']['biblio_isbn']['alter']['absolute'] = 0;
620
	$handler->display->display_options['fields']['biblio_isbn']['alter']['external'] = 0;
621
	$handler->display->display_options['fields']['biblio_isbn']['alter']['replace_spaces'] = 0;
622
	$handler->display->display_options['fields']['biblio_isbn']['alter']['trim_whitespace'] = 0;
623
	$handler->display->display_options['fields']['biblio_isbn']['alter']['nl2br'] = 0;
624
	$handler->display->display_options['fields']['biblio_isbn']['alter']['word_boundary'] = 1;
625
	$handler->display->display_options['fields']['biblio_isbn']['alter']['ellipsis'] = 1;
626
	$handler->display->display_options['fields']['biblio_isbn']['alter']['more_link'] = 0;
627
	$handler->display->display_options['fields']['biblio_isbn']['alter']['strip_tags'] = 0;
628
	$handler->display->display_options['fields']['biblio_isbn']['alter']['trim'] = 0;
629
	$handler->display->display_options['fields']['biblio_isbn']['alter']['html'] = 0;
630
	$handler->display->display_options['fields']['biblio_isbn']['element_label_colon'] = 1;
631
	$handler->display->display_options['fields']['biblio_isbn']['element_default_classes'] = 1;
632
	$handler->display->display_options['fields']['biblio_isbn']['hide_empty'] = 0;
633
	$handler->display->display_options['fields']['biblio_isbn']['empty_zero'] = 0;
634
	$handler->display->display_options['fields']['biblio_isbn']['hide_alter_empty'] = 1;
635
	$handler->display->display_options['fields']['biblio_isbn']['biblio_label'] = 1;
636
	/* Field: Biblio: ISSN Number */
637
	$handler->display->display_options['fields']['biblio_issn']['id'] = 'biblio_issn';
638
	$handler->display->display_options['fields']['biblio_issn']['table'] = 'biblio';
639
	$handler->display->display_options['fields']['biblio_issn']['field'] = 'biblio_issn';
640
	$handler->display->display_options['fields']['biblio_issn']['relationship'] = 'field_reference_nid';
641
	$handler->display->display_options['fields']['biblio_issn']['alter']['alter_text'] = 0;
642
	$handler->display->display_options['fields']['biblio_issn']['alter']['make_link'] = 0;
643
	$handler->display->display_options['fields']['biblio_issn']['alter']['absolute'] = 0;
644
	$handler->display->display_options['fields']['biblio_issn']['alter']['external'] = 0;
645
	$handler->display->display_options['fields']['biblio_issn']['alter']['replace_spaces'] = 0;
646
	$handler->display->display_options['fields']['biblio_issn']['alter']['trim_whitespace'] = 0;
647
	$handler->display->display_options['fields']['biblio_issn']['alter']['nl2br'] = 0;
648
	$handler->display->display_options['fields']['biblio_issn']['alter']['word_boundary'] = 1;
649
	$handler->display->display_options['fields']['biblio_issn']['alter']['ellipsis'] = 1;
650
	$handler->display->display_options['fields']['biblio_issn']['alter']['more_link'] = 0;
651
	$handler->display->display_options['fields']['biblio_issn']['alter']['strip_tags'] = 0;
652
	$handler->display->display_options['fields']['biblio_issn']['alter']['trim'] = 0;
653
	$handler->display->display_options['fields']['biblio_issn']['alter']['html'] = 0;
654
	$handler->display->display_options['fields']['biblio_issn']['element_label_colon'] = 1;
655
	$handler->display->display_options['fields']['biblio_issn']['element_default_classes'] = 1;
656
	$handler->display->display_options['fields']['biblio_issn']['hide_empty'] = 0;
657
	$handler->display->display_options['fields']['biblio_issn']['empty_zero'] = 0;
658
	$handler->display->display_options['fields']['biblio_issn']['hide_alter_empty'] = 1;
659
	$handler->display->display_options['fields']['biblio_issn']['biblio_label'] = 1;
660
	/* Field: Biblio: Other Numbers */
661
	$handler->display->display_options['fields']['biblio_other_number']['id'] = 'biblio_other_number';
662
	$handler->display->display_options['fields']['biblio_other_number']['table'] = 'biblio';
663
	$handler->display->display_options['fields']['biblio_other_number']['field'] = 'biblio_other_number';
664
	$handler->display->display_options['fields']['biblio_other_number']['relationship'] = 'field_reference_nid';
665
	$handler->display->display_options['fields']['biblio_other_number']['alter']['alter_text'] = 0;
666
	$handler->display->display_options['fields']['biblio_other_number']['alter']['make_link'] = 0;
667
	$handler->display->display_options['fields']['biblio_other_number']['alter']['absolute'] = 0;
668
	$handler->display->display_options['fields']['biblio_other_number']['alter']['external'] = 0;
669
	$handler->display->display_options['fields']['biblio_other_number']['alter']['replace_spaces'] = 0;
670
	$handler->display->display_options['fields']['biblio_other_number']['alter']['trim_whitespace'] = 0;
671
	$handler->display->display_options['fields']['biblio_other_number']['alter']['nl2br'] = 0;
672
	$handler->display->display_options['fields']['biblio_other_number']['alter']['word_boundary'] = 1;
673
	$handler->display->display_options['fields']['biblio_other_number']['alter']['ellipsis'] = 1;
674
	$handler->display->display_options['fields']['biblio_other_number']['alter']['more_link'] = 0;
675
	$handler->display->display_options['fields']['biblio_other_number']['alter']['strip_tags'] = 0;
676
	$handler->display->display_options['fields']['biblio_other_number']['alter']['trim'] = 0;
677
	$handler->display->display_options['fields']['biblio_other_number']['alter']['html'] = 0;
678
	$handler->display->display_options['fields']['biblio_other_number']['element_label_colon'] = 1;
679
	$handler->display->display_options['fields']['biblio_other_number']['element_default_classes'] = 1;
680
	$handler->display->display_options['fields']['biblio_other_number']['hide_empty'] = 0;
681
	$handler->display->display_options['fields']['biblio_other_number']['empty_zero'] = 0;
682
	$handler->display->display_options['fields']['biblio_other_number']['hide_alter_empty'] = 1;
683
	$handler->display->display_options['fields']['biblio_other_number']['biblio_label'] = 1;
684
	/* Field: Biblio: Biblio Citation */
685
	$handler->display->display_options['fields']['citation']['id'] = 'citation';
686
	$handler->display->display_options['fields']['citation']['table'] = 'biblio';
687
	$handler->display->display_options['fields']['citation']['field'] = 'citation';
688
	$handler->display->display_options['fields']['citation']['relationship'] = 'field_reference_nid';
689
	$handler->display->display_options['fields']['citation']['alter']['alter_text'] = 0;
690
	$handler->display->display_options['fields']['citation']['alter']['make_link'] = 0;
691
	$handler->display->display_options['fields']['citation']['alter']['absolute'] = 0;
692
	$handler->display->display_options['fields']['citation']['alter']['external'] = 0;
693
	$handler->display->display_options['fields']['citation']['alter']['replace_spaces'] = 0;
694
	$handler->display->display_options['fields']['citation']['alter']['trim_whitespace'] = 0;
695
	$handler->display->display_options['fields']['citation']['alter']['nl2br'] = 0;
696
	$handler->display->display_options['fields']['citation']['alter']['word_boundary'] = 1;
697
	$handler->display->display_options['fields']['citation']['alter']['ellipsis'] = 1;
698
	$handler->display->display_options['fields']['citation']['alter']['more_link'] = 0;
699
	$handler->display->display_options['fields']['citation']['alter']['strip_tags'] = 0;
700
	$handler->display->display_options['fields']['citation']['alter']['trim'] = 0;
701
	$handler->display->display_options['fields']['citation']['alter']['html'] = 0;
702
	$handler->display->display_options['fields']['citation']['element_label_colon'] = 1;
703
	$handler->display->display_options['fields']['citation']['element_default_classes'] = 1;
704
	$handler->display->display_options['fields']['citation']['hide_empty'] = 0;
705
	$handler->display->display_options['fields']['citation']['empty_zero'] = 0;
706
	$handler->display->display_options['fields']['citation']['hide_alter_empty'] = 1;
707
	/* Field: Content: Title */
708
	$handler->display->display_options['fields']['title']['id'] = 'title';
709
	$handler->display->display_options['fields']['title']['table'] = 'node';
710
	$handler->display->display_options['fields']['title']['field'] = 'title';
711
	$handler->display->display_options['fields']['title']['relationship'] = 'field_reference_nid';
712
	$handler->display->display_options['fields']['title']['alter']['alter_text'] = 0;
713
	$handler->display->display_options['fields']['title']['alter']['make_link'] = 0;
714
	$handler->display->display_options['fields']['title']['alter']['absolute'] = 0;
715
	$handler->display->display_options['fields']['title']['alter']['external'] = 0;
716
	$handler->display->display_options['fields']['title']['alter']['replace_spaces'] = 0;
717
	$handler->display->display_options['fields']['title']['alter']['trim_whitespace'] = 0;
718
	$handler->display->display_options['fields']['title']['alter']['nl2br'] = 0;
719
	$handler->display->display_options['fields']['title']['alter']['word_boundary'] = 1;
720
	$handler->display->display_options['fields']['title']['alter']['ellipsis'] = 1;
721
	$handler->display->display_options['fields']['title']['alter']['more_link'] = 0;
722
	$handler->display->display_options['fields']['title']['alter']['strip_tags'] = 0;
723
	$handler->display->display_options['fields']['title']['alter']['trim'] = 0;
724
	$handler->display->display_options['fields']['title']['alter']['html'] = 0;
725
	$handler->display->display_options['fields']['title']['element_label_colon'] = 1;
726
	$handler->display->display_options['fields']['title']['element_default_classes'] = 1;
727
	$handler->display->display_options['fields']['title']['hide_empty'] = 0;
728
	$handler->display->display_options['fields']['title']['empty_zero'] = 0;
729
	$handler->display->display_options['fields']['title']['hide_alter_empty'] = 1;
730
	$handler->display->display_options['fields']['title']['link_to_node'] = 1;
731
	/* Field: Biblio: Authors */
732
	$handler->display->display_options['fields']['biblio_authors']['id'] = 'biblio_authors';
733
	$handler->display->display_options['fields']['biblio_authors']['table'] = 'biblio';
734
	$handler->display->display_options['fields']['biblio_authors']['field'] = 'biblio_authors';
735
	$handler->display->display_options['fields']['biblio_authors']['relationship'] = 'field_reference_nid';
736
	$handler->display->display_options['fields']['biblio_authors']['alter']['alter_text'] = 0;
737
	$handler->display->display_options['fields']['biblio_authors']['alter']['make_link'] = 0;
738
	$handler->display->display_options['fields']['biblio_authors']['alter']['absolute'] = 0;
739
	$handler->display->display_options['fields']['biblio_authors']['alter']['external'] = 0;
740
	$handler->display->display_options['fields']['biblio_authors']['alter']['replace_spaces'] = 0;
741
	$handler->display->display_options['fields']['biblio_authors']['alter']['trim_whitespace'] = 0;
742
	$handler->display->display_options['fields']['biblio_authors']['alter']['nl2br'] = 0;
743
	$handler->display->display_options['fields']['biblio_authors']['alter']['word_boundary'] = 1;
744
	$handler->display->display_options['fields']['biblio_authors']['alter']['ellipsis'] = 1;
745
	$handler->display->display_options['fields']['biblio_authors']['alter']['more_link'] = 0;
746
	$handler->display->display_options['fields']['biblio_authors']['alter']['strip_tags'] = 0;
747
	$handler->display->display_options['fields']['biblio_authors']['alter']['trim'] = 0;
748
	$handler->display->display_options['fields']['biblio_authors']['alter']['html'] = 0;
749
	$handler->display->display_options['fields']['biblio_authors']['element_label_colon'] = 1;
750
	$handler->display->display_options['fields']['biblio_authors']['element_default_classes'] = 1;
751
	$handler->display->display_options['fields']['biblio_authors']['hide_empty'] = 0;
752
	$handler->display->display_options['fields']['biblio_authors']['empty_zero'] = 0;
753
	$handler->display->display_options['fields']['biblio_authors']['hide_alter_empty'] = 1;
754
	$handler->display->display_options['fields']['biblio_authors']['biblio_label'] = 1;
755
	$handler->display->display_options['fields']['biblio_authors']['auth_category'] = '1';
756
	$handler->display->display_options['fields']['biblio_authors']['initialize'] = 1;
757
	/* Field: Biblio: Secondary Title */
758
	$handler->display->display_options['fields']['biblio_secondary_title']['id'] = 'biblio_secondary_title';
759
	$handler->display->display_options['fields']['biblio_secondary_title']['table'] = 'biblio';
760
	$handler->display->display_options['fields']['biblio_secondary_title']['field'] = 'biblio_secondary_title';
761
	$handler->display->display_options['fields']['biblio_secondary_title']['relationship'] = 'field_reference_nid';
762
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['alter_text'] = 0;
763
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['make_link'] = 0;
764
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['absolute'] = 0;
765
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['external'] = 0;
766
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['replace_spaces'] = 0;
767
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['trim_whitespace'] = 0;
768
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['nl2br'] = 0;
769
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['word_boundary'] = 1;
770
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['ellipsis'] = 1;
771
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['more_link'] = 0;
772
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['strip_tags'] = 0;
773
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['trim'] = 0;
774
	$handler->display->display_options['fields']['biblio_secondary_title']['alter']['html'] = 0;
775
	$handler->display->display_options['fields']['biblio_secondary_title']['element_label_colon'] = 1;
776
	$handler->display->display_options['fields']['biblio_secondary_title']['element_default_classes'] = 1;
777
	$handler->display->display_options['fields']['biblio_secondary_title']['hide_empty'] = 0;
778
	$handler->display->display_options['fields']['biblio_secondary_title']['empty_zero'] = 0;
779
	$handler->display->display_options['fields']['biblio_secondary_title']['hide_alter_empty'] = 1;
780
	$handler->display->display_options['fields']['biblio_secondary_title']['biblio_label'] = 1;
781
	/* Field: Biblio: Notes */
782
	$handler->display->display_options['fields']['biblio_notes']['id'] = 'biblio_notes';
783
	$handler->display->display_options['fields']['biblio_notes']['table'] = 'biblio';
784
	$handler->display->display_options['fields']['biblio_notes']['field'] = 'biblio_notes';
785
	$handler->display->display_options['fields']['biblio_notes']['relationship'] = 'field_reference_nid';
786
	$handler->display->display_options['fields']['biblio_notes']['alter']['alter_text'] = 0;
787
	$handler->display->display_options['fields']['biblio_notes']['alter']['make_link'] = 0;
788
	$handler->display->display_options['fields']['biblio_notes']['alter']['absolute'] = 0;
789
	$handler->display->display_options['fields']['biblio_notes']['alter']['external'] = 0;
790
	$handler->display->display_options['fields']['biblio_notes']['alter']['replace_spaces'] = 0;
791
	$handler->display->display_options['fields']['biblio_notes']['alter']['trim_whitespace'] = 0;
792
	$handler->display->display_options['fields']['biblio_notes']['alter']['nl2br'] = 0;
793
	$handler->display->display_options['fields']['biblio_notes']['alter']['word_boundary'] = 1;
794
	$handler->display->display_options['fields']['biblio_notes']['alter']['ellipsis'] = 1;
795
	$handler->display->display_options['fields']['biblio_notes']['alter']['more_link'] = 0;
796
	$handler->display->display_options['fields']['biblio_notes']['alter']['strip_tags'] = 0;
797
	$handler->display->display_options['fields']['biblio_notes']['alter']['trim'] = 0;
798
	$handler->display->display_options['fields']['biblio_notes']['alter']['html'] = 0;
799
	$handler->display->display_options['fields']['biblio_notes']['element_label_colon'] = 1;
800
	$handler->display->display_options['fields']['biblio_notes']['element_default_classes'] = 1;
801
	$handler->display->display_options['fields']['biblio_notes']['hide_empty'] = 0;
802
	$handler->display->display_options['fields']['biblio_notes']['empty_zero'] = 0;
803
	$handler->display->display_options['fields']['biblio_notes']['hide_alter_empty'] = 1;
804
	/* Field: Biblio: Keyword */
805
	$handler->display->display_options['fields']['word']['id'] = 'word';
806
	$handler->display->display_options['fields']['word']['table'] = 'biblio_keyword_data';
807
	$handler->display->display_options['fields']['word']['field'] = 'word';
808
	$handler->display->display_options['fields']['word']['relationship'] = 'field_reference_nid';
809
	$handler->display->display_options['fields']['word']['alter']['alter_text'] = 0;
810
	$handler->display->display_options['fields']['word']['alter']['make_link'] = 0;
811
	$handler->display->display_options['fields']['word']['alter']['absolute'] = 0;
812
	$handler->display->display_options['fields']['word']['alter']['external'] = 0;
813
	$handler->display->display_options['fields']['word']['alter']['replace_spaces'] = 0;
814
	$handler->display->display_options['fields']['word']['alter']['trim_whitespace'] = 0;
815
	$handler->display->display_options['fields']['word']['alter']['nl2br'] = 0;
816
	$handler->display->display_options['fields']['word']['alter']['word_boundary'] = 1;
817
	$handler->display->display_options['fields']['word']['alter']['ellipsis'] = 1;
818
	$handler->display->display_options['fields']['word']['alter']['more_link'] = 0;
819
	$handler->display->display_options['fields']['word']['alter']['strip_tags'] = 0;
820
	$handler->display->display_options['fields']['word']['alter']['trim'] = 0;
821
	$handler->display->display_options['fields']['word']['alter']['html'] = 0;
822
	$handler->display->display_options['fields']['word']['element_label_colon'] = 1;
823
	$handler->display->display_options['fields']['word']['element_default_classes'] = 1;
824
	$handler->display->display_options['fields']['word']['hide_empty'] = 0;
825
	$handler->display->display_options['fields']['word']['empty_zero'] = 0;
826
	$handler->display->display_options['fields']['word']['hide_alter_empty'] = 1;
827
	$handler->display->display_options['fields']['word']['link_to_keyword'] = 0;
828
	/* Field: Biblio: Publication Language */
829
	$handler->display->display_options['fields']['biblio_lang']['id'] = 'biblio_lang';
830
	$handler->display->display_options['fields']['biblio_lang']['table'] = 'biblio';
831
	$handler->display->display_options['fields']['biblio_lang']['field'] = 'biblio_lang';
832
	$handler->display->display_options['fields']['biblio_lang']['relationship'] = 'field_reference_nid';
833
	$handler->display->display_options['fields']['biblio_lang']['alter']['alter_text'] = 0;
834
	$handler->display->display_options['fields']['biblio_lang']['alter']['make_link'] = 0;
835
	$handler->display->display_options['fields']['biblio_lang']['alter']['absolute'] = 0;
836
	$handler->display->display_options['fields']['biblio_lang']['alter']['external'] = 0;
837
	$handler->display->display_options['fields']['biblio_lang']['alter']['replace_spaces'] = 0;
838
	$handler->display->display_options['fields']['biblio_lang']['alter']['trim_whitespace'] = 0;
839
	$handler->display->display_options['fields']['biblio_lang']['alter']['nl2br'] = 0;
840
	$handler->display->display_options['fields']['biblio_lang']['alter']['word_boundary'] = 1;
841
	$handler->display->display_options['fields']['biblio_lang']['alter']['ellipsis'] = 1;
842
	$handler->display->display_options['fields']['biblio_lang']['alter']['more_link'] = 0;
843
	$handler->display->display_options['fields']['biblio_lang']['alter']['strip_tags'] = 0;
844
	$handler->display->display_options['fields']['biblio_lang']['alter']['trim'] = 0;
845
	$handler->display->display_options['fields']['biblio_lang']['alter']['html'] = 0;
846
	$handler->display->display_options['fields']['biblio_lang']['element_label_colon'] = 1;
847
	$handler->display->display_options['fields']['biblio_lang']['element_default_classes'] = 1;
848
	$handler->display->display_options['fields']['biblio_lang']['hide_empty'] = 0;
849
	$handler->display->display_options['fields']['biblio_lang']['empty_zero'] = 0;
850
	$handler->display->display_options['fields']['biblio_lang']['hide_alter_empty'] = 1;
851
	$handler->display->display_options['fields']['biblio_lang']['biblio_label'] = 1;
852
	/* Field: Biblio: Type of Publication */
853
	$handler->display->display_options['fields']['name']['id'] = 'name';
854
	$handler->display->display_options['fields']['name']['table'] = 'biblio_types';
855
	$handler->display->display_options['fields']['name']['field'] = 'name';
856
	$handler->display->display_options['fields']['name']['relationship'] = 'field_reference_nid';
857
	$handler->display->display_options['fields']['name']['alter']['alter_text'] = 0;
858
	$handler->display->display_options['fields']['name']['alter']['make_link'] = 0;
859
	$handler->display->display_options['fields']['name']['alter']['absolute'] = 0;
860
	$handler->display->display_options['fields']['name']['alter']['external'] = 0;
861
	$handler->display->display_options['fields']['name']['alter']['replace_spaces'] = 0;
862
	$handler->display->display_options['fields']['name']['alter']['trim_whitespace'] = 0;
863
	$handler->display->display_options['fields']['name']['alter']['nl2br'] = 0;
864
	$handler->display->display_options['fields']['name']['alter']['word_boundary'] = 1;
865
	$handler->display->display_options['fields']['name']['alter']['ellipsis'] = 1;
866
	$handler->display->display_options['fields']['name']['alter']['more_link'] = 0;
867
	$handler->display->display_options['fields']['name']['alter']['strip_tags'] = 0;
868
	$handler->display->display_options['fields']['name']['alter']['trim'] = 0;
869
	$handler->display->display_options['fields']['name']['alter']['html'] = 0;
870
	$handler->display->display_options['fields']['name']['element_label_colon'] = 1;
871
	$handler->display->display_options['fields']['name']['element_default_classes'] = 1;
872
	$handler->display->display_options['fields']['name']['hide_empty'] = 0;
873
	$handler->display->display_options['fields']['name']['empty_zero'] = 0;
874
	$handler->display->display_options['fields']['name']['hide_alter_empty'] = 1;
875
	/* Field: Biblio: Date Published */
876
	$handler->display->display_options['fields']['biblio_date']['id'] = 'biblio_date';
877
	$handler->display->display_options['fields']['biblio_date']['table'] = 'biblio';
878
	$handler->display->display_options['fields']['biblio_date']['field'] = 'biblio_date';
879
	$handler->display->display_options['fields']['biblio_date']['relationship'] = 'field_reference_nid';
880
	$handler->display->display_options['fields']['biblio_date']['alter']['alter_text'] = 0;
881
	$handler->display->display_options['fields']['biblio_date']['alter']['make_link'] = 0;
882
	$handler->display->display_options['fields']['biblio_date']['alter']['absolute'] = 0;
883
	$handler->display->display_options['fields']['biblio_date']['alter']['external'] = 0;
884
	$handler->display->display_options['fields']['biblio_date']['alter']['replace_spaces'] = 0;
885
	$handler->display->display_options['fields']['biblio_date']['alter']['trim_whitespace'] = 0;
886
	$handler->display->display_options['fields']['biblio_date']['alter']['nl2br'] = 0;
887
	$handler->display->display_options['fields']['biblio_date']['alter']['word_boundary'] = 1;
888
	$handler->display->display_options['fields']['biblio_date']['alter']['ellipsis'] = 1;
889
	$handler->display->display_options['fields']['biblio_date']['alter']['more_link'] = 0;
890
	$handler->display->display_options['fields']['biblio_date']['alter']['strip_tags'] = 0;
891
	$handler->display->display_options['fields']['biblio_date']['alter']['trim'] = 0;
892
	$handler->display->display_options['fields']['biblio_date']['alter']['html'] = 0;
893
	$handler->display->display_options['fields']['biblio_date']['element_label_colon'] = 1;
894
	$handler->display->display_options['fields']['biblio_date']['element_default_classes'] = 1;
895
	$handler->display->display_options['fields']['biblio_date']['hide_empty'] = 0;
896
	$handler->display->display_options['fields']['biblio_date']['empty_zero'] = 0;
897
	$handler->display->display_options['fields']['biblio_date']['hide_alter_empty'] = 1;
898
	$handler->display->display_options['fields']['biblio_date']['biblio_label'] = 1;
899
	/* Filter criterion: Content: Published */
900
	$handler->display->display_options['filters']['status']['id'] = 'status';
901
	$handler->display->display_options['filters']['status']['table'] = 'node';
902
	$handler->display->display_options['filters']['status']['field'] = 'status';
903
	$handler->display->display_options['filters']['status']['relationship'] = 'field_reference_nid';
904
	$handler->display->display_options['filters']['status']['value'] = '1';
905
	/* Filter criterion: Content: Type */
906
	$handler->display->display_options['filters']['type']['id'] = 'type';
907
	$handler->display->display_options['filters']['type']['table'] = 'node';
908
	$handler->display->display_options['filters']['type']['field'] = 'type';
909
	$handler->display->display_options['filters']['type']['relationship'] = 'field_reference_nid';
910
	$handler->display->display_options['filters']['type']['value'] = array(
911
  'biblio' => 'biblio',
912
	);
913

    
914
	/* Display: Page */
915
	$handler = $view->new_display('page', 'Page', 'page');
916
	$handler->display->display_options['path'] = 'dwca-export/reference/page';
917

    
918
	/* Display: Data export */
919
	$handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
920
	$handler->display->display_options['pager']['type'] = 'some';
921
	$handler->display->display_options['style_plugin'] = 'views_data_export_csv';
922
	$handler->display->display_options['style_options']['provide_file'] = 0;
923
	$handler->display->display_options['style_options']['parent_sort'] = 0;
924
	$handler->display->display_options['style_options']['quote'] = 1;
925
	$handler->display->display_options['style_options']['trim'] = 1;
926
	$handler->display->display_options['style_options']['replace_newlines'] = 1;
927
	$handler->display->display_options['style_options']['newline_replacement'] = '\\r';
928
	$handler->display->display_options['style_options']['header'] = 0;
929
	
930
	$handler->display->display_options['pager']['type'] = 'none';
931
	$handler->display->display_options['pager']['options']['offset'] = '0';
932
	
933
	$handler->display->display_options['path'] = 'dwca-export/reference/csv';
934

    
935
	return $view;
936
}
937

    
938
function _view_image() {
939
	
940
	$view = new view;
941
	$view->name = 'dwca_export_image';
942
	$view->description = 'DwC-A image extension for a Taxon';
943
	$view->tag = 'default';
944
	$view->base_table = 'file_managed';
945
	$view->human_name = 'DwC-A Export Image';
946
	$view->core = 7;
947
	$view->api_version = '3.0';
948
	$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
949
	
950
	/* Display: Master */
951
	$handler = $view->new_display('default', 'Master', 'default');
952
	$handler->display->display_options['title'] = 'image_test';
953
	$handler->display->display_options['access']['type'] = 'perm';
954
	$handler->display->display_options['cache']['type'] = 'none';
955
	$handler->display->display_options['query']['type'] = 'views_query';
956
	$handler->display->display_options['query']['options']['query_comment'] = FALSE;
957
	$handler->display->display_options['exposed_form']['type'] = 'basic';
958
	$handler->display->display_options['pager']['type'] = 'full';
959
	$handler->display->display_options['pager']['options']['items_per_page'] = '10';
960
	$handler->display->display_options['style_plugin'] = 'table';
961
	$handler->display->display_options['style_options']['columns'] = array(
962
	  'filename' => 'filename',
963
	  'tid' => 'tid',
964
	);
965
	$handler->display->display_options['style_options']['default'] = '-1';
966
	$handler->display->display_options['style_options']['info'] = array(
967
	  'filename' => array(
968
	    'sortable' => 0,
969
	    'default_sort_order' => 'asc',
970
	    'align' => '',
971
	    'separator' => '',
972
	    'empty_column' => 0,
973
	),
974
	  'tid' => array(
975
	    'sortable' => 0,
976
	    'default_sort_order' => 'asc',
977
	    'align' => '',
978
	    'separator' => '',
979
	    'empty_column' => 0,
980
	),
981
	);
982
	$handler->display->display_options['style_options']['override'] = 1;
983
	$handler->display->display_options['style_options']['sticky'] = 0;
984
	$handler->display->display_options['style_options']['empty_table'] = 0;
985
	/* Relationship: File Usage: Taxonomy Term */
986
	$handler->display->display_options['relationships']['file_to_taxonomy_term']['id'] = 'file_to_taxonomy_term';
987
	$handler->display->display_options['relationships']['file_to_taxonomy_term']['table'] = 'file_usage';
988
	$handler->display->display_options['relationships']['file_to_taxonomy_term']['field'] = 'file_to_taxonomy_term';
989
	$handler->display->display_options['relationships']['file_to_taxonomy_term']['required'] = 0;
990
	/* Field: Taxonomy term: Term ID */
991
	$handler->display->display_options['fields']['tid']['id'] = 'tid';
992
	$handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
993
	$handler->display->display_options['fields']['tid']['field'] = 'tid';
994
	$handler->display->display_options['fields']['tid']['relationship'] = 'file_to_taxonomy_term';
995
	$handler->display->display_options['fields']['tid']['label'] = 'id';
996
	$handler->display->display_options['fields']['tid']['alter']['alter_text'] = 0;
997
	$handler->display->display_options['fields']['tid']['alter']['make_link'] = 0;
998
	$handler->display->display_options['fields']['tid']['alter']['absolute'] = 0;
999
	$handler->display->display_options['fields']['tid']['alter']['external'] = 0;
1000
	$handler->display->display_options['fields']['tid']['alter']['replace_spaces'] = 0;
1001
	$handler->display->display_options['fields']['tid']['alter']['trim_whitespace'] = 0;
1002
	$handler->display->display_options['fields']['tid']['alter']['nl2br'] = 0;
1003
	$handler->display->display_options['fields']['tid']['alter']['word_boundary'] = 1;
1004
	$handler->display->display_options['fields']['tid']['alter']['ellipsis'] = 1;
1005
	$handler->display->display_options['fields']['tid']['alter']['more_link'] = 0;
1006
	$handler->display->display_options['fields']['tid']['alter']['strip_tags'] = 0;
1007
	$handler->display->display_options['fields']['tid']['alter']['trim'] = 0;
1008
	$handler->display->display_options['fields']['tid']['alter']['html'] = 0;
1009
	$handler->display->display_options['fields']['tid']['element_label_colon'] = 1;
1010
	$handler->display->display_options['fields']['tid']['element_default_classes'] = 1;
1011
	$handler->display->display_options['fields']['tid']['hide_empty'] = 0;
1012
	$handler->display->display_options['fields']['tid']['empty_zero'] = 0;
1013
	$handler->display->display_options['fields']['tid']['hide_alter_empty'] = 1;
1014
	$handler->display->display_options['fields']['tid']['format_plural'] = 0;
1015
	/* Field: File: Name */
1016
	$handler->display->display_options['fields']['filename']['id'] = 'filename';
1017
	$handler->display->display_options['fields']['filename']['table'] = 'file_managed';
1018
	$handler->display->display_options['fields']['filename']['field'] = 'filename';
1019
	$handler->display->display_options['fields']['filename']['label'] = 'identifier';
1020
	$handler->display->display_options['fields']['filename']['alter']['alter_text'] = 1;
1021
	$handler->display->display_options['fields']['filename']['alter']['text'] = '[filename]';
1022
	$handler->display->display_options['fields']['filename']['alter']['make_link'] = 1;
1023
	$handler->display->display_options['fields']['filename']['alter']['absolute'] = 1;
1024
	$handler->display->display_options['fields']['filename']['alter']['external'] = 0;
1025
	$handler->display->display_options['fields']['filename']['alter']['replace_spaces'] = 0;
1026
	$handler->display->display_options['fields']['filename']['alter']['trim_whitespace'] = 0;
1027
	$handler->display->display_options['fields']['filename']['alter']['nl2br'] = 0;
1028
	$handler->display->display_options['fields']['filename']['alter']['word_boundary'] = 0;
1029
	$handler->display->display_options['fields']['filename']['alter']['ellipsis'] = 0;
1030
	$handler->display->display_options['fields']['filename']['alter']['more_link'] = 0;
1031
	$handler->display->display_options['fields']['filename']['alter']['strip_tags'] = 1;
1032
	$handler->display->display_options['fields']['filename']['alter']['trim'] = 0;
1033
	$handler->display->display_options['fields']['filename']['alter']['html'] = 0;
1034
	$handler->display->display_options['fields']['filename']['element_label_colon'] = 1;
1035
	$handler->display->display_options['fields']['filename']['element_default_classes'] = 1;
1036
	$handler->display->display_options['fields']['filename']['hide_empty'] = 0;
1037
	$handler->display->display_options['fields']['filename']['empty_zero'] = 0;
1038
	$handler->display->display_options['fields']['filename']['hide_alter_empty'] = 1;
1039
	$handler->display->display_options['fields']['filename']['link_to_file'] = 1;
1040
	/* Field: File: Name */
1041
	$handler->display->display_options['fields']['filename_1']['id'] = 'filename_1';
1042
	$handler->display->display_options['fields']['filename_1']['table'] = 'file_managed';
1043
	$handler->display->display_options['fields']['filename_1']['field'] = 'filename';
1044
	$handler->display->display_options['fields']['filename_1']['label'] = 'title';
1045
	$handler->display->display_options['fields']['filename_1']['alter']['alter_text'] = 0;
1046
	$handler->display->display_options['fields']['filename_1']['alter']['make_link'] = 0;
1047
	$handler->display->display_options['fields']['filename_1']['alter']['absolute'] = 0;
1048
	$handler->display->display_options['fields']['filename_1']['alter']['external'] = 0;
1049
	$handler->display->display_options['fields']['filename_1']['alter']['replace_spaces'] = 0;
1050
	$handler->display->display_options['fields']['filename_1']['alter']['trim_whitespace'] = 0;
1051
	$handler->display->display_options['fields']['filename_1']['alter']['nl2br'] = 0;
1052
	$handler->display->display_options['fields']['filename_1']['alter']['word_boundary'] = 1;
1053
	$handler->display->display_options['fields']['filename_1']['alter']['ellipsis'] = 1;
1054
	$handler->display->display_options['fields']['filename_1']['alter']['more_link'] = 0;
1055
	$handler->display->display_options['fields']['filename_1']['alter']['strip_tags'] = 0;
1056
	$handler->display->display_options['fields']['filename_1']['alter']['trim'] = 0;
1057
	$handler->display->display_options['fields']['filename_1']['alter']['html'] = 0;
1058
	$handler->display->display_options['fields']['filename_1']['element_label_colon'] = 1;
1059
	$handler->display->display_options['fields']['filename_1']['element_default_classes'] = 1;
1060
	$handler->display->display_options['fields']['filename_1']['hide_empty'] = 0;
1061
	$handler->display->display_options['fields']['filename_1']['empty_zero'] = 0;
1062
	$handler->display->display_options['fields']['filename_1']['hide_alter_empty'] = 1;
1063
	$handler->display->display_options['fields']['filename_1']['link_to_file'] = 0;
1064
	/* Field: File: Extension */
1065
	$handler->display->display_options['fields']['extension']['id'] = 'extension';
1066
	$handler->display->display_options['fields']['extension']['table'] = 'file_managed';
1067
	$handler->display->display_options['fields']['extension']['field'] = 'extension';
1068
	$handler->display->display_options['fields']['extension']['label'] = 'format';
1069
	$handler->display->display_options['fields']['extension']['alter']['alter_text'] = 0;
1070
	$handler->display->display_options['fields']['extension']['alter']['make_link'] = 0;
1071
	$handler->display->display_options['fields']['extension']['alter']['absolute'] = 0;
1072
	$handler->display->display_options['fields']['extension']['alter']['external'] = 0;
1073
	$handler->display->display_options['fields']['extension']['alter']['replace_spaces'] = 0;
1074
	$handler->display->display_options['fields']['extension']['alter']['trim_whitespace'] = 0;
1075
	$handler->display->display_options['fields']['extension']['alter']['nl2br'] = 0;
1076
	$handler->display->display_options['fields']['extension']['alter']['word_boundary'] = 1;
1077
	$handler->display->display_options['fields']['extension']['alter']['ellipsis'] = 1;
1078
	$handler->display->display_options['fields']['extension']['alter']['more_link'] = 0;
1079
	$handler->display->display_options['fields']['extension']['alter']['strip_tags'] = 0;
1080
	$handler->display->display_options['fields']['extension']['alter']['trim'] = 0;
1081
	$handler->display->display_options['fields']['extension']['alter']['html'] = 0;
1082
	$handler->display->display_options['fields']['extension']['element_label_colon'] = 1;
1083
	$handler->display->display_options['fields']['extension']['element_default_classes'] = 1;
1084
	$handler->display->display_options['fields']['extension']['hide_empty'] = 0;
1085
	$handler->display->display_options['fields']['extension']['empty_zero'] = 0;
1086
	$handler->display->display_options['fields']['extension']['hide_alter_empty'] = 1;
1087
	/* Field: File: Licence */
1088
	$handler->display->display_options['fields']['field_cc_licence']['id'] = 'field_cc_licence';
1089
	$handler->display->display_options['fields']['field_cc_licence']['table'] = 'field_data_field_cc_licence';
1090
	$handler->display->display_options['fields']['field_cc_licence']['field'] = 'field_cc_licence';
1091
	$handler->display->display_options['fields']['field_cc_licence']['label'] = 'licence';
1092
	$handler->display->display_options['fields']['field_cc_licence']['alter']['alter_text'] = 1;
1093
	$handler->display->display_options['fields']['field_cc_licence']['alter']['text'] = 'Creative commons';
1094
	$handler->display->display_options['fields']['field_cc_licence']['alter']['make_link'] = 0;
1095
	$handler->display->display_options['fields']['field_cc_licence']['alter']['absolute'] = 0;
1096
	$handler->display->display_options['fields']['field_cc_licence']['alter']['external'] = 0;
1097
	$handler->display->display_options['fields']['field_cc_licence']['alter']['replace_spaces'] = 0;
1098
	$handler->display->display_options['fields']['field_cc_licence']['alter']['trim_whitespace'] = 0;
1099
	$handler->display->display_options['fields']['field_cc_licence']['alter']['nl2br'] = 0;
1100
	$handler->display->display_options['fields']['field_cc_licence']['alter']['word_boundary'] = 1;
1101
	$handler->display->display_options['fields']['field_cc_licence']['alter']['ellipsis'] = 1;
1102
	$handler->display->display_options['fields']['field_cc_licence']['alter']['more_link'] = 0;
1103
	$handler->display->display_options['fields']['field_cc_licence']['alter']['strip_tags'] = 0;
1104
	$handler->display->display_options['fields']['field_cc_licence']['alter']['trim'] = 0;
1105
	$handler->display->display_options['fields']['field_cc_licence']['alter']['html'] = 0;
1106
	$handler->display->display_options['fields']['field_cc_licence']['element_label_colon'] = 1;
1107
	$handler->display->display_options['fields']['field_cc_licence']['element_default_classes'] = 1;
1108
	$handler->display->display_options['fields']['field_cc_licence']['hide_empty'] = 0;
1109
	$handler->display->display_options['fields']['field_cc_licence']['empty_zero'] = 0;
1110
	$handler->display->display_options['fields']['field_cc_licence']['hide_alter_empty'] = 1;
1111
	$handler->display->display_options['fields']['field_cc_licence']['field_api_classes'] = 0;
1112
	/* Filter criterion: File: Type */
1113
	$handler->display->display_options['filters']['type']['id'] = 'type';
1114
	$handler->display->display_options['filters']['type']['table'] = 'file_managed';
1115
	$handler->display->display_options['filters']['type']['field'] = 'type';
1116
	$handler->display->display_options['filters']['type']['value'] = array(
1117
	  'image' => 'image',
1118
	);
1119
	/* Filter criterion: Taxonomy term: Term */
1120
	$handler->display->display_options['filters']['tid']['id'] = 'tid';
1121
	$handler->display->display_options['filters']['tid']['table'] = 'taxonomy_term_data';
1122
	$handler->display->display_options['filters']['tid']['field'] = 'tid';
1123
	$handler->display->display_options['filters']['tid']['relationship'] = 'file_to_taxonomy_term';
1124
	$handler->display->display_options['filters']['tid']['operator'] = 'not empty';
1125
	
1126
	/* Display: Page */
1127
	$handler = $view->new_display('page', 'Page', 'page');
1128
	$handler->display->display_options['path'] = 'dwca-export/image/page';
1129
	
1130
	/* Display: Data export */
1131
	$handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
1132
	$handler->display->display_options['pager']['type'] = 'some';
1133
	$handler->display->display_options['style_plugin'] = 'views_data_export_csv';
1134
	
1135
	$handler->display->display_options['style_options']['provide_file'] = 0;
1136
	$handler->display->display_options['style_options']['parent_sort'] = 0;
1137
	$handler->display->display_options['style_options']['quote'] = 1;
1138
	$handler->display->display_options['style_options']['trim'] = 1;
1139
	$handler->display->display_options['style_options']['replace_newlines'] = 1;
1140
	$handler->display->display_options['style_options']['newline_replacement'] = '\\r';
1141
	$handler->display->display_options['style_options']['header'] = 0;
1142
	
1143
	$handler->display->display_options['pager']['type'] = 'none';
1144
	$handler->display->display_options['pager']['options']['offset'] = '0';
1145
	
1146
	$handler->display->display_options['path'] = 'dwca-export/image/csv';
1147
	
1148
	return $view;
1149
}
1150

    
1151
function _view_specimen() {
1152
  
1153
	$view = new view;
1154
	$view->name = 'dwca_export_specimen';
1155
	$view->description = 'DwC-A specimen extension for a Taxon';
1156

    
1157
	$view->tag = 'default';
1158
	$view->base_table = 'taxonomy_term_data';
1159
	$view->human_name = 'DwC-A Export Specimen';
1160
	$view->core = 7;
1161
	$view->api_version = '3.0';
1162
	$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
1163

    
1164
	/* Display: Master */
1165
	$handler = $view->new_display('default', 'Master', 'default');
1166
	$handler->display->display_options['title'] = 'test_specimen';
1167
	$handler->display->display_options['access']['type'] = 'perm';
1168
	$handler->display->display_options['cache']['type'] = 'none';
1169
	$handler->display->display_options['query']['type'] = 'views_query';
1170
	$handler->display->display_options['query']['options']['query_comment'] = FALSE;
1171
	$handler->display->display_options['exposed_form']['type'] = 'basic';
1172
	$handler->display->display_options['pager']['type'] = 'full';
1173
	$handler->display->display_options['pager']['options']['items_per_page'] = '10';
1174
	$handler->display->display_options['style_plugin'] = 'default';
1175
	$handler->display->display_options['row_plugin'] = 'fields';
1176
	/* Relationship: Taxonomy term: Content using Taxonomic name */
1177
	$handler->display->display_options['relationships']['reverse_field_taxonomic_name_node']['id'] = 'reverse_field_taxonomic_name_node';
1178
	$handler->display->display_options['relationships']['reverse_field_taxonomic_name_node']['table'] = 'taxonomy_term_data';
1179
	$handler->display->display_options['relationships']['reverse_field_taxonomic_name_node']['field'] = 'reverse_field_taxonomic_name_node';
1180
	$handler->display->display_options['relationships']['reverse_field_taxonomic_name_node']['required'] = 1;
1181
	/* Field: Taxonomy term: Term ID */
1182
	$handler->display->display_options['fields']['tid']['id'] = 'tid';
1183
	$handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
1184
	$handler->display->display_options['fields']['tid']['field'] = 'tid';
1185
	$handler->display->display_options['fields']['tid']['alter']['alter_text'] = 0;
1186
	$handler->display->display_options['fields']['tid']['alter']['make_link'] = 0;
1187
	$handler->display->display_options['fields']['tid']['alter']['absolute'] = 0;
1188
	$handler->display->display_options['fields']['tid']['alter']['external'] = 0;
1189
	$handler->display->display_options['fields']['tid']['alter']['replace_spaces'] = 0;
1190
	$handler->display->display_options['fields']['tid']['alter']['trim_whitespace'] = 0;
1191
	$handler->display->display_options['fields']['tid']['alter']['nl2br'] = 0;
1192
	$handler->display->display_options['fields']['tid']['alter']['word_boundary'] = 1;
1193
	$handler->display->display_options['fields']['tid']['alter']['ellipsis'] = 1;
1194
	$handler->display->display_options['fields']['tid']['alter']['more_link'] = 0;
1195
	$handler->display->display_options['fields']['tid']['alter']['strip_tags'] = 0;
1196
	$handler->display->display_options['fields']['tid']['alter']['trim'] = 0;
1197
	$handler->display->display_options['fields']['tid']['alter']['html'] = 0;
1198
	$handler->display->display_options['fields']['tid']['element_label_colon'] = 1;
1199
	$handler->display->display_options['fields']['tid']['element_default_classes'] = 1;
1200
	$handler->display->display_options['fields']['tid']['hide_empty'] = 0;
1201
	$handler->display->display_options['fields']['tid']['empty_zero'] = 0;
1202
	$handler->display->display_options['fields']['tid']['hide_alter_empty'] = 1;
1203
	$handler->display->display_options['fields']['tid']['format_plural'] = 0;
1204
	/* Field: Content: Type status */
1205
	$handler->display->display_options['fields']['field_type_status']['id'] = 'field_type_status';
1206
	$handler->display->display_options['fields']['field_type_status']['table'] = 'field_data_field_type_status';
1207
	$handler->display->display_options['fields']['field_type_status']['field'] = 'field_type_status';
1208
	$handler->display->display_options['fields']['field_type_status']['relationship'] = 'reverse_field_taxonomic_name_node';
1209
	$handler->display->display_options['fields']['field_type_status']['alter']['alter_text'] = 0;
1210
	$handler->display->display_options['fields']['field_type_status']['alter']['make_link'] = 0;
1211
	$handler->display->display_options['fields']['field_type_status']['alter']['absolute'] = 0;
1212
	$handler->display->display_options['fields']['field_type_status']['alter']['external'] = 0;
1213
	$handler->display->display_options['fields']['field_type_status']['alter']['replace_spaces'] = 0;
1214
	$handler->display->display_options['fields']['field_type_status']['alter']['trim_whitespace'] = 0;
1215
	$handler->display->display_options['fields']['field_type_status']['alter']['nl2br'] = 0;
1216
	$handler->display->display_options['fields']['field_type_status']['alter']['word_boundary'] = 1;
1217
	$handler->display->display_options['fields']['field_type_status']['alter']['ellipsis'] = 1;
1218
	$handler->display->display_options['fields']['field_type_status']['alter']['more_link'] = 0;
1219
	$handler->display->display_options['fields']['field_type_status']['alter']['strip_tags'] = 0;
1220
	$handler->display->display_options['fields']['field_type_status']['alter']['trim'] = 0;
1221
	$handler->display->display_options['fields']['field_type_status']['alter']['html'] = 0;
1222
	$handler->display->display_options['fields']['field_type_status']['element_label_colon'] = 1;
1223
	$handler->display->display_options['fields']['field_type_status']['element_default_classes'] = 1;
1224
	$handler->display->display_options['fields']['field_type_status']['hide_empty'] = 0;
1225
	$handler->display->display_options['fields']['field_type_status']['empty_zero'] = 0;
1226
	$handler->display->display_options['fields']['field_type_status']['hide_alter_empty'] = 1;
1227
	$handler->display->display_options['fields']['field_type_status']['field_api_classes'] = 0;
1228
	/* Field: Content: Institution code */
1229
	$handler->display->display_options['fields']['field_institution_code']['id'] = 'field_institution_code';
1230
	$handler->display->display_options['fields']['field_institution_code']['table'] = 'field_data_field_institution_code';
1231
	$handler->display->display_options['fields']['field_institution_code']['field'] = 'field_institution_code';
1232
	$handler->display->display_options['fields']['field_institution_code']['relationship'] = 'reverse_field_taxonomic_name_node';
1233
	$handler->display->display_options['fields']['field_institution_code']['alter']['alter_text'] = 0;
1234
	$handler->display->display_options['fields']['field_institution_code']['alter']['make_link'] = 0;
1235
	$handler->display->display_options['fields']['field_institution_code']['alter']['absolute'] = 0;
1236
	$handler->display->display_options['fields']['field_institution_code']['alter']['external'] = 0;
1237
	$handler->display->display_options['fields']['field_institution_code']['alter']['replace_spaces'] = 0;
1238
	$handler->display->display_options['fields']['field_institution_code']['alter']['trim_whitespace'] = 0;
1239
	$handler->display->display_options['fields']['field_institution_code']['alter']['nl2br'] = 0;
1240
	$handler->display->display_options['fields']['field_institution_code']['alter']['word_boundary'] = 1;
1241
	$handler->display->display_options['fields']['field_institution_code']['alter']['ellipsis'] = 1;
1242
	$handler->display->display_options['fields']['field_institution_code']['alter']['more_link'] = 0;
1243
	$handler->display->display_options['fields']['field_institution_code']['alter']['strip_tags'] = 0;
1244
	$handler->display->display_options['fields']['field_institution_code']['alter']['trim'] = 0;
1245
	$handler->display->display_options['fields']['field_institution_code']['alter']['html'] = 0;
1246
	$handler->display->display_options['fields']['field_institution_code']['element_label_colon'] = 1;
1247
	$handler->display->display_options['fields']['field_institution_code']['element_default_classes'] = 1;
1248
	$handler->display->display_options['fields']['field_institution_code']['hide_empty'] = 0;
1249
	$handler->display->display_options['fields']['field_institution_code']['empty_zero'] = 0;
1250
	$handler->display->display_options['fields']['field_institution_code']['hide_alter_empty'] = 1;
1251
	$handler->display->display_options['fields']['field_institution_code']['field_api_classes'] = 0;
1252
	/* Field: Content: Collection code */
1253
	$handler->display->display_options['fields']['field_collection_code']['id'] = 'field_collection_code';
1254
	$handler->display->display_options['fields']['field_collection_code']['table'] = 'field_data_field_collection_code';
1255
	$handler->display->display_options['fields']['field_collection_code']['field'] = 'field_collection_code';
1256
	$handler->display->display_options['fields']['field_collection_code']['relationship'] = 'reverse_field_taxonomic_name_node';
1257
	$handler->display->display_options['fields']['field_collection_code']['alter']['alter_text'] = 0;
1258
	$handler->display->display_options['fields']['field_collection_code']['alter']['make_link'] = 0;
1259
	$handler->display->display_options['fields']['field_collection_code']['alter']['absolute'] = 0;
1260
	$handler->display->display_options['fields']['field_collection_code']['alter']['external'] = 0;
1261
	$handler->display->display_options['fields']['field_collection_code']['alter']['replace_spaces'] = 0;
1262
	$handler->display->display_options['fields']['field_collection_code']['alter']['trim_whitespace'] = 0;
1263
	$handler->display->display_options['fields']['field_collection_code']['alter']['nl2br'] = 0;
1264
	$handler->display->display_options['fields']['field_collection_code']['alter']['word_boundary'] = 1;
1265
	$handler->display->display_options['fields']['field_collection_code']['alter']['ellipsis'] = 1;
1266
	$handler->display->display_options['fields']['field_collection_code']['alter']['more_link'] = 0;
1267
	$handler->display->display_options['fields']['field_collection_code']['alter']['strip_tags'] = 0;
1268
	$handler->display->display_options['fields']['field_collection_code']['alter']['trim'] = 0;
1269
	$handler->display->display_options['fields']['field_collection_code']['alter']['html'] = 0;
1270
	$handler->display->display_options['fields']['field_collection_code']['element_label_colon'] = 1;
1271
	$handler->display->display_options['fields']['field_collection_code']['element_default_classes'] = 1;
1272
	$handler->display->display_options['fields']['field_collection_code']['hide_empty'] = 0;
1273
	$handler->display->display_options['fields']['field_collection_code']['empty_zero'] = 0;
1274
	$handler->display->display_options['fields']['field_collection_code']['hide_alter_empty'] = 1;
1275
	$handler->display->display_options['fields']['field_collection_code']['field_api_classes'] = 0;
1276
	/* Field: Content: Catalogue number */
1277
	$handler->display->display_options['fields']['field_catalogue_number']['id'] = 'field_catalogue_number';
1278
	$handler->display->display_options['fields']['field_catalogue_number']['table'] = 'field_data_field_catalogue_number';
1279
	$handler->display->display_options['fields']['field_catalogue_number']['field'] = 'field_catalogue_number';
1280
	$handler->display->display_options['fields']['field_catalogue_number']['relationship'] = 'reverse_field_taxonomic_name_node';
1281
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['alter_text'] = 0;
1282
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['make_link'] = 0;
1283
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['absolute'] = 0;
1284
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['external'] = 0;
1285
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['replace_spaces'] = 0;
1286
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['trim_whitespace'] = 0;
1287
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['nl2br'] = 0;
1288
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['word_boundary'] = 1;
1289
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['ellipsis'] = 1;
1290
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['more_link'] = 0;
1291
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['strip_tags'] = 0;
1292
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['trim'] = 0;
1293
	$handler->display->display_options['fields']['field_catalogue_number']['alter']['html'] = 0;
1294
	$handler->display->display_options['fields']['field_catalogue_number']['element_label_colon'] = 1;
1295
	$handler->display->display_options['fields']['field_catalogue_number']['element_default_classes'] = 1;
1296
	$handler->display->display_options['fields']['field_catalogue_number']['hide_empty'] = 0;
1297
	$handler->display->display_options['fields']['field_catalogue_number']['empty_zero'] = 0;
1298
	$handler->display->display_options['fields']['field_catalogue_number']['hide_alter_empty'] = 1;
1299
	$handler->display->display_options['fields']['field_catalogue_number']['field_api_classes'] = 0;
1300
	/* Filter criterion: Content: Type */
1301
	$handler->display->display_options['filters']['type']['id'] = 'type';
1302
	$handler->display->display_options['filters']['type']['table'] = 'node';
1303
	$handler->display->display_options['filters']['type']['field'] = 'type';
1304
	$handler->display->display_options['filters']['type']['relationship'] = 'reverse_field_taxonomic_name_node';
1305
	$handler->display->display_options['filters']['type']['value'] = array(
1306
  'specimen_observation' => 'specimen_observation',
1307
	);
1308

    
1309
	/* Display: Page */
1310
	$handler = $view->new_display('page', 'Page', 'page');
1311
	$handler->display->display_options['path'] = 'dwca_export/specimen/page';
1312

    
1313
	/* Display: Data export */
1314
	$handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
1315
	$handler->display->display_options['pager']['type'] = 'some';
1316
	$handler->display->display_options['style_plugin'] = 'views_data_export_csv';
1317

    
1318
	$handler->display->display_options['style_options']['provide_file'] = 0;
1319
	$handler->display->display_options['style_options']['parent_sort'] = 0;
1320
	$handler->display->display_options['style_options']['quote'] = 1;
1321
	$handler->display->display_options['style_options']['trim'] = 1;
1322
	$handler->display->display_options['style_options']['replace_newlines'] = 1;
1323
	$handler->display->display_options['style_options']['newline_replacement'] = '\\r';
1324
	$handler->display->display_options['style_options']['header'] = 0;
1325
	$handler->display->display_options['pager']['type'] = 'none';
1326
	$handler->display->display_options['pager']['options']['offset'] = '0';
1327

    
1328
	$handler->display->display_options['path'] = 'dwca_export/specimen/csv';
1329

    
1330

    
1331
	return $view;
1332
}
1333

    
1334
function _view_distribution() {
1335

    
1336
	$view = new view;
1337
	$view->name = 'dwca_export_distribution';
1338
	$view->description = '';
1339
	$view->tag = 'default';
1340
	$view->base_table = 'node';
1341
	$view->human_name = 'DwC-A Distribution';
1342
	$view->core = 7;
1343
	$view->api_version = '3.0';
1344
	$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
1345

    
1346
	/* Display: Master */
1347
	$handler = $view->new_display('default', 'Master', 'default');
1348
	$handler->display->display_options['title'] = 'DwC-A Distribution';
1349
	$handler->display->display_options['access']['type'] = 'perm';
1350
	$handler->display->display_options['cache']['type'] = 'none';
1351
	$handler->display->display_options['query']['type'] = 'views_query';
1352
	$handler->display->display_options['query']['options']['query_comment'] = FALSE;
1353
	$handler->display->display_options['exposed_form']['type'] = 'basic';
1354
	$handler->display->display_options['pager']['type'] = 'full';
1355
	$handler->display->display_options['pager']['options']['items_per_page'] = '10';
1356
	$handler->display->display_options['style_plugin'] = 'default';
1357
	$handler->display->display_options['row_plugin'] = 'node';
1358
	/* Relationship: Content: Taxonomy terms on node */
1359
	$handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid';
1360
	$handler->display->display_options['relationships']['term_node_tid']['table'] = 'node';
1361
	$handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid';
1362
	$handler->display->display_options['relationships']['term_node_tid']['required'] = 0;
1363
	$handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array(
1364
  'cichorieae' => 0,
1365
  'image_keywords' => 0,
1366
  'imaging_technique' => 0,
1367
  'preparation_technique' => 0,
1368
	);
1369
	
1370
	/* Field: Taxonomy term: Term ID */
1371
	$handler->display->display_options['fields']['tid']['id'] = 'tid';
1372
	$handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
1373
	$handler->display->display_options['fields']['tid']['field'] = 'tid';
1374
	$handler->display->display_options['fields']['tid']['relationship'] = 'term_node_tid';
1375
	$handler->display->display_options['fields']['tid']['label'] = 'id';
1376
	$handler->display->display_options['fields']['tid']['alter']['alter_text'] = 0;
1377
	$handler->display->display_options['fields']['tid']['alter']['make_link'] = 0;
1378
	$handler->display->display_options['fields']['tid']['alter']['absolute'] = 0;
1379
	$handler->display->display_options['fields']['tid']['alter']['external'] = 0;
1380
	$handler->display->display_options['fields']['tid']['alter']['replace_spaces'] = 0;
1381
	$handler->display->display_options['fields']['tid']['alter']['trim_whitespace'] = 0;
1382
	$handler->display->display_options['fields']['tid']['alter']['nl2br'] = 0;
1383
	$handler->display->display_options['fields']['tid']['alter']['word_boundary'] = 1;
1384
	$handler->display->display_options['fields']['tid']['alter']['ellipsis'] = 1;
1385
	$handler->display->display_options['fields']['tid']['alter']['more_link'] = 0;
1386
	$handler->display->display_options['fields']['tid']['alter']['strip_tags'] = 0;
1387
	$handler->display->display_options['fields']['tid']['alter']['trim'] = 0;
1388
	$handler->display->display_options['fields']['tid']['alter']['html'] = 0;
1389
	$handler->display->display_options['fields']['tid']['element_label_colon'] = 1;
1390
	$handler->display->display_options['fields']['tid']['element_default_classes'] = 1;
1391
	$handler->display->display_options['fields']['tid']['hide_empty'] = 0;
1392
	$handler->display->display_options['fields']['tid']['empty_zero'] = 0;
1393
	$handler->display->display_options['fields']['tid']['hide_alter_empty'] = 1;
1394
	$handler->display->display_options['fields']['tid']['format_plural'] = 0;
1395
	/* Field: Content: Distribution */
1396
	$handler->display->display_options['fields']['field_distribution']['id'] = 'field_distribution';
1397
	$handler->display->display_options['fields']['field_distribution']['table'] = 'field_data_field_distribution';
1398
	$handler->display->display_options['fields']['field_distribution']['field'] = 'field_distribution';
1399
	$handler->display->display_options['fields']['field_distribution']['label'] = 'locationID';
1400
	$handler->display->display_options['fields']['field_distribution']['alter']['alter_text'] = 0;
1401
	$handler->display->display_options['fields']['field_distribution']['alter']['make_link'] = 0;
1402
	$handler->display->display_options['fields']['field_distribution']['alter']['absolute'] = 0;
1403
	$handler->display->display_options['fields']['field_distribution']['alter']['external'] = 0;
1404
	$handler->display->display_options['fields']['field_distribution']['alter']['replace_spaces'] = 0;
1405
	$handler->display->display_options['fields']['field_distribution']['alter']['trim_whitespace'] = 0;
1406
	$handler->display->display_options['fields']['field_distribution']['alter']['nl2br'] = 0;
1407
	$handler->display->display_options['fields']['field_distribution']['alter']['word_boundary'] = 1;
1408
	$handler->display->display_options['fields']['field_distribution']['alter']['ellipsis'] = 1;
1409
	$handler->display->display_options['fields']['field_distribution']['alter']['more_link'] = 0;
1410
	$handler->display->display_options['fields']['field_distribution']['alter']['strip_tags'] = 0;
1411
	$handler->display->display_options['fields']['field_distribution']['alter']['trim'] = 0;
1412
	$handler->display->display_options['fields']['field_distribution']['alter']['html'] = 0;
1413
	$handler->display->display_options['fields']['field_distribution']['element_label_colon'] = 1;
1414
	$handler->display->display_options['fields']['field_distribution']['element_default_classes'] = 1;
1415
	$handler->display->display_options['fields']['field_distribution']['hide_empty'] = 0;
1416
	$handler->display->display_options['fields']['field_distribution']['empty_zero'] = 0;
1417
	$handler->display->display_options['fields']['field_distribution']['hide_alter_empty'] = 1;
1418
	$handler->display->display_options['fields']['field_distribution']['field_api_classes'] = 0;
1419
	/* Sort criterion: Content: Post date */
1420
	$handler->display->display_options['sorts']['created']['id'] = 'created';
1421
	$handler->display->display_options['sorts']['created']['table'] = 'node';
1422
	$handler->display->display_options['sorts']['created']['field'] = 'created';
1423
	$handler->display->display_options['sorts']['created']['order'] = 'DESC';
1424
	/* Filter criterion: Content: Published */
1425
	$handler->display->display_options['filters']['status']['id'] = 'status';
1426
	$handler->display->display_options['filters']['status']['table'] = 'node';
1427
	$handler->display->display_options['filters']['status']['field'] = 'status';
1428
	$handler->display->display_options['filters']['status']['value'] = 1;
1429
	$handler->display->display_options['filters']['status']['group'] = 1;
1430
	$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
1431
	/* Filter criterion: Content: Distribution (field_distribution) */
1432
	$handler->display->display_options['filters']['field_distribution_value']['id'] = 'field_distribution_value';
1433
	$handler->display->display_options['filters']['field_distribution_value']['table'] = 'field_data_field_distribution';
1434
	$handler->display->display_options['filters']['field_distribution_value']['field'] = 'field_distribution_value';
1435
	$handler->display->display_options['filters']['field_distribution_value']['operator'] = 'not empty';
1436
	/* Filter criterion: Taxonomy term: Term */
1437
	$handler->display->display_options['filters']['tid']['id'] = 'tid';
1438
	$handler->display->display_options['filters']['tid']['table'] = 'taxonomy_term_data';
1439
	$handler->display->display_options['filters']['tid']['field'] = 'tid';
1440
	$handler->display->display_options['filters']['tid']['relationship'] = 'term_node_tid';
1441
	$handler->display->display_options['filters']['tid']['operator'] = 'not empty';
1442

    
1443
	/* Display: Page */
1444
	$handler = $view->new_display('page', 'Page', 'page');
1445
	$handler->display->display_options['path'] = 'dwca-export/distribution/page';
1446

    
1447
	/* Display: Data export */
1448
	$handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
1449
	$handler->display->display_options['pager']['type'] = 'some';
1450
	$handler->display->display_options['style_plugin'] = 'views_data_export_csv';
1451
	
1452
	$handler->display->display_options['style_options']['provide_file'] = 0;
1453
	$handler->display->display_options['style_options']['parent_sort'] = 0;
1454
	$handler->display->display_options['style_options']['quote'] = 1;
1455
	$handler->display->display_options['style_options']['trim'] = 1;
1456
	$handler->display->display_options['style_options']['replace_newlines'] = 1;
1457
	$handler->display->display_options['style_options']['newline_replacement'] = '\\r';
1458
	$handler->display->display_options['style_options']['header'] = 0;
1459
	
1460
	$handler->display->display_options['pager']['type'] = 'none'; 
1461
	$handler->display->display_options['pager']['options']['offset'] = '0';
1462
	
1463
	$handler->display->display_options['path'] = 'dwca-export/distribution/csv';
1464

    
1465
	return $view;
1466
}
1467

    
1468

    
1469
function _view_description($desc_type) {
1470

    
1471
	$view = new view;
1472
	$view->name = 'dwca_export_description_' . substr($desc_type, 0, 6);
1473
	$view->description = '';
1474
	$view->tag = 'default';
1475
	$view->base_table = 'node';
1476
	$view->human_name = 'DwC-A Description ' . $desc_type;
1477
	$view->core = 7;
1478
	$view->api_version = '3.0';
1479
	$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
1480

    
1481
	/* Display: Master */
1482
	$handler = $view->new_display('default', 'Master', 'default');
1483
	$handler->display->display_options['title'] = 'DwC-A Description ' . $desc_type;
1484
	$handler->display->display_options['access']['type'] = 'perm';
1485
	$handler->display->display_options['cache']['type'] = 'none';
1486
	$handler->display->display_options['query']['type'] = 'views_query';
1487
	$handler->display->display_options['query']['options']['query_comment'] = FALSE;
1488
	$handler->display->display_options['exposed_form']['type'] = 'basic';
1489
	$handler->display->display_options['pager']['type'] = 'full';
1490
	$handler->display->display_options['pager']['options']['items_per_page'] = '10';
1491
	$handler->display->display_options['style_plugin'] = 'default';
1492
	$handler->display->display_options['row_plugin'] = 'node';
1493
	/* Relationship: Content: Taxonomy terms on node */
1494
	$handler->display->display_options['relationships']['term_node_tid']['id'] = 'term_node_tid';
1495
	$handler->display->display_options['relationships']['term_node_tid']['table'] = 'node';
1496
	$handler->display->display_options['relationships']['term_node_tid']['field'] = 'term_node_tid';
1497
	$handler->display->display_options['relationships']['term_node_tid']['required'] = 0;
1498
	$handler->display->display_options['relationships']['term_node_tid']['vocabularies'] = array(
1499
  'cichorieae' => 0,
1500
  'image_keywords' => 0,
1501
  'imaging_technique' => 0,
1502
  'preparation_technique' => 0,
1503
	);
1504
	/* Field: Taxonomy term: Term ID */
1505
	$handler->display->display_options['fields']['tid']['id'] = 'tid';
1506
	$handler->display->display_options['fields']['tid']['table'] = 'taxonomy_term_data';
1507
	$handler->display->display_options['fields']['tid']['field'] = 'tid';
1508
	$handler->display->display_options['fields']['tid']['relationship'] = 'term_node_tid';
1509
	$handler->display->display_options['fields']['tid']['label'] = 'id';
1510
	$handler->display->display_options['fields']['tid']['alter']['alter_text'] = 0;
1511
	$handler->display->display_options['fields']['tid']['alter']['make_link'] = 0;
1512
	$handler->display->display_options['fields']['tid']['alter']['absolute'] = 0;
1513
	$handler->display->display_options['fields']['tid']['alter']['external'] = 0;
1514
	$handler->display->display_options['fields']['tid']['alter']['replace_spaces'] = 0;
1515
	$handler->display->display_options['fields']['tid']['alter']['trim_whitespace'] = 0;
1516
	$handler->display->display_options['fields']['tid']['alter']['nl2br'] = 0;
1517
	$handler->display->display_options['fields']['tid']['alter']['word_boundary'] = 1;
1518
	$handler->display->display_options['fields']['tid']['alter']['ellipsis'] = 1;
1519
	$handler->display->display_options['fields']['tid']['alter']['more_link'] = 0;
1520
	$handler->display->display_options['fields']['tid']['alter']['strip_tags'] = 0;
1521
	$handler->display->display_options['fields']['tid']['alter']['trim'] = 0;
1522
	$handler->display->display_options['fields']['tid']['alter']['html'] = 0;
1523
	$handler->display->display_options['fields']['tid']['element_label_colon'] = 1;
1524
	$handler->display->display_options['fields']['tid']['element_default_classes'] = 1;
1525
	$handler->display->display_options['fields']['tid']['hide_empty'] = 0;
1526
	$handler->display->display_options['fields']['tid']['empty_zero'] = 0;
1527
	$handler->display->display_options['fields']['tid']['hide_alter_empty'] = 1;
1528
	$handler->display->display_options['fields']['tid']['format_plural'] = 0;
1529
	/* Field: Content: description */
1530
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['id'] = t('field_' . $desc_type);
1531
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['table'] = t('field_data_field_' . $desc_type);
1532
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['field'] = t('field_' . $desc_type);
1533
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['label'] = 'type';
1534
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['alter_text'] = 1;
1535
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['text'] = $desc_type;
1536
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['make_link'] = 0;
1537
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['absolute'] = 0;
1538
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['external'] = 0;
1539
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['replace_spaces'] = 0;
1540
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['trim_whitespace'] = 0;
1541
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['nl2br'] = 0;
1542
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['word_boundary'] = 1;
1543
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['ellipsis'] = 1;
1544
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['more_link'] = 0;
1545
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['strip_tags'] = 0;
1546
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['trim'] = 0;
1547
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['alter']['html'] = 0;
1548
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['element_label_colon'] = 1;
1549
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['element_default_classes'] = 1;
1550
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['empty'] = $desc_type;
1551
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['hide_empty'] = 0;
1552
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['empty_zero'] = 0;
1553
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['hide_alter_empty'] = 0;
1554
	$handler->display->display_options['fields'][t('field_' . $desc_type)]['field_api_classes'] = 0;
1555
	/* Field: Content: description */
1556
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['id'] = t('field_' . $desc_type . '_1');
1557
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['table'] = t('field_data_field_' . $desc_type);
1558
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['field'] = t('field_' . $desc_type);
1559
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['label'] = 'description';
1560
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['alter_text'] = 0;
1561
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['make_link'] = 0;
1562
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['absolute'] = 0;
1563
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['external'] = 0;
1564
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['replace_spaces'] = 0;
1565
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['trim_whitespace'] = 0;
1566
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['nl2br'] = 0;
1567
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['word_boundary'] = 1;
1568
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['ellipsis'] = 1;
1569
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['more_link'] = 0;
1570
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['strip_tags'] = 0;
1571
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['trim'] = 0;
1572
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['alter']['html'] = 0;
1573
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['element_label_colon'] = 1;
1574
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['element_default_classes'] = 1;
1575
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['hide_empty'] = 0;
1576
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['empty_zero'] = 0;
1577
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['hide_alter_empty'] = 1;
1578
	$handler->display->display_options['fields'][t('field_' . $desc_type . '_1')]['field_api_classes'] = 0;
1579
	/* Sort criterion: Content: Post date */
1580
	$handler->display->display_options['sorts']['created']['id'] = 'created';
1581
	$handler->display->display_options['sorts']['created']['table'] = 'node';
1582
	$handler->display->display_options['sorts']['created']['field'] = 'created';
1583
	$handler->display->display_options['sorts']['created']['order'] = 'DESC';
1584
	/* Filter criterion: Content: Published */
1585
	$handler->display->display_options['filters']['status']['id'] = 'status';
1586
	$handler->display->display_options['filters']['status']['table'] = 'node';
1587
	$handler->display->display_options['filters']['status']['field'] = 'status';
1588
	$handler->display->display_options['filters']['status']['value'] = 1;
1589
	$handler->display->display_options['filters']['status']['group'] = 1;
1590
	$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
1591
	/* Filter criterion: Content: Type */
1592
	$handler->display->display_options['filters']['type']['id'] = 'type';
1593
	$handler->display->display_options['filters']['type']['table'] = 'node';
1594
	$handler->display->display_options['filters']['type']['field'] = 'type';
1595
	$handler->display->display_options['filters']['type']['value'] = array(
1596
  'spm' => 'spm',
1597
	);
1598

    
1599
	/* Display: Page */
1600
	$handler = $view->new_display('page', 'Page', 'page');
1601
	$handler->display->display_options['path'] = t('dwca-export/description-' . $desc_type . '/page');
1602

    
1603
	/* Display: Data export */
1604
	$handler = $view->new_display('views_data_export', 'Data export', 'views_data_export_1');
1605
	$handler->display->display_options['pager']['type'] = 'some';
1606
	$handler->display->display_options['style_plugin'] = 'views_data_export_csv';
1607
	$handler->display->display_options['style_options']['provide_file'] = 0;
1608
	$handler->display->display_options['style_options']['parent_sort'] = 0;
1609
	$handler->display->display_options['style_options']['quote'] = 1;
1610
	$handler->display->display_options['style_options']['trim'] = 1;
1611
	$handler->display->display_options['style_options']['replace_newlines'] = 0;
1612
	$handler->display->display_options['style_options']['header'] = 0;
1613
	
1614
	$handler->display->display_options['pager']['type'] = 'none';
1615
	$handler->display->display_options['pager']['options']['offset'] = '0';
1616
	
1617
	$handler->display->display_options['path'] = t('dwca-export/description-' . $desc_type . '/csv');
1618

    
1619
	return $view;
1620
}
1621

    
1622

    
1623

    
1624

    
(6-6/6)