Class: ODDB::View::Drugs::VaccinesComposite

Inherits:
HtmlGrid::Composite show all
Includes:
ResultFootBuilder
Defined in:
src/view/drugs/vaccines.rb

Constant Summary

EXPLAIN_RESULT =
View::Drugs::ExplainVaccines
COMPONENTS =
{
  [0,0] => :title_vaccines,
  [1,0] =>  SearchForm,
  [0,1] => View::Drugs::SequenceList,
  [0,2] => :result_foot,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0] =>  'result-found list',
}
COLSPAN_MAP =
{
  [0,1] => 2,
  [0,2] => 2,
}
LEGACY_INTERFACE =
false

Constants included from ResultFootBuilder

EXPLAIN_RESULT

Instance Method Summary (collapse)

Methods included from ResultFootBuilder

#result_foot

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) title_vaccines(model)



35
36
37
38
39
40
# File 'src/view/drugs/vaccines.rb', line 35

def title_vaccines(model)
  unless(model.empty?)
    @lookandfeel.lookup(:title_vaccines, 
      @session.state.interval, model.size)
  end
end