ZF-2577: _dependentTables and _referenceMap should have class parameter
I tried to follow Coding Standard and Naming Conventions with my database models. But it all breaks when I try $paper->findPaperWriter() or $paperWriter->findParentPaper().
CREATE TABLE paper ... CREATE TABLE paper_writer ( paper_id... );
So I'd like to have
class Database_Paper class Database_Paper_Writer
All of this would work, if I would call $paper->findDatabasePaperWriter() or $paperWriter->findParentDatabasePaperWriter(), but as you can see this is not a very good solution. I found two solutions.
"class" parameter in _dependentTables and _referenceMap, that would tell ZF to look for certain class instead of trying magically resolve it. Zend/Db/Table/Row/Abstarct.php findDependentRowset() and findParentRow() should check for if there parameter has been set and use that instead of the one received as $dependentTable or $parentTable parameter.
have addHelperPath() similar to Zend_View View Helper