Class: ODDB::View::User::YamlExportInnerComposite

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

Constant Summary

COMPONENTS =
{
  [0,1]   => :yaml_export_gz,
  [0,2]   => :yaml_export_zip,
  [0,3]   => :yaml_fachinfo_export_gz,
  [0,4]   => :yaml_fachinfo_export_zip,
  [0,5]   => :yaml_patinfo_export_gz,
  [0,6]   => :yaml_patinfo_export_zip,
}
CSS_MAP =
{
  [0,1,1,6] =>  'list',
}
EXPORT_FILE =
'oddb.yaml'

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) yaml_export_gz(model, session)



27
28
29
# File 'src/view/user/yamlexport.rb', line 27

def yaml_export_gz(model, session)
  link_with_filesize("oddb.yaml.gz")
end

- (Object) yaml_export_zip(model, session)



30
31
32
# File 'src/view/user/yamlexport.rb', line 30

def yaml_export_zip(model, session)
  link_with_filesize("oddb.yaml.zip")
end

- (Object) yaml_fachinfo_export_gz(model, session)



33
34
35
# File 'src/view/user/yamlexport.rb', line 33

def yaml_fachinfo_export_gz(model, session)
  link_with_filesize("fachinfo.yaml.gz")
end

- (Object) yaml_fachinfo_export_zip(model, session)



36
37
38
# File 'src/view/user/yamlexport.rb', line 36

def yaml_fachinfo_export_zip(model, session)
  link_with_filesize("fachinfo.yaml.zip")
end

- (Object) yaml_patinfo_export_gz(model, session)



39
40
41
# File 'src/view/user/yamlexport.rb', line 39

def yaml_patinfo_export_gz(model, session)
  link_with_filesize("patinfo.yaml.gz")
end

- (Object) yaml_patinfo_export_zip(model, session)



42
43
44
# File 'src/view/user/yamlexport.rb', line 42

def yaml_patinfo_export_zip(model, session)
  link_with_filesize("patinfo.yaml.zip")
end