コード例 #1
0
ファイル: Request.php プロジェクト: jayacode/framework
 private function getOldByFullName($name, $default = null)
 {
     if (null !== ($result = $this->session->getFlash($name))) {
         return $result;
     }
     return $default;
 }
コード例 #2
0
ファイル: Application.php プロジェクト: jayacode/framework
 /**
  * terminate application
  */
 public function terminate()
 {
     $inputs = array("post" => $this->request->post(), "query" => $this->request->query());
     $this->session->setFlash("old", $inputs);
     $this->request->getSession()->terminate();
 }