Class: ODDB::View::User::DownloadExportInnerComposite

Inherits:
HtmlGrid::Composite show all
Includes:
Export
Defined in:
src/view/user/download_export.rb

Constant Summary

COMPONENTS =
{
  [3,0]   => 'months_1',
  [5,0]   => 'months_12',
  [8,0]   => 'howto',
  [0,1]   => 'export_datafiles',
  [0,2]   => :csv_analysis_export,
  [3,2]   => :csv_analysis_price,
  [6,2]   => :datadesc_analysis_csv,
  [7,2]   => :example_analysis_csv,
  [0,3]   => :csv_doctors_export,
  [3,3]   => :csv_doctors_price,
  [6,3]   => :datadesc_doctors_csv,
  [7,3]   => :example_doctors_csv,
  [0,4]   => :yaml_doctors_export,
  [3,4]   => :yaml_doctors_price,
  [6,4]   => :datadesc_doctors_yaml,
  [7,4]   => :example_doctors_yaml,
  [0,5]   => :yaml_fachinfo_export,
  [2,5]   => :radio_fachinfo_yaml,
  [6,5]   => :datadesc_fachinfo_yaml,
  [7,5]   => :example_fachinfo_yaml,
  [0,6]   => :download_index_therapeuticus,
  [2,6]   => :radio_index_therapeuticus,
  [6,6]   => :datadesc_index_therapeuticus,
  [7,6]   => :example_index_therapeuticus,
  [0,7]   => :yaml_interactions_export,
  [2,7]   => :radio_interactions_yaml,
  [6,7]   => :datadesc_interactions_yaml,
  [7,7]   => :example_interactions_yaml,
  [0,8]   => :csv_migel_export,
  [3,8]   => :csv_migel_price,
  [6,8]   => :datadesc_migel_csv,
  [7,8]   => :example_migel_csv,
  [0,9] =>  :csv_narcotics_export,
  [2,9] =>  :radio_narcotics_csv,
  [6,9] =>  :datadesc_narcotics_csv,
  [7,9] =>  :example_narcotics_csv,
  [0,10]  => :yaml_narcotics_export,
  [2,10]  => :radio_narcotics_yaml,
  [6,10]  => :datadesc_narcotics_yaml,
  [7,10]  => :example_narcotics_yaml,
  [0,11]  => :csv_export,
  [2,11]  => :radio_oddb_csv,
  [6,11]  => :datadesc_oddb_csv,
  [7,11]  => :example_oddb_csv,
  [0,12]  => :csv_export2,
  [2,12]  => :radio_oddb2_csv,
  [6,12]  => :datadesc_oddb2_csv,
  [7,12]  => :example_oddb2_csv,
  [0,13]  => :yaml_export,
  [2,13]  => :radio_oddb_yaml,
  [6,13]  => :datadesc_oddb_yaml,
  [7,13]  => :example_oddb_yaml,
  [0,14]  => :yaml_patinfo_export,
  [3,14]  => :yaml_patinfo_price,
  [6,14]  => :datadesc_patinfo_yaml,
  [7,14]  => :example_patinfo_yaml,
  [0,15]  => :yaml_price_history_export,
  [2,15]  => :yaml_price_history_price,
  [6,15]  => :datadesc_price_history_yaml,
  [7,15]  => :example_price_history_yaml,
  [0,16]  => :csv_price_history_export,
  [2,16]  => :csv_price_history_price,
  [6,16]  => :datadesc_price_history_csv,
  [7,16]  => :example_price_history_csv,

  [0,18]  => 'export_added_value',
  [0,19]  => :fachinfos_de_pdf,
  [2,19]  => :radio_fachinfos_de_pdf,
  [7,19]  => :example_fachinfos_de_pdf,
  [0,20]  => :fachinfos_fr_pdf,
  [2,20]  => :radio_fachinfos_fr_pdf,
  [7,20]  => :example_fachinfos_fr_pdf,
  [0,21]  => :fachinfo_epub_firefox,
  [3,21]  => :price_fachinfo_firefox_epub,
  [6,21]  => :datadesc_epub,
  [7,21]  => :example_fachinfo_firefox_epub,
  [8,21]  => :howto_epub_firefox,
  [0,22]  => :fachinfo_htc,
  [3,22]  => :price_fachinfo_htc,
  [6,22]  => :datadesc_kindle,
  [7,22]  => :example_fachinfo_htc,
  [8,22]  => :howto_htc,
  [0,23]  => :fachinfo_kindle,
  [3,23]  => :price_fachinfo_kindle,
  [6,23]  => :datadesc_kindle,
  [7,23]  => :example_fachinfo_kindle,
  [8,23]  => :howto_kindle,
  [0,24]  => :fachinfo_epub_stanza,
  [3,24]  => :price_fachinfo_stanza_epub,
  [6,24]  => :datadesc_epub,
  [7,24]  => :example_fachinfo_stanza_epub,
  [8,24]  => :howto_epub_stanza,
  [0,25]  => :xls_generics,
  [2,25]  => :radio_generics_xls,
  [6,25]  => :datadesc_generics_xls,
  [7,25]  => :example_generics_xls,
  [0,26]  => :xls_patents,
  [3,26]  => :radio_patents_xls,
  [6,26]  => :datadesc_patents_xls,
  [7,26]  => :example_patents_xls,
  [0,27]  => :xls_swissdrug_update,
  [2,27]  => :radio_swissdrug_update_xls,
  [6,27]  => :datadesc_swissdrug_update_xls,
  [7,27]  => :example_swissdrug_update_xls,

  [0,29]  => 'export_compatibility',
  [0,30]  => :oddbdat_download,
  [2,30]  => :radio_oddbdat,
  [6,30]  => :datadesc_oddbdat,
  [7,30]  => :example_oddbdat,
  [0,31]  => :s31x,
  [2,31]  => :radio_s31x,
  [6,31]  => :datadesc_s31x,
  [0,32]  => :compression_label,
  [0,33]  => :compression,
}
CSS_MAP =
{
  [0,0,9]     =>  'subheading',
  [0,1,9]     =>  'list bg sum',
  [0,2,9,32]  => 'list',
  [0,3,9]     =>  'list bg',
  [0,5,9]     =>  'list bg',
  [0,7,9]     =>  'list bg',
  [0,9,9]     =>  'list bg',
  [0,11,9]    =>  'list bg',
  [0,13,9]    =>  'list bg',
  [0,15,9]    =>  'list bg',
  [0,18,9]    =>  'list bg sum',
  [0,20,9]    =>  'list bg',
  [0,22,9]    =>  'list bg',
  [0,24,9]    =>  'list bg',
  [0,26,9]    =>  'list bg',
  [0,29,9]    =>  'list bg sum',
}
COLSPAN_MAP =
{
  [5,0] =>  2,
  [0,1] =>  9,
  [0,18]=>  9,
  [0,29]=>  9,
  [0,32]=>  9,
  [0,33]=>  9,
}
CSS_CLASS =
'component'
SYMBOL_MAP =
{
  :compression => HtmlGrid::Select,
}

Constants included from Export

EXPORT_DIR, EXPORT_FILE

Instance Method Summary (collapse)

Methods included from Export

#checkbox_with_filesize, #convert_filesize, #datadesc, #display?, #example, #export_link, #file_path, #file_paths, #filesize, #once, #once_or_year, #uncompressed?

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) compression_label(model, session)



166
167
168
# File 'src/view/user/download_export.rb', line 166

def compression_label(model, session)
  HtmlGrid::LabelText.new(:compression, model, session, self)
end

- (Object) csv_analysis_export(model, session)



175
176
177
# File 'src/view/user/download_export.rb', line 175

def csv_analysis_export(model, session)
  checkbox_with_filesize("analysis.csv")
end

- (Object) csv_analysis_price(model, session)



178
179
180
# File 'src/view/user/download_export.rb', line 178

def csv_analysis_price(model, session)
  once('analysis.csv')
end

- (Object) csv_doctors_export(model, session)



181
182
183
# File 'src/view/user/download_export.rb', line 181

def csv_doctors_export(model, session)
  checkbox_with_filesize("doctors.csv")
end

- (Object) csv_doctors_price(model, session)



184
185
186
# File 'src/view/user/download_export.rb', line 184

def csv_doctors_price(model, session)
  once('doctors.csv')
end

- (Object) csv_export(model, session)



169
170
171
# File 'src/view/user/download_export.rb', line 169

def csv_export(model, session)
  checkbox_with_filesize("oddb.csv")
end

- (Object) csv_export2(model, session)



172
173
174
# File 'src/view/user/download_export.rb', line 172

def csv_export2(model, session)
  checkbox_with_filesize("oddb2.csv")
end

- (Object) csv_migel_export(model, session)



187
188
189
# File 'src/view/user/download_export.rb', line 187

def csv_migel_export(model, session)
  checkbox_with_filesize('migel.csv')
end

- (Object) csv_migel_price(model, session)



190
191
192
# File 'src/view/user/download_export.rb', line 190

def csv_migel_price(model, session)
  once('migel.csv')
end

- (Object) csv_narcotics_export(model, session)



193
194
195
# File 'src/view/user/download_export.rb', line 193

def csv_narcotics_export(model, session)
  checkbox_with_filesize('narcotics.csv')
end

- (Object) csv_price_history_export(model, session)



196
197
198
# File 'src/view/user/download_export.rb', line 196

def csv_price_history_export(model, session)
  checkbox_with_filesize("price_history.csv")
end

- (Object) csv_price_history_price(model, session)



199
200
201
# File 'src/view/user/download_export.rb', line 199

def csv_price_history_price(model, session)
  once_or_year('price_history.csv')
end

- (Object) datadesc_analysis_csv(model, session)



202
203
204
# File 'src/view/user/download_export.rb', line 202

def datadesc_analysis_csv(model, session)
  datadesc('analysis.csv')
end

- (Object) datadesc_doctors_csv(model, session)



205
206
207
# File 'src/view/user/download_export.rb', line 205

def datadesc_doctors_csv(model, session)
  datadesc('doctors.csv')
end

- (Object) datadesc_doctors_yaml(model, session)



208
209
210
# File 'src/view/user/download_export.rb', line 208

def datadesc_doctors_yaml(model, session)
  datadesc('doctors.yaml')
end

- (Object) datadesc_epub(model, session)



211
212
213
214
215
216
# File 'src/view/user/download_export.rb', line 211

def datadesc_epub(model, session)
  link = HtmlGrid::Link.new(:data_description, @model, @session, self)
  link.href = "http://www.openebook.org/specs.htm"
  link.css_class = 'small'
  link
end

- (Object) datadesc_fachinfo_yaml(model, session)



217
218
219
# File 'src/view/user/download_export.rb', line 217

def datadesc_fachinfo_yaml(model, session)
  datadesc('fachinfo.yaml')
end

- (Object) datadesc_generics_xls(model, session)



220
221
222
# File 'src/view/user/download_export.rb', line 220

def datadesc_generics_xls(model, session)
  datadesc('generics.xls')
end

- (Object) datadesc_index_therapeuticus(model, session)



223
224
225
# File 'src/view/user/download_export.rb', line 223

def datadesc_index_therapeuticus(model, session)
  datadesc('index_therapeuticus')
end

- (Object) datadesc_interactions_yaml(model, session)



226
227
228
# File 'src/view/user/download_export.rb', line 226

def datadesc_interactions_yaml(model, session)
  datadesc('interactions.yaml')
end

- (Object) datadesc_kindle(model, session)



229
230
231
232
233
234
# File 'src/view/user/download_export.rb', line 229

def datadesc_kindle(model, session)
  link = HtmlGrid::Link.new(:data_description, @model, @session, self)
  link.href = "http://www.mobipocket.com/dev/article.asp?BaseFolder=prcgen&File=mobiformat.htm"
  link.css_class = 'small'
  link
end

- (Object) datadesc_migel_csv(model, session)



238
239
240
# File 'src/view/user/download_export.rb', line 238

def datadesc_migel_csv(model, session)
  datadesc('migel.csv')
end

- (Object) datadesc_narcotics_csv(model, session)



241
242
243
# File 'src/view/user/download_export.rb', line 241

def datadesc_narcotics_csv(model, session)
  datadesc('narcotics.csv')
end

- (Object) datadesc_narcotics_yaml(model, session)



244
245
246
# File 'src/view/user/download_export.rb', line 244

def datadesc_narcotics_yaml(model, session)
  datadesc('narcotics.yaml')
end

- (Object) datadesc_oddb2_csv(model, session)



250
251
252
# File 'src/view/user/download_export.rb', line 250

def datadesc_oddb2_csv(model, session)
  datadesc('oddb2.csv')
end

- (Object) datadesc_oddb_csv(model, session)



247
248
249
# File 'src/view/user/download_export.rb', line 247

def datadesc_oddb_csv(model, session)
  datadesc('oddb.csv')
end

- (Object) datadesc_oddb_yaml(model, session)



256
257
258
# File 'src/view/user/download_export.rb', line 256

def datadesc_oddb_yaml(model, session)
  datadesc('oddb.yaml')
end

- (Object) datadesc_oddbdat(model, session)



253
254
255
# File 'src/view/user/download_export.rb', line 253

def datadesc_oddbdat(model, session)
  datadesc('oddbdat')
end

- (Object) datadesc_patents_xls(model, session)



259
260
261
# File 'src/view/user/download_export.rb', line 259

def datadesc_patents_xls(model, session)
  datadesc('patents.xls')
end

- (Object) datadesc_patinfo_yaml(model, session)



262
263
264
# File 'src/view/user/download_export.rb', line 262

def datadesc_patinfo_yaml(model, session)
  datadesc('patinfo.yaml')
end

- (Object) datadesc_price_history_csv(model, session)



265
266
267
# File 'src/view/user/download_export.rb', line 265

def datadesc_price_history_csv(model, session)
  datadesc('price_history.csv')
end

- (Object) datadesc_price_history_yaml(model, session)



268
269
270
# File 'src/view/user/download_export.rb', line 268

def datadesc_price_history_yaml(model, session)
  datadesc('price_history.yaml')
end

- (Object) datadesc_s31x(model, session)



271
272
273
# File 'src/view/user/download_export.rb', line 271

def datadesc_s31x(model, session)
  datadesc('s31x')
end

- (Object) datadesc_swissdrug_update_xls(model, session)



235
236
237
# File 'src/view/user/download_export.rb', line 235

def datadesc_swissdrug_update_xls(model, session)
  datadesc('swissdrug-update.xls')
end

- (Object) download_index_therapeuticus(model, session)



395
396
397
# File 'src/view/user/download_export.rb', line 395

def download_index_therapeuticus(model, session)
  checkbox_with_filesize('index_therapeuticus')
end

- (Object) example_analysis_csv(model, session)



277
278
279
# File 'src/view/user/download_export.rb', line 277

def example_analysis_csv(model, session)
  example('analysis.csv')
end

- (Object) example_doctors_csv(model, session)



274
275
276
# File 'src/view/user/download_export.rb', line 274

def example_doctors_csv(model, session)
  example('doctors.csv')
end

- (Object) example_doctors_yaml(model, session)



280
281
282
# File 'src/view/user/download_export.rb', line 280

def example_doctors_yaml(model, session)
  example('doctors.yaml')
end

- (Object) example_fachinfo_firefox_epub(model, session)



283
284
285
# File 'src/view/user/download_export.rb', line 283

def example_fachinfo_firefox_epub(model, session)
  example('compendium_ch.oddb.org.firefox.epub')
end

- (Object) example_fachinfo_htc(model, session)



286
287
288
# File 'src/view/user/download_export.rb', line 286

def example_fachinfo_htc(model, session)
  example('compendium_ch.oddb.org.htc.prc')
end

- (Object) example_fachinfo_kindle(model, session)



289
290
291
# File 'src/view/user/download_export.rb', line 289

def example_fachinfo_kindle(model, session)
  example('compendium_ch.oddb.org.kindle.mobi')
end

- (Object) example_fachinfo_stanza_epub(model, session)



292
293
294
295
296
297
298
# File 'src/view/user/download_export.rb', line 292

def example_fachinfo_stanza_epub(model, session)
  link = example('compendium_ch.oddb.org.stanza.epub')
  url = URI.parse link.href
  url.scheme = 'stanza'
  link.href = url.to_s
  link
end

- (Object) example_fachinfo_yaml(model, session)



299
300
301
# File 'src/view/user/download_export.rb', line 299

def example_fachinfo_yaml(model, session)
  example('fachinfo.yaml')
end

- (Object) example_fachinfos_de_pdf(model, session)



302
303
304
# File 'src/view/user/download_export.rb', line 302

def example_fachinfos_de_pdf(model, session)
  example('fachinfos_de.pdf')
end

- (Object) example_fachinfos_fr_pdf(model, session)



305
306
307
# File 'src/view/user/download_export.rb', line 305

def example_fachinfos_fr_pdf(model, session)
  example('fachinfos_fr.pdf')
end

- (Object) example_generics_xls(model, session)



308
309
310
# File 'src/view/user/download_export.rb', line 308

def example_generics_xls(model, session)
  example('generics.xls')
end

- (Object) example_index_therapeuticus(model, session)



311
312
313
# File 'src/view/user/download_export.rb', line 311

def example_index_therapeuticus(model, session)
  example('index_therapeuticus.tar.gz')
end

- (Object) example_interactions_yaml(model, session)



314
315
316
# File 'src/view/user/download_export.rb', line 314

def example_interactions_yaml(model, session)
  example('interactions.yaml')
end

- (Object) example_migel_csv(model, session)



320
321
322
# File 'src/view/user/download_export.rb', line 320

def example_migel_csv(model, session)
  example('migel.csv')
end

- (Object) example_narcotics_csv(model, session)



323
324
325
# File 'src/view/user/download_export.rb', line 323

def example_narcotics_csv(model, session)
  example('narcotics.csv')
end

- (Object) example_narcotics_yaml(model, session)



326
327
328
# File 'src/view/user/download_export.rb', line 326

def example_narcotics_yaml(model, session)
  example('narcotics.yaml')
end

- (Object) example_oddb2_csv(model, session)



332
333
334
# File 'src/view/user/download_export.rb', line 332

def example_oddb2_csv(model, session)
  example('oddb2.csv')
end

- (Object) example_oddb_csv(model, session)



329
330
331
# File 'src/view/user/download_export.rb', line 329

def example_oddb_csv(model, session)
  example('oddb.csv')
end

- (Object) example_oddb_yaml(model, session)



335
336
337
# File 'src/view/user/download_export.rb', line 335

def example_oddb_yaml(model, session)
  example('oddb.yaml')
end

- (Object) example_oddbdat(model, session)



338
339
340
# File 'src/view/user/download_export.rb', line 338

def example_oddbdat(model, session)
  example('oddbdat.tar.gz')
end

- (Object) example_patents_xls(model, session)



344
345
346
# File 'src/view/user/download_export.rb', line 344

def example_patents_xls(model, session)
  example('patents.xls')
end

- (Object) example_patinfo_yaml(model, session)



341
342
343
# File 'src/view/user/download_export.rb', line 341

def example_patinfo_yaml(model, session)
  example('patinfo.yaml')
end

- (Object) example_price_history_csv(model, session)



347
348
349
# File 'src/view/user/download_export.rb', line 347

def example_price_history_csv(model, session)
  example('price_history.csv')
end

- (Object) example_price_history_yaml(model, session)



350
351
352
# File 'src/view/user/download_export.rb', line 350

def example_price_history_yaml(model, session)
  example('price_history.yaml')
end

- (Object) example_swissdrug_update_xls(model, session)



317
318
319
# File 'src/view/user/download_export.rb', line 317

def example_swissdrug_update_xls(model, session)
  example('swissdrug-update.xls')
end

- (Object) fachinfo_epub_firefox(model, session)



353
354
355
# File 'src/view/user/download_export.rb', line 353

def fachinfo_epub_firefox(model, session)
  checkbox_with_filesize('compendium_ch.oddb.org.firefox.epub')
end

- (Object) fachinfo_epub_stanza(model, session)



362
363
364
# File 'src/view/user/download_export.rb', line 362

def fachinfo_epub_stanza(model, session)
  checkbox_with_filesize('compendium_ch.oddb.org.stanza.epub')
end

- (Object) fachinfo_htc(model, session)



356
357
358
# File 'src/view/user/download_export.rb', line 356

def fachinfo_htc(model, session)
  checkbox_with_filesize('compendium_ch.oddb.org.htc.prc')
end

- (Object) fachinfo_kindle(model, session)



359
360
361
# File 'src/view/user/download_export.rb', line 359

def fachinfo_kindle(model, session)
  checkbox_with_filesize('compendium_ch.oddb.org.kindle.mobi')
end

- (Object) fachinfos_de_pdf(model, session)



365
366
367
# File 'src/view/user/download_export.rb', line 365

def fachinfos_de_pdf(model, session)
  checkbox_with_filesize('fachinfos_de.pdf')
end

- (Object) fachinfos_fr_pdf(model, session)



368
369
370
# File 'src/view/user/download_export.rb', line 368

def fachinfos_fr_pdf(model, session)
  checkbox_with_filesize('fachinfos_fr.pdf')
end

- (Object) howto_epub_firefox(model, session)



371
372
373
374
375
376
# File 'src/view/user/download_export.rb', line 371

def howto_epub_firefox(model, session)
  link = HtmlGrid::Link.new(:howto_epub_firefox, @model, @session, self)
  link.href = "http://www.ywesee.com/pmwiki.php/Main/EPUB"
  link.css_class = 'small'
  link
end

- (Object) howto_epub_stanza(model, session)



377
378
379
380
381
382
# File 'src/view/user/download_export.rb', line 377

def howto_epub_stanza(model, session)
  link = HtmlGrid::Link.new(:howto_epub_stanza, @model, @session, self)
  link.href = "http://www.ywesee.com/pmwiki.php/Ywesee/Stanza"
  link.css_class = 'small'
  link
end

- (Object) howto_htc(model, session)



383
384
385
386
387
388
# File 'src/view/user/download_export.rb', line 383

def howto_htc(model, session)
  link = HtmlGrid::Link.new(:howto_htc, @model, @session, self)
  link.href = "http://www.ywesee.com/pmwiki.php/Ywesee/HTC"
  link.css_class = 'small'
  link
end

- (Object) howto_kindle(model, session)



389
390
391
392
393
394
# File 'src/view/user/download_export.rb', line 389

def howto_kindle(model, session)
  link = HtmlGrid::Link.new(:howto_kindle, @model, @session, self)
  link.href = "http://www.ywesee.com/pmwiki.php/Ywesee/Kindle"
  link.css_class = 'small'
  link
end

- (Object) oddbdat_download(model, session)



398
399
400
# File 'src/view/user/download_export.rb', line 398

def oddbdat_download(model, session)
  checkbox_with_filesize("oddbdat")
end

- (Object) price_fachinfo_firefox_epub(model, session)



401
402
403
# File 'src/view/user/download_export.rb', line 401

def price_fachinfo_firefox_epub(model, session)
  once('compendium_ch.oddb.org.firefox.epub')
end

- (Object) price_fachinfo_htc(model, session)



404
405
406
# File 'src/view/user/download_export.rb', line 404

def price_fachinfo_htc(model, session)
  once('compendium_ch.oddb.org.htc.prc')
end

- (Object) price_fachinfo_kindle(model, session)



407
408
409
# File 'src/view/user/download_export.rb', line 407

def price_fachinfo_kindle(model, session)
  once('compendium_ch.oddb.org.kindle.mobi')
end

- (Object) price_fachinfo_stanza_epub(model, session)



410
411
412
# File 'src/view/user/download_export.rb', line 410

def price_fachinfo_stanza_epub(model, session)
  once('compendium_ch.oddb.org.stanza.epub')
end

- (Object) radio_fachinfo_yaml(model, session)



425
426
427
# File 'src/view/user/download_export.rb', line 425

def radio_fachinfo_yaml(model, session)
  once_or_year('fachinfo.yaml')
end

- (Object) radio_fachinfos_de_pdf(model, session)



413
414
415
# File 'src/view/user/download_export.rb', line 413

def radio_fachinfos_de_pdf(model, session)
  once_or_year('fachinfos_de.pdf')
end

- (Object) radio_fachinfos_fr_pdf(model, session)



416
417
418
# File 'src/view/user/download_export.rb', line 416

def radio_fachinfos_fr_pdf(model, session)
  once_or_year('fachinfos_fr.pdf')
end

- (Object) radio_generics_xls(model, session)



428
429
430
# File 'src/view/user/download_export.rb', line 428

def radio_generics_xls(model, session)
  once_or_year('generics.xls')
end

- (Object) radio_index_therapeuticus(model, session)



431
432
433
# File 'src/view/user/download_export.rb', line 431

def radio_index_therapeuticus(model, session)
  once_or_year('index_therapeuticus')
end

- (Object) radio_interactions_yaml(model, session)



434
435
436
# File 'src/view/user/download_export.rb', line 434

def radio_interactions_yaml(model, session)
  once_or_year('interactions.yaml')
end

- (Object) radio_narcotics_csv(model, session)



440
441
442
# File 'src/view/user/download_export.rb', line 440

def radio_narcotics_csv(model, session)
  once_or_year('narcotics.csv')
end

- (Object) radio_narcotics_yaml(model, session)



443
444
445
# File 'src/view/user/download_export.rb', line 443

def radio_narcotics_yaml(model, session)
  once_or_year('narcotics.yaml')
end

- (Object) radio_oddb2_csv(model, session)



422
423
424
# File 'src/view/user/download_export.rb', line 422

def radio_oddb2_csv(model, session)
  once_or_year('oddb2.csv')
end

- (Object) radio_oddb_csv(model, session)



419
420
421
# File 'src/view/user/download_export.rb', line 419

def radio_oddb_csv(model, session)
  once_or_year('oddb.csv')
end

- (Object) radio_oddb_yaml(model, session)



449
450
451
# File 'src/view/user/download_export.rb', line 449

def radio_oddb_yaml(model, session)
  once_or_year('oddb.yaml')
end

- (Object) radio_oddbdat(model, session)



446
447
448
# File 'src/view/user/download_export.rb', line 446

def radio_oddbdat(model, session)
  once_or_year('oddbdat')
end

- (Object) radio_patents_xls(model, session)



452
453
454
# File 'src/view/user/download_export.rb', line 452

def radio_patents_xls(model, session)
  once('patents.xls')
end

- (Object) radio_s31x(model, session)



455
456
457
# File 'src/view/user/download_export.rb', line 455

def radio_s31x(model, session)
  once_or_year('s31x')
end

- (Object) radio_swissdrug_update_xls(model, session)



437
438
439
# File 'src/view/user/download_export.rb', line 437

def radio_swissdrug_update_xls(model, session)
  once_or_year('swissdrug-update.xls')
end

- (Object) s31x(model, session)



458
459
460
# File 'src/view/user/download_export.rb', line 458

def s31x(model, session)
  checkbox_with_filesize("s31x")
end

- (Object) xls_generics(model, session)



461
462
463
# File 'src/view/user/download_export.rb', line 461

def xls_generics(model, session)
  checkbox_with_filesize('generics.xls')
end

- (Object) xls_patents(model, session)



464
465
466
# File 'src/view/user/download_export.rb', line 464

def xls_patents(model, session)
  checkbox_with_filesize('patents.xls')
end

- (Object) xls_swissdrug_update(model, session)



467
468
469
# File 'src/view/user/download_export.rb', line 467

def xls_swissdrug_update(model, session)
  checkbox_with_filesize('swissdrug-update.xls')
end

- (Object) yaml_doctors_export(model, session)



470
471
472
# File 'src/view/user/download_export.rb', line 470

def yaml_doctors_export(model, session)
  checkbox_with_filesize("doctors.yaml")
end

- (Object) yaml_doctors_price(model, session)



473
474
475
# File 'src/view/user/download_export.rb', line 473

def yaml_doctors_price(model, session)
  once('doctors.yaml')
end

- (Object) yaml_export(model, session)



476
477
478
# File 'src/view/user/download_export.rb', line 476

def yaml_export(model, session)
  checkbox_with_filesize("oddb.yaml")
end

- (Object) yaml_fachinfo_export(model, session)



479
480
481
# File 'src/view/user/download_export.rb', line 479

def yaml_fachinfo_export(model, session)
  checkbox_with_filesize("fachinfo.yaml")
end

- (Object) yaml_interactions_export(model, session)



482
483
484
# File 'src/view/user/download_export.rb', line 482

def yaml_interactions_export(model, session)
  checkbox_with_filesize("interactions.yaml")
end

- (Object) yaml_narcotics_export(model, session)



485
486
487
# File 'src/view/user/download_export.rb', line 485

def yaml_narcotics_export(model, session)
  checkbox_with_filesize('narcotics.yaml')
end

- (Object) yaml_patinfo_export(model, session)



488
489
490
# File 'src/view/user/download_export.rb', line 488

def yaml_patinfo_export(model, session)
  checkbox_with_filesize("patinfo.yaml")
end

- (Object) yaml_patinfo_price(model, session)



491
492
493
# File 'src/view/user/download_export.rb', line 491

def yaml_patinfo_price(model, session)
  once('patinfo.yaml')
end

- (Object) yaml_price_history_export(model, session)



494
495
496
# File 'src/view/user/download_export.rb', line 494

def yaml_price_history_export(model, session)
  checkbox_with_filesize("price_history.yaml")
end

- (Object) yaml_price_history_price(model, session)



497
498
499
# File 'src/view/user/download_export.rb', line 497

def yaml_price_history_price(model, session)
  once_or_year('price_history.yaml')
end