Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.0RC2
-
Fix Version/s: 1.8.2
-
Component/s: Zend_Db_Table
-
Labels:None
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?
Issue Links
| This issue is duplicated by: | ||||
| ZF-4167 | Zend_Db_Table_Row_Abstract does not properly rely on autoloading |
|
|
|
Resolved in trunk and 1.8 release branch