ZF-2171: Add select params to findDependentRowset and such

Issue Type: Improvement Created: 2007-11-08T16:54:41.000+0000 Last Updated: 2008-03-21T16:25:45.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Étienne Bersac (bersace) Assignee: Simon Mundy (peptolab) Tags: - Zend_Db_Table

Related issues: Attachments: - zend-db-table-extendend-relationship-query.patch



In Zend_Db_Table_Row, you can easily fetch dependent table rows and parent rows via foreign keys. Unlike fetchAll(), findDependentRowset() and findParentRow() and findManyToMany() does not allow to set specific where, order, count and offset clauses. The patch attached add these parameters to the formers functions.

Magics function findTables, findParentTables and findTablesViaTables are handled as well.

I use patche Zend_Db_Table_Row_Abstract for some weeks without problems.

Regards, Étienne.


Posted by Étienne Bersac (bersace) on 2007-11-08T16:56:04.000+0000

Here is the promised patch. Docblocks are updated too.

Posted by Darby Felton (darby) on 2007-11-09T08:39:58.000+0000

Hi, [~bersace], have you submitted a signed CLA yet? Until we have proof that we have license to do so, we cannot use the attached patch as-is.

Please complete a CLA for us so that we can directly use additional contributions from you. :) Thanks!

Posted by Darby Felton (darby) on 2007-11-09T10:30:37.000+0000

I see that you have submitted a CLA - thank you! Once this has been processed, we can incorporate your contributions with Zend Framework. Welcome to the framework development community! :)

Posted by Étienne Bersac (bersace) on 2007-11-09T10:56:43.000+0000

Thanks Darby,

I wish you'll like the patch.

Regards, Étienne.

Posted by Étienne Bersac (bersace) on 2007-11-09T14:47:56.000+0000


My CLA is Ok, thanks to Melissa. I now belong to zf-framework-dev group.

Regards, Étienne.

Posted by Simon Mundy (peptolab) on 2008-02-16T21:05:37.000+0000

Hi Etienne - these enhancements have been covered off in the Zend_Db_Table Enhancements proposal and are already up-and-running as of ZF1.5 PR1 - I encourage you to try them out and send your feedback.

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.