2009年2月9日星期一

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

Let me explain through an example

$myModel = new myModel();
$myModel->insert($data);


class myModel extends Zend_Db_Table_Abstract {
public function insert($data) {
$vars = get_object_vars($this);
var_dump($vars['_cols']);
die();
}
}

>From version 1.7.4 the _cols aren't include anymore in the insert and
update? Does this has an reason or a bugg?

Not only _cols disapeared but also a lot of other information. But I'm only
using _cols so...

-----
visit my website at http://www.phpscriptor.com/ http://www.phpscriptor.com/
--
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-tp21911352p21911352.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: