From 8f80761f45a7376db9634054823307255da401c1 Mon Sep 17 00:00:00 2001 From: Eriksen Costa Date: Mon, 19 Jul 2010 20:42:15 -0300 Subject: [PATCH] Atualizada classe {{{CustomPdo}}} para manter a assinatura do método {{{Consulta}}} de {{{clsBanco_}}}, evitando aviso de ''Strict standards'' --- ieducar/tests/CustomPdo.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ieducar/tests/CustomPdo.php b/ieducar/tests/CustomPdo.php index ba93f66..0df01c2 100644 --- a/ieducar/tests/CustomPdo.php +++ b/ieducar/tests/CustomPdo.php @@ -102,10 +102,11 @@ class CustomPdo extends clsBanco * pelo DbUnit. * * @param string $sql + * @param bool $reescrever * @return CustomPdo Provê interface fluída * @see intranet/include/clsBancoSQL_#Consulta($consulta) */ - public function Consulta($sql) + public function Consulta($sql, $reescrever = TRUE) { $this->_rs = $this->_pdo->query($sql); return $this; -- libgit2 0.21.2