logout() public static method

public static logout ( )
Ejemplo n.º 1
0
<?php

namespace Iekadou\Webapp;

require_once "../inc/include.php";
new View('Logout', Translation::translate('Logout'), 'logout.html');
Account::logout();
View::render();
Ejemplo n.º 2
0
 function logout()
 {
     $a = new Account();
     $a->logout();
     if (isset($_SESSION['url'])) {
         redirect($_SESSION['url']);
     } else {
         echo "Successfully logout";
     }
 }
Ejemplo n.º 3
0
 protected function logout()
 {
     Account::logout();
     $this->redirect('/beheer/inloggen');
 }