ZF-11822: there is a wrong example in the online documentation

Issue Type: Docs: Problem Created: 2011-10-14T09:38:02.000+0000 Last Updated: 2011-10-14T15:52:34.000+0000 Status: Resolved Fix version(s): - 1.11.12 (22/Jun/12)

Reporter: Stefan Eroteev (eroteev) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Db_Table

  • Zend_Db

Related issues: Attachments:


On this page after Example 5 there is the following example:

$bugs = new Bugs();

// fetch all records from the table $rowset = $bugs->fetchAll();

// retrieve the 9th element immediately: $row9->getRow(8);

The following row: "$row9->getRow(8);" should be changed to "$row9 = $rowset->getRow(8);"


Posted by Adam Lundrigan (adamlundrigan) on 2011-10-14T15:49:42.000+0000

Fixed in trunk r24508 Merged to release-1.11 in r24509

ZF2 pull request:

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.