Class: ODDB::LookandfeelComplementaryType

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

Constant Summary

ENABLED =
[
  :home_drugs,
  :help_link,
  :faq_link,
  :patinfos,
  :sequences,
  :ywesee_contact,
  :logo,
]

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) explain_result_components



967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
# File 'src/custom/lookandfeelwrapper.rb', line 967

def explain_result_components
  {
    [0,0] =>  :explain_minifi,
    [0,1] =>  :explain_fachinfo,
    [0,2] =>  :explain_patinfo,
    [0,3] =>  :explain_limitation,
    [0,4] =>  :explain_parallel_import,
    [0,5] =>  :explain_comarketing,
    [0,6] =>  :explain_google_search,
    [0,7] =>  :explain_feedback,
    [1,0] =>  'explain_expired',
    [1,1] =>  'explain_efp',
    [1,2] =>  'explain_pbp',
    [1,3] =>  'explain_pr',
    [1,4] =>  :explain_deductible,
    [1,5] =>  :explain_ddd_price,
    [1,6] =>  'explain_sl',
    [1,7] =>  :explain_lppv,
  }
end

- (Object) result_list_components



987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
# File 'src/custom/lookandfeelwrapper.rb', line 987

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