private function getOldByFullName($name, $default = null) { if (null !== ($result = $this->session->getFlash($name))) { return $result; } return $default; }
/** * terminate application */ public function terminate() { $inputs = array("post" => $this->request->post(), "query" => $this->request->query()); $this->session->setFlash("old", $inputs); $this->request->getSession()->terminate(); }