Class: ODDB::View::Drugs::LimitationTextComposite

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

Constant Summary

COMPONENTS =
{
  [0,0] =>  :limitation_text_title,
  [0,1] =>  View::Drugs::LimitationTextInnerComposite,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0] => 'th',
  [0,1] => 'list',
}

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) limitation_text_title(model, session)



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

def limitation_text_title(model, session)
  if(sl_entry =  model.pointer.parent)
    parent = sl_entry.parent.resolve(session.app)
    @lookandfeel.lookup(:limitation_text_title, 
      parent.name_base)
  end
end