public function doEdieducationAction() { $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); $user = PR_Session::getSession(PR_Session::SESSION_USER); $UserID = $user["UserID"]; $request = $this->getRequest(); $params = $request->getParams(); $return = array("success" => 0, "error" => ""); $updateFields = array(); foreach ($params as $key => $value) { $updateFields[$key] = $value; } if (isset($updateFields["display"])) { $updateFields["display"] = 1; } else { $updateFields["display"] = 0; } $core = new PR_Api_Core_CandidateClass(); $core->updateEducation($updateFields["CredentialExperienceID"], $updateFields["institution_name"], $updateFields["title"], $updateFields["startdate"], $updateFields["enddate"], $updateFields["comments"], $updateFields["display"]); // echo("tetstt:<pre>");print_r($updateFields);echo("</pre>");die(); $return["success"] = 1; }