public static function logout()
 {
     wbUser::delSession();
     $_COOKIE = '';
     $data = array('items' => array(), 'total' => 0, 'success' => false, 'message' => '');
     $data['items'] = array();
     $data['total'] = 0;
     $data['message'] = 'Logout Berhasil';
     $data['success'] = true;
     return $data;
 }
Exemplo n.º 2
0
 public static function logout()
 {
     $ws_client = self::getNusoap();
     $params = array('search' => '', 'getParams' => json_encode($_GET), 'controller' => json_encode(array('module' => 'base', 'class' => 'roles.dologin', 'method' => 'logout', 'type' => 'json')), 'postParams' => json_encode($_POST), 'jsonItems' => '', 'start' => $start, 'limit' => $limit);
     wbUser::delSession();
     wbResponse::Redirect('http://45.118.112.232:81/portal/');
 }
Exemplo n.º 3
0
 public static function logout()
 {
     wbUser::delSession();
     wbResponse::Redirect('index.php');
 }