Project

General

Profile

Download (7 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_genera',
46
								'display_id' => 'views_data_export_1',
47
								'out_file_url' => NULL
48
			),
49
							'morphology' => array(
50
								'view_name'=> 'dwca_export_description_morpho',
51
								'display_id' => 'views_data_export_1',
52
								'out_file_url' => NULL
53
			),
54
							'behaviour' => array(
55
								'view_name'=> 'dwca_export_description_behavi',
56
								'display_id' => 'views_data_export_1',
57
								'out_file_url' => NULL
58
			),
59
							'biology' => array(
60
								'view_name'=> 'dwca_export_description_biolog',
61
								'display_id' => 'views_data_export_1',
62
								'out_file_url' => NULL
63
			),
64
							'conservation_status' => array(
65
								'view_name'=> 'dwca_export_description_conser',
66
								'display_id' => 'views_data_export_1',
67
								'out_file_url' => NULL
68
			),
69
							'legislation' => array(
70
								'view_name'=> 'dwca_export_description_legisl',
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_proced',
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_associ',
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_diagno',
101
								'display_id' => 'views_data_export_1',
102
								'out_file_url' => NULL
103
			),
104
							'diseases' => array(
105
								'view_name'=> 'dwca_export_description_diseas',
106
								'display_id' => 'views_data_export_1',
107
								'out_file_url' => NULL
108
			),
109
							'dispersal' => array(
110
								'view_name'=> 'dwca_export_description_disper',
111
								'display_id' => 'views_data_export_1',
112
								'out_file_url' => NULL
113
			),
114
							'distribut' => array(
115
								'view_name'=> 'dwca_export_description_distri',
116
								'display_id' => 'views_data_export_1',
117
								'out_file_url' => NULL
118
			),
119
							'ecology' => array(
120
								'view_name'=> 'dwca_export_description_ecolog',
121
								'display_id' => 'views_data_export_1',
122
								'out_file_url' => NULL
123
			),
124
							'evolution' => array(
125
								'view_name'=> 'dwca_export_description_evolut',
126
								'display_id' => 'views_data_export_1',
127
								'out_file_url' => NULL
128
			),
129
							'genetics' => array(
130
								'view_name'=> 'dwca_export_description_geneti',
131
								'display_id' => 'views_data_export_1',
132
								'out_file_url' => NULL
133
			),
134
							'growth' => array(
135
								'view_name'=> 'dwca_export_description_growth',
136
								'display_id' => 'views_data_export_1',
137
								'out_file_url' => NULL
138
			),
139
							'habitat' => array(
140
								'view_name'=> 'dwca_export_description_habita',
141
								'display_id' => 'views_data_export_1',
142
								'out_file_url' => NULL
143
			),
144
							'life_cycle' => array(
145
								'view_name'=> 'dwca_export_description_life_c',
146
								'display_id' => 'views_data_export_1',
147
								'out_file_url' => NULL
148
			),
149
							'life_expectancy' => array(
150
								'view_name'=> 'dwca_export_description_life_e',
151
								'display_id' => 'views_data_export_1',
152
								'out_file_url' => NULL
153
			),
154
							'look_alikes' => array(
155
								'view_name'=> 'dwca_export_description_look_a',
156
								'display_id' => 'views_data_export_1',
157
								'out_file_url' => NULL
158
			),
159
							'migration' => array(
160
								'view_name'=> 'dwca_export_description_migrat',
161
								'display_id' => 'views_data_export_1',
162
								'out_file_url' => NULL
163
			),
164
							'molecular_biology' => array(
165
								'view_name'=> 'dwca_export_description_molecu',
166
								'display_id' => 'views_data_export_1',
167
								'out_file_url' => NULL
168
			),
169
							'physiology' => array(
170
								'view_name'=> 'dwca_export_description_physio',
171
								'display_id' => 'views_data_export_1',
172
								'out_file_url' => NULL
173
			),
174
							'population_biology' => array(
175
								'view_name'=> 'dwca_export_description_popula',
176
								'display_id' => 'views_data_export_1',
177
								'out_file_url' => NULL
178
			),
179
							'reproduction' => array(
180
								'view_name'=> 'dwca_export_description_reprod',
181
								'display_id' => 'views_data_export_1',
182
								'out_file_url' => NULL
183
			),
184
							'risk_statement' => array(
185
								'view_name'=> 'dwca_export_description_risk_s',
186
								'display_id' => 'views_data_export_1',
187
								'out_file_url' => NULL
188
			),
189
							'size' => array(
190
								'view_name'=> 'dwca_export_description_size',
191
								'display_id' => 'views_data_export_1',
192
								'out_file_url' => NULL
193
			),
194
							'taxon_biology' => array(
195
								'view_name'=> 'dwca_export_description_taxon_',
196
								'display_id' => 'views_data_export_1',
197
								'out_file_url' => NULL
198
			),
199
							'trophic_strategy' => array(
200
								'view_name'=> 'dwca_export_description_trophi',
201
								'display_id' => 'views_data_export_1',
202
								'out_file_url' => NULL
203
			),
204
							'uses' => array(
205
								'view_name'=> 'dwca_export_description_uses',
206
								'display_id' => 'views_data_export_1',
207
								'out_file_url' => NULL
208
			)
209

    
210
		)
211
	);
212
	$export['dwca_export_archive_descriptor_file_map'] = $strongarm;
213
	
214
	//throw new Exception(t('Error creating the archive'));
215

    
216
	return $export;
217
}
(5-5/6)