Class: ODDB::View::Analysis::PositionList

Inherits:
HtmlGrid::List show all
Includes:
ODDB::View::AdditionalInformation
Defined in:
src/view/analysis/group.rb

Constant Summary

CSS_CLASS =
'composite'
COMPONENTS =
{
  [0,0] => :poscd,
  [1,0] => :description,
  [2,0] => :google_search,
}
CSS_MAP =
{
  [0,0,2] =>  'list',
  [2,0,1] =>  'list right',
}
DEFAULT_CLASS =
HtmlGrid::Value
OMIT_HEADER =
true
SORT_DEFAULT =
:poscd

Constants inherited from HtmlGrid::List

BACKGROUND_SUFFIX

Instance Method Summary (collapse)

Methods included from ODDB::View::AdditionalInformation

#_fachinfo, #atc_ddd_link, #atc_description, #comarketing, #complementary_type, #compositions, #ddd_price, #deductible, #fachinfo, #feedback, #google_search, #ikscat, #limitation_link, #limitation_text, #minifi, #narcotic, #notify, #patent, #patinfo, #qty_unit, #square, #twitter_share

Methods included from PartSize

#comparable_size, #part_size

Methods included from Drugs::AtcDddLink

#atc_ddd_link

Instance Method Details

- (Object) description(model, key = :description)



29
30
31
32
33
# File 'src/view/analysis/group.rb', line 29

def description(model, key = :description)
  link = PointerLink.new(:to_s, model, @session, self)
  link.value = model.send(@session.language)
  link
end