Class: ODDB::LookandfeelStandardResult

Inherits:
SBSM::LookandfeelWrapper show all
Defined in:
src/custom/lookandfeelwrapper.rb

Constant Summary

ENABLED =
[
  :fachinfos, :feedback,
]

Constants inherited from SBSM::LookandfeelWrapper

RESULT_FILTER

Instance Method Summary (collapse)

Methods inherited from SBSM::LookandfeelWrapper

#format_price, #has_result_filter?, #result_filter

Instance Method Details

- (Object) compare_list_components



37
38
39
40
41
42
43
44
45
46
47
48
# File 'src/custom/lookandfeelwrapper.rb', line 37

def compare_list_components
  {
    [0,0] =>  :name_base,
    [1,0] =>  :company_name,
    [2,0] =>  :comparable_size,
    [3,0] =>  :compositions,
    [4,0] =>  :price_public,
    [5,0] =>  :price_difference,
    [6,0] =>  :deductible,
    [7,0] =>  :ikscat,
  }  
end

- (Object) explain_result_components



49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# File 'src/custom/lookandfeelwrapper.rb', line 49

def explain_result_components
  {
    [0,0] =>  :explain_original,
    [0,1] =>  :explain_generic,
    [0,2] =>  'explain_unknown',
    [0,3] =>  'explain_expired',
    [0,4] =>  :explain_complementary,
    [0,5] =>  :explain_homeopathy,
    [0,6] =>  :explain_anthroposophy,
    [0,7] =>  :explain_phytotherapy,
    [0,8] =>  :explain_cas,
    [1,0] =>  :explain_parallel_import,
    [1,1] =>  :explain_comarketing,
    [1,2] =>  :explain_vaccine,
    [1,3] =>  :explain_narc,
    [1,4] =>  :explain_fachinfo,
    [1,5] =>  :explain_patinfo,
    [1,6] =>  :explain_limitation,
    [1,7] =>  :explain_google_search,
    [1,8] =>  :explain_feedback,
    [2,0] =>  'explain_efp',
    [2,1] =>  'explain_pbp',
    [2,2] =>  'explain_pr',
    [2,3] =>  :explain_deductible,
    [2,4] =>  'explain_sl',
    [2,5] =>  'explain_slo',
    [2,6] =>  'explain_slg',
    [2,7] =>  :explain_lppv,
  }
end

- (Object) result_list_components



79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'src/custom/lookandfeelwrapper.rb', line 79

def result_list_components
  {
    [0,0]   => :limitation_text,
    [1,0]   =>  :fachinfo,
    [2,0]   => :patinfo,
    [3,0]   => :narcotic,
    [4,0]   => :complementary_type,
    [5,0,0] =>  'result_item_start',
    [5,0,1] =>  :name_base,
    [5,0,2] =>  'result_item_end',
    [6,0]   => :galenic_form,
    [7,0]   => :comparable_size,
    [8,0]   => :price_exfactory,
    [9,0]   =>  :price_public,
    [10,0]  => :deductible,
    [11,0]  => :substances,
    [12,0]  => :company_name,
    [13,0]  => :ikscat,
    [14,0]  => :registration_date,
    [15,0]  => :feedback,
    [16,0]  =>  :google_search,
    [17,0]  => :notify,
  }
end