Правки namespace
This commit is contained in:
parent
ee06f1febb
commit
524b27936a
39 changed files with 141 additions and 120 deletions
|
|
@ -3,7 +3,7 @@
|
|||
namespace ctiso\Database;
|
||||
use PDO;
|
||||
|
||||
class StatementIterator implements Iterator
|
||||
class StatementIterator implements \Iterator
|
||||
{
|
||||
|
||||
private $result;
|
||||
|
|
@ -11,7 +11,7 @@ class StatementIterator implements Iterator
|
|||
private $fetchmode;
|
||||
private $row_count;
|
||||
|
||||
public function __construct(/*.Database_PDOStatement.*/ $rs) {
|
||||
public function __construct(/*.PDOStatement.*/ $rs) {
|
||||
$this->result = $rs;
|
||||
$this->row_count = $rs->getRecordCount();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue