public function getLogoutURI($params = array()) {
        $default_params = array(
            'redirect_uri'=> $this->getCurrentURI(),
            'oauth_token' => $this->getAccessToken()
        );
        if ($this->xiti) {
            $default_params['xiti_json'] = $this->getXitiConfiguration();
        }
        $default_params['v'] = self::VERSION;
        return $this->getUrl('www', 'logout', array_merge($default_params, $params));
    }
public function getLogoutURI($params = array()) {
        $default_params = array(
            'redirect_uri'=> $this->getCurrentURI(),
            'oauth_token' => $this->getAccessToken()
        );
        if ($this->xiti) {
            $default_params['xiti_json'] = $this->getXitiConfiguration();
        }
        $default_params['v'] = self::VERSION;
        return $this->getUrl('www', 'logout', array_merge($default_params, $params));
    }
public function getLogoutURI ( $ params = array ( ) ) { $ default_params = array ( 'redirect_uri' => $ this -> getCurrentURI ( ) , 'oauth_token' => $ this -> getAccessToken ( ) ) ; if ( $ this -> xiti ) { $ default_params [ 'xiti_json' ] = $ this -> getXitiConfiguration ( ) ; } $ default_params [ 'v' ] = self :: VERSION ; return $ this -> getUrl ( 'www' , 'logout' , array_merge ( $ default_params , $ params ) ) ; }
Get a Logout URI suitable for use with redirects.

The parameters:
- redirect_uri: the URI to go to after a successful logout

@param array $params provide custom parameters
@return string the URI for the logout flow
Get a Logout URI suitable for use with redirects .