/** * Handle a postnotice request * * Handles a postnotice request posted to this service. Saves the notice * through the OMB_Datastore. * * @access public * * @return OMB_Notice The received notice */ public function handlePostNotice() { list($req, $profile) = $this->handleOMBRequest(OMB_ENDPOINT_POSTNOTICE); $notice = OMB_Notice::fromParameters($profile, $req->get_parameters()); $this->datastore->saveNotice($notice); $this->finishOMBRequest(); return $notice; }