Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.11.5

Doc Bug #9076 Fetch a specific row
Submitted: 2006-10-18 04:11 UTC
From: pas at pas dot net dot au Assigned:
Status: Open Package: DB_DataObject
PHP Version: 5.1.6 OS: Debian
Roadmaps: (Not assigned)    
Subscription  


 [2006-10-18 04:11 UTC] pas at pas dot net dot au (Peter)
Description: ------------ How about changing the following in DataObject.php function fetch($rownum = NULL) ... $array = $result->fetchRow(DB_DATAOBJECT_FETCHMODE_ASSOC, $rownum); That way you could get any row in the result instead of only the next row. It is already supported by the DB class, so it is a very simple and minor change.

Comments

 [2006-11-25 17:04 UTC] cweiske (Christian Weiske)
Not a documentation problem, moving to DB_DataObject
 [2010-04-26 04:19 UTC] alan_k (Alan Knowles)
see fetchRow method.
 [2010-04-26 04:19 UTC] alan_k (Alan Knowles)
-Status: Open +Status: Assigned -Type: Feature/Change Request +Type: Documentation Problem
fetchrow is not documented..