Project

General

Profile

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

    
3
/**
4
 * Set up the map containing the file name to view name mapping with default values
5
 * @return multitype:stdClass
6
 */
7
function dwca_export_strongarm(){
8

    
9
	$export = array();
10

    
11
	$strongarm = new stdClass;
12
	$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
13
	$strongarm->api_version = 1;
14
	$strongarm->name = 'dwca_export_archive_descriptor_file_map';
15
	$strongarm->value = array(
16
		'classification' => array(
17
			'view_name'=> 'dwca_export_classification',
18
			'display_id' => 'views_data_export_1',
19
			'out_file_url' => NULL
20
		),
21
		'typesandspecimen' => array(
22
			'view_name'=> 'dwca_export_specimen',
23
			'display_id' => 'views_data_export_1',
24
			'out_file_url' => NULL
25
		),
26
		'reference' => array(
27
			'view_name'=> 'dwca_export_reference',
28
			'display_id' => 'views_data_export_1',
29
			'out_file_url' => NULL
30
		),
31
		'image' => array(
32
			'view_name'=> 'dwca_export_image',
33
			'display_id' => 'views_data_export_1',
34
			'out_file_url' => NULL
35
		)
36
		,
37
		'distribution' => array(
38
			'view_name'=> 'dwca_export_distribution',
39
			'display_id' => 'views_data_export_1',
40
			'out_file_url' => NULL
41
		)
42
		,
43
		'description' => array(
44
							'general' => array(
45
								'view_name'=> 'dwca_export_description_general',
46
								'display_id' => 'views_data_export_1',
47
								'out_file_url' => NULL
48
			),
49
							'morphology' => array(
50
								'view_name'=> 'dwca_export_description_morph',
51
								'display_id' => 'views_data_export_1',
52
								'out_file_url' => NULL
53
			),
54
							'behaviour' => array(
55
								'view_name'=> 'dwca_export_description_behav',
56
								'display_id' => 'views_data_export_1',
57
								'out_file_url' => NULL
58
			),
59
							'biology' => array(
60
								'view_name'=> 'dwca_export_description_biol',
61
								'display_id' => 'views_data_export_1',
62
								'out_file_url' => NULL
63
			),
64
							'conservation_status' => array(
65
								'view_name'=> 'dwca_export_description_cons',
66
								'display_id' => 'views_data_export_1',
67
								'out_file_url' => NULL
68
			),
69
							'legislation' => array(
70
								'view_name'=> 'dwca_export_description_leg',
71
								'display_id' => 'views_data_export_1',
72
								'out_file_url' => NULL
73
			),
74
							'management' => array(
75
								'view_name'=> 'dwca_export_description_manage',
76
								'display_id' => 'views_data_export_1',
77
								'out_file_url' => NULL
78
			),
79
							'procedures' => array(
80
								'view_name'=> 'dwca_export_description_proc',
81
								'display_id' => 'views_data_export_1',
82
								'out_file_url' => NULL
83
			),
84
							'threats' => array(
85
								'view_name'=> 'dwca_export_description_threat',
86
								'display_id' => 'views_data_export_1',
87
								'out_file_url' => NULL
88
			),
89
							'associations' => array(
90
								'view_name'=> 'dwca_export_description_assoc',
91
								'display_id' => 'views_data_export_1',
92
								'out_file_url' => NULL
93
			),
94
							'cyclicity' => array(
95
								'view_name'=> 'dwca_export_description_cyclic',
96
								'display_id' => 'views_data_export_1',
97
								'out_file_url' => NULL
98
			),
99
							'diagnostic_description' => array(
100
								'view_name'=> 'dwca_export_description_diag',
101
								'display_id' => 'views_data_export_1',
102
								'out_file_url' => NULL
103
			),
104
							'diseases' => array(
105
								'view_name'=> 'dwca_export_description_disease',
106
								'display_id' => 'views_data_export_1',
107
								'out_file_url' => NULL
108
			),
109
							'dispersal' => array(
110
								'view_name'=> 'dwca_export_description_disperse',
111
								'display_id' => 'views_data_export_1',
112
								'out_file_url' => NULL
113
			),
114
							'threats' => array(
115
								'view_name'=> 'dwca_export_description_morph',
116
								'display_id' => 'views_data_export_1',
117
								'out_file_url' => NULL
118
			),
119
							'distribution' => array(
120
								'view_name'=> 'dwca_export_description_dist',
121
								'display_id' => 'views_data_export_1',
122
								'out_file_url' => NULL
123
			),
124
							'ecology' => array(
125
								'view_name'=> 'dwca_export_description_ecol',
126
								'display_id' => 'views_data_export_1',
127
								'out_file_url' => NULL
128
			),
129
							'evolution' => array(
130
								'view_name'=> 'dwca_export_description_evolve',
131
								'display_id' => 'views_data_export_1',
132
								'out_file_url' => NULL
133
			),
134
							'genetics' => array(
135
								'view_name'=> 'dwca_export_description_genet',
136
								'display_id' => 'views_data_export_1',
137
								'out_file_url' => NULL
138
			),
139
							'growth' => array(
140
								'view_name'=> 'dwca_export_description_grow',
141
								'display_id' => 'views_data_export_1',
142
								'out_file_url' => NULL
143
			),
144
							'habitat' => array(
145
								'view_name'=> 'dwca_export_description_habit',
146
								'display_id' => 'views_data_export_1',
147
								'out_file_url' => NULL
148
			),
149
							'life_cycle' => array(
150
								'view_name'=> 'dwca_export_description_life',
151
								'display_id' => 'views_data_export_1',
152
								'out_file_url' => NULL
153
			),
154
							'life_expectancy' => array(
155
								'view_name'=> 'dwca_export_description_life_ex',
156
								'display_id' => 'views_data_export_1',
157
								'out_file_url' => NULL
158
			),
159
							'look_alikes' => array(
160
								'view_name'=> 'dwca_export_description_look',
161
								'display_id' => 'views_data_export_1',
162
								'out_file_url' => NULL
163
			),
164
							'migration' => array(
165
								'view_name'=> 'dwca_export_description_migr',
166
								'display_id' => 'views_data_export_1',
167
								'out_file_url' => NULL
168
			),
169
							'molecular_biology' => array(
170
								'view_name'=> 'dwca_export_description_molec',
171
								'display_id' => 'views_data_export_1',
172
								'out_file_url' => NULL
173
			),
174
							'physiology' => array(
175
								'view_name'=> 'dwca_export_description_phys',
176
								'display_id' => 'views_data_export_1',
177
								'out_file_url' => NULL
178
			),
179
							'population_biology' => array(
180
								'view_name'=> 'dwca_export_description_popul',
181
								'display_id' => 'views_data_export_1',
182
								'out_file_url' => NULL
183
			),
184
							'reproduction' => array(
185
								'view_name'=> 'dwca_export_description_reprod',
186
								'display_id' => 'views_data_export_1',
187
								'out_file_url' => NULL
188
			),
189
							'risk_statement' => array(
190
								'view_name'=> 'dwca_export_description_risk',
191
								'display_id' => 'views_data_export_1',
192
								'out_file_url' => NULL
193
			),
194
							'size' => array(
195
								'view_name'=> 'dwca_export_description_size',
196
								'display_id' => 'views_data_export_1',
197
								'out_file_url' => NULL
198
			),
199
							'taxon_biology' => array(
200
								'view_name'=> 'dwca_export_description_taxbio',
201
								'display_id' => 'views_data_export_1',
202
								'out_file_url' => NULL
203
			),
204
							'trophic_strategy' => array(
205
								'view_name'=> 'dwca_export_description_troph',
206
								'display_id' => 'views_data_export_1',
207
								'out_file_url' => NULL
208
			),
209
							'uses' => array(
210
								'view_name'=> 'dwca_export_description_uses',
211
								'display_id' => 'views_data_export_1',
212
								'out_file_url' => NULL
213
			)
214

    
215
		)
216
	);
217
	$export['dwca_export_archive_descriptor_file_map'] = $strongarm;
218
	
219
	//throw new Exception(t('Error creating the archive'));
220

    
221
	return $export;
222
}
(5-5/6)