Class: ODDB::View::Analysis::ExplainAnalysisTechnical2

Inherits:
HtmlGrid::Composite show all
Defined in:
src/view/analysis/explain_result.rb

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) init



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# File 'src/view/analysis/explain_result.rb', line 66

def init
  if(@session.language == 'fr')
    @components = {
      [0,1]   => 'explain_analysis_tech_n',
      [0,2]   => 'explain_analysis_tech_p',
      [0,3]   => 'explain_analysis_tech_PCR',
      [0,4]   => 'explain_analysis_tech_ql',
      [0,5]   => 'explain_analysis_tech_qn',
      [0,6]   => 'explain_analysis_tech_R',
      [0,7]   => 'explain_analysis_tech_RAST',
      [0,8]   => 'explain_analysis_tech_RIA',
      [0,9]   => 'explain_analysis_tech_S',
      [0,10]  => 'explain_analysis_tech_sq',
      [0,11]  => 'explain_analysis_tech_ST',
      [0,12]  => 'explain_analysis_tech_U',
      [0,13]  => 'explain_analysis_tech_WB',
    }  
  else
    @components = {
      [0,1]   => 'explain_analysis_tech_p',
      [0,2]   => 'explain_analysis_tech_PCR',
      [0,3]   => 'explain_analysis_tech_ql',
      [0,4]   => 'explain_analysis_tech_qn',
      [0,5]   => 'explain_analysis_tech_R',
      [0,6]   => 'explain_analysis_tech_RAST',
      [0,7]   => 'explain_analysis_tech_RIA',
      [0,8]   => 'explain_analysis_tech_S',
      [0,9]   => 'explain_analysis_tech_SL',
      [0,10]  => 'explain_analysis_tech_sq',
      [0,11]  => 'explain_analysis_tech_ST',
      [0,12]  => 'explain_analysis_tech_U',
      [0,13]  => 'explain_analysis_tech_WB',
    }
  end
super
end