public function workflowchangeAction() { $finds = new Finds(); $updatedata = array('secwfstage' => $this->_getParam('wfstage'), 'updated' => $this->getTimeForForms(), 'updatedBy' => $this->getIdentityForForms()); $where = array(); $where[] = $finds->getAdapter()->quoteInto('id = ?', $this->_getParam('id')); $finds->update($updatedata, $where); }