コード例 #1
0
ファイル: AuthorisedPage.php プロジェクト: picon/sample
 public function __construct()
 {
     parent::__construct();
     $self = $this;
     $this->add(new Link('link', function () use($self) {
         $_SESSION['auth'] = false;
         $self->setPage(HomePage::getIdentifier());
     }));
 }