Commit 8f80761f45a7376db9634054823307255da401c1
1 parent
7aed7c22
Exists in
master
Atualizada classe {{{CustomPdo}}} para manter a assinatura do método {{{Consulta…
…}}} de {{{clsBanco_}}}, evitando aviso de ''Strict standards''
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
ieducar/tests/CustomPdo.php
| ... | ... | @@ -102,10 +102,11 @@ class CustomPdo extends clsBanco |
| 102 | 102 | * pelo DbUnit. |
| 103 | 103 | * |
| 104 | 104 | * @param string $sql |
| 105 | + * @param bool $reescrever | |
| 105 | 106 | * @return CustomPdo Provê interface fluída |
| 106 | 107 | * @see intranet/include/clsBancoSQL_#Consulta($consulta) |
| 107 | 108 | */ |
| 108 | - public function Consulta($sql) | |
| 109 | + public function Consulta($sql, $reescrever = TRUE) | |
| 109 | 110 | { |
| 110 | 111 | $this->_rs = $this->_pdo->query($sql); |
| 111 | 112 | return $this; | ... | ... |