public function find($id) { $result = $this->getDbTable()->find($id); if (0 == count($result)) { return; } $row = $result->current(); $category = new Application_Model_Category(); $category->setId($row->id); $category->setName($row->name); return $category; }