2009年2月10日星期二

Re: [fw-db] Zend_Db_Table_Abstract (insert and update) ZF 1.7.3 vs 1.7.4

This is one of the problems with using protected variables...I don't know why ZF is scattered around with protected variables, in most cases I would think private variables with getters and setters would suffice.

On Tue, Feb 10, 2009 at 2:30 PM, william0275 <nabble@metayer.info> wrote:

I don't think _cols was ever meant to be used directly the way you do.

If you really need to use it you should at least call _getCols(), which will
actually fetch the column information if it's not yet initialized... but
then, I'm not so sure it's a good thing.
--
View this message in context: http://www.nabble.com/Zend_Db_Table_Abstract-%28insert-and-update%29-ZF-1.7.3-vs-1.7.4-tp21911352p21939507.html
Sent from the Zend DB mailing list archive at Nabble.com.


没有评论: