Class: ODDB::View::Drugs::LimitationTextInnerComposite

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

Direct Known Subclasses

Migel::LimitationTextInnerComposite

Constant Summary

COMPONENTS =
{}
DEFAULT_CLASS =
View::Chapter

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) init



14
15
16
17
18
19
20
21
22
# File 'src/view/drugs/limitationtext.rb', line 14

def init
  yy = 0
  lang = @session.language.intern
  if(@model.respond_to?(lang) && @model.send(lang))
    components.store([0,yy], lang)
    yy += 1
  end
  super
end