1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-05 21:58:10 +02:00

* added DibiTable

* new connection options: "result:objects" & "result:withtables"
* renamed DibiDriverInterface -> IDibiDriver, DibiVariableInterface -> IDibiVariable
This commit is contained in:
David Grudl
2008-01-15 03:43:03 +00:00
parent da0a239d6d
commit 5c045e58dc
21 changed files with 461 additions and 58 deletions

View File

@@ -129,7 +129,7 @@ final class DibiResultIterator implements Iterator
*/
public function valid()
{
return is_array($this->row) && ($this->limit < 0 || $this->pointer < $this->limit);
return !empty($this->row) && ($this->limit < 0 || $this->pointer < $this->limit);
}