| @@ 160-170 (lines=11) @@ | ||
| 157 | /** |
|
| 158 | * @return array |
|
| 159 | */ |
|
| 160 | public function getRespostasAsArray() |
|
| 161 | { |
|
| 162 | $erradas = array(); |
|
| 163 | $certas = array(); |
|
| 164 | $erradas = $this->getRespostasErradasAsArray(); |
|
| 165 | $certas = $this->getRespostasCertasAsArray(); |
|
| 166 | ||
| 167 | $todas = $erradas + $certas; |
|
| 168 | ||
| 169 | return $todas; |
|
| 170 | } |
|
| 171 | ||
| 172 | /** |
|
| 173 | * @return array |
|
| @@ 175-185 (lines=11) @@ | ||
| 172 | /** |
|
| 173 | * @return array |
|
| 174 | */ |
|
| 175 | public function getCodPerguntasAsArray() |
|
| 176 | { |
|
| 177 | $erradas = array(); |
|
| 178 | $certas = array(); |
|
| 179 | $erradas = $this->getRespostasErradasAsArray(); |
|
| 180 | $certas = $this->getRespostasCertasAsArray(); |
|
| 181 | ||
| 182 | $todas = $erradas + $certas; |
|
| 183 | ||
| 184 | return array_keys($todas); |
|
| 185 | } |
|
| 186 | ||
| 187 | /** |
|
| 188 | * @param $respostasCertas |
|