ZF-2171: Add select params to findDependentRowset and such
Description
Hi,
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.
Comments
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
Hi,
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.