예제 #1
0
파일: Notice.php 프로젝트: eappl/prototype
 private function __construct()
 {
     $notice = json_decode(Base_Cookie::get($this->key), true);
     Base_Cookie::remove($this->key);
     $this->type = $notice['type'];
     $this->message = $notice['message'];
     return $this;
 }
예제 #2
0
파일: Manager.php 프로젝트: eappl/prototype
 /**
  * 退出登录
  * @return void
  */
 public function logout()
 {
     Base_Cookie::remove($this->cookieName);
 }