Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.9.3
-
Component/s: Zend_Db_Table
-
Labels:None
Description
Zend_Db_Table_Abstract has a getter method for $this->_rowClass. However, it does not use it in it's own functions - it references $this->_rowClass directly. This obviates their purpose, as far as I can see.
This means that developers cannot write custom logic to set $this->_rowClass. For instance, in my use-case, I have a digitalAssets table which contains filesystem references to images, MP3s, etc. It would be helpful if I could override $this->getRowClass() to return different row classes for each of these types - imageAsset, mp3Asset, etc.
Fixed in trunk in r17821 and in release branch 1.9 in 17822