cvs: pear /MDB2/MDB2/Wrapper peardb.php

From: Date: Sat, 21 May 2005 22:59:19 +0000
Subject: cvs: pear /MDB2/MDB2/Wrapper peardb.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-32005@lists.php.net to get a copy of this message
lsmith Sat May 21 18:59:19 2005 EDT Modified files: /pear/MDB2/MDB2/Wrapper peardb.php Log: - renamed getRowCounter() to rowCount() for PDO compliance http://cvs.php.net/diff.php/pear/MDB2/MDB2/Wrapper/peardb.php?r1=1.27&r2=1.28&ty=u Index: pear/MDB2/MDB2/Wrapper/peardb.php diff -u pear/MDB2/MDB2/Wrapper/peardb.php:1.27 pear/MDB2/MDB2/Wrapper/peardb.php:1.28 --- pear/MDB2/MDB2/Wrapper/peardb.php:1.27 Sat Apr 16 18:27:48 2005 +++ pear/MDB2/MDB2/Wrapper/peardb.php Sat May 21 18:59:19 2005 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@backendmedia.com> | // +----------------------------------------------------------------------+ // -// $Id: peardb.php,v 1.27 2005/04/16 22:27:48 lsmith Exp $ +// $Id: peardb.php,v 1.28 2005/05/21 22:59:19 lsmith Exp $ // /** @@ -301,7 +301,7 @@ function getRowCounter() { - return $this->result->getRowCounter()+1; + return $this->result->rowCount()+1+$this->result->offset; } }

« previous php.pear.cvs (#32005) next »