Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 7054 | Rev 7063 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 7054 Rev 7061
Línea 146... Línea 146...
146
            }
146
            }
147
        }
147
        }
148
        $this->Ln(5);
148
        $this->Ln(5);
149
    }
149
    }
Línea -... Línea 150...
-
 
150
 
-
 
151
    function optionTable($questionText, $options) {
-
 
152
 
-
 
153
 
-
 
154
        // Header Table
-
 
155
        $this->SetFillColor(255, 255, 255);
-
 
156
        $this->SetDrawColor(0, 0, 0);
-
 
157
        $this->SetLineWidth(0);
-
 
158
        $this->SetFont('Arial', 'B', 9);
-
 
159
 
-
 
160
        $this->MultiCell(190, 5, utf8_decode($questionText), 0, 'L', false);
-
 
161
 
-
 
162
        // Body Table
-
 
163
 
-
 
164
        $this->SetFillColor(204, 204, 204);
-
 
165
        $this->SetDrawColor(0, 0, 0);
-
 
166
        $this->SetLineWidth(0);
-
 
167
        $this->SetFont('Arial', 'B', 9);
-
 
168
 
-
 
169
        if (count($options)>0) {
-
 
170
 
-
 
171
            $this->Cell(150, 6, utf8_decode('Opcion :'), 1, 0, 'L', true);
-
 
172
            $this->Cell(8, 6, 'Sel.', 1, 0, 'C', true);
-
 
173
            $this->Ln();
-
 
174
 
-
 
175
            // Body Table
-
 
176
            $this->SetFillColor(225, 255, 255);
-
 
177
            $this->SetTextColor(0);
-
 
178
            $this->SetFont('Arial', '', 9);
-
 
179
 
-
 
180
            for ($i = 0; $i < count($options); $i++) {
-
 
181
 
-
 
182
                $this->Cell(150, 6, utf8_decode($options[$i]['text']), 1, 0, 'L', false);
-
 
183
                $this->Cell(8, 6, $options[$i]['selected'] ? 'X' : '', 1, 0, 'C', false);
-
 
184
 
-
 
185
                $this->Ln();
-
 
186
            }
-
 
187
        }
-
 
188
 
-
 
189
 
-
 
190
        $this->Ln();
-
 
191
    }
150
 
192