public function updatefailure() { $customerservice = new CustomerServiceCollection($this->_templateobject); $s_data = array('id' => $this->_data['id']); $sh = $customerservice->setSearch($s_data); $customerservice->load($sh); $this->view->set('customerservice', $customerservice); $failurecodes = DataObjectFactory::Factory('CSFailureCode'); $codeslist = array('' => ''); $codeslist += $failurecodes->getInUse(); $this->view->set('failurecodes', $codeslist); }