Hi there

The 'find' method is a part of the 'Zend_Db_Table' component, not the base Db class. All you're doing is retrieving the adapter, so you may wish to create your own factory class for creating Zend_Db_Table objects on-the-fly.

Did that. Now when I do :
$db=$this->getAdapter();
$result=$db->find(1);

I get :
Fatal error: Call to undefined method Zend_Db_Adapter_Pdo_Mysql::find()

--

Simon Mundy | Director | PEPTOLAB

""" " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124
http://www.peptolab.com


Reply via email to