Class: ODDB::View::Drugs::LimitationTextsComposite

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

Constant Summary

COMPONENTS =
{
  [0,0] => :title_limitation_texts,
  [1,0] =>  SearchForm,
  [0,1] => View::Drugs::LimitationTextList,
  [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_limitation_texts(model)



61
62
63
64
65
66
67
# File 'src/view/drugs/limitationtexts.rb', line 61

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