Class: ODDB::View::Migel::LimitationTextInnerComposite

Inherits:
Drugs::LimitationTextInnerComposite show all
Defined in:
src/view/migel/limitationtext.rb

Constant Summary

DEFAULT_CLASS =
HtmlGrid::Value

Constants inherited from Drugs::LimitationTextInnerComposite

COMPONENTS, DEFAULT_CLASS

Instance Method Summary (collapse)

Methods inherited from Drugs::LimitationTextInnerComposite

#init

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) group(model, session)



20
21
22
23
24
25
# File 'src/view/migel/limitationtext.rb', line 20

def group(model, session)
  product = model.parent(@session.app)
  if(lim = product.group.limitation_text)
    lim.send(@session.language)
  end
end

- (Object) subgroup(model, session)



14
15
16
17
18
19
# File 'src/view/migel/limitationtext.rb', line 14

def subgroup(model, session)
  product = model.parent(@session.app)
  if(lim = product.subgroup.limitation_text)
    lim.send(@session.language)
  end
end