Issues

ZF-3991: Add possibility to change loader class

Description

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?

Comments

Resolved in trunk and 1.8 release branch