Module: ODDB::View::Custom::Head

Includes:
HeadMethods
Included in:
Analysis::Search, Drugs::Search, Migel::Search
Defined in:
src/view/custom/head.rb

Instance Method Summary (collapse)

Methods included from HeadMethods

#just_medical, #oekk_head

Instance Method Details

- (Object) head(model, session = @session)



61
62
63
64
65
66
67
68
69
# File 'src/view/custom/head.rb', line 61

def head(model, session=@session)
  if(@lookandfeel.enabled?(:just_medical_structure, false))
    just_medical(model)
  elsif(@lookandfeel.enabled?(:oekk_structure, false))
    oekk_head(model)
  else
    self::class::HEAD.new(model, session, self)
  end
end