public function get_return_params() {
        global $PAGE;

        $params = array();
        if (!WS_SERVER) {
            $params = $PAGE->url->params();
        }
        unset($params['id']);
        unset($params['action']);
        return $params;
    }
public function get_return_params() {
        global $PAGE;

        $params = array();
        if (!WS_SERVER) {
            $params = $PAGE->url->params();
        }
        unset($params['id']);
        unset($params['action']);
        return $params;
    }
public function get_return_params ( ) { global $ PAGE ; $ params = array ( ) ; if ( ! WS_SERVER ) { $ params = $ PAGE -> url -> params ( ) ; } unset ( $ params [ 'id' ] ) ; unset ( $ params [ 'action' ] ) ; return $ params ; }
Return a list of parameters that can be used to get back to the current page.

@return array params
Return a list of parameters that can be used to get back to the current page .