ZF-3991: Add possibility to change loader class

Issue Type: Improvement Created: 2008-08-19T01:27:55.000+0000 Last Updated: 2009-05-14T05:46:22.000+0000 Status: Resolved Fix version(s): - 1.8.2 (27/May/09)

Reporter: Constantine Yurevich (cyurevich) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Db_Table

Related issues: - ZF-4167



When developer has his own loader class and uses it (for example My_Loader) there is no possibility to use it in Zend_Db_Table and Zend_Db_Table_Rowset to load custom rowset and row classes. Now developer needs to override in extended class WHOLE fetchRow and createRow methods of class Zend_Db_Table_Abstract, and change only one row in this methods for example from: @Zend_Loader::loadClass($this->_rowClass); to: @My_Loader::loadClass($this->_rowClass);

Is it possible to have some method setLoaderClass (similar to setRowClass and setRowsetClass)? Or is it possible just to check somehow if registerAutoload class already registered and use already registered loader class?


Posted by Matthew Weier O'Phinney (matthew) on 2009-05-14T05:46:22.000+0000

Resolved in trunk and 1.8 release branch

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.