Class: ODDB::View::Drugs::NarcoticsComposite

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

Constant Summary

EXPLAIN_RESULT =
View::Drugs::ExplainNarcotics
COMPONENTS =
{
  [0,0] => :title_narcotics,
  [1,0] => SearchForm,
  [0,1] => NarcoticList,
  [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_narcotics(model)



93
94
95
96
97
98
# File 'src/view/drugs/narcotics.rb', line 93

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