Class: ODDB::View::Drugs::PatinfosComposite

Inherits:
HtmlGrid::Composite show all
Defined in:
src/view/drugs/patinfos.rb

Constant Summary

COMPONENTS =
{
  [0,0] => :title_patinfos,
  [1,0] =>  SearchForm,
  [0,1] => View::Drugs::PatinfoList,
  [0,2] => View::ResultFoot,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0] =>  'result-found list',
}
COLSPAN_MAP =
{
  [0,1] => 2,
  [0,2] => 2,
}
LEGACY_INTERFACE =
false

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) title_patinfos(model)



58
59
60
61
62
63
# File 'src/view/drugs/patinfos.rb', line 58

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