コード例 #1
0
ファイル: session.php プロジェクト: radig/CakeMongoSession
 /**
  * Used to determine the last error in a session.
  *
  * In your controller: $this->Session->error();
  *
  * @return string Last session error
  * @access public
  * @link http://book.cakephp.org/view/1318/error
  */
 public function error()
 {
     if ($this->__active === true) {
         $this->__start();
         return parent::error();
     }
     return false;
 }