Thats what I do in my controller:

$obj = new...
$obj->setId($id);
$data = $obj->select();

My select method returns:
$result = $this->dbConnect()->fetchAll($query,2);
return $result;

When I try to use $data->current(); or $data->toArray(); like you said, I
get: Fatal error: Call to a member function current() on a non-object or
Fatal error: Call to a member function toArray() on a non-object

...?
-- 
View this message in context: 
http://www.nabble.com/Zend%2BDojo%2B-Edit-Form-tp24387814p24389380.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to