public function get_url_params() {
        $args = array(
            'id' => $this->course->id
        );
        if (!empty($this->instancefilter)) {
            $args['ifilter'] = $this->instancefilter;
        }
        if (!empty($this->rolefilter)) {
            $args['role'] = $this->rolefilter;
        }
        if ($this->searchfilter !== '') {
            $args['search'] = $this->searchfilter;
        }
        if (!empty($this->groupfilter)) {
            $args['filtergroup'] = $this->groupfilter;
        }
        if ($this->statusfilter !== -1) {
            $args['status'] = $this->statusfilter;
        }
        return $args;
    }
public function get_url_params() {
        $args = array(
            'id' => $this->course->id
        );
        if (!empty($this->instancefilter)) {
            $args['ifilter'] = $this->instancefilter;
        }
        if (!empty($this->rolefilter)) {
            $args['role'] = $this->rolefilter;
        }
        if ($this->searchfilter !== '') {
            $args['search'] = $this->searchfilter;
        }
        if (!empty($this->groupfilter)) {
            $args['filtergroup'] = $this->groupfilter;
        }
        if ($this->statusfilter !== -1) {
            $args['status'] = $this->statusfilter;
        }
        return $args;
    }
public function get_url_params ( ) { $ args = array ( 'id' => $ this -> course -> id ) ; if ( ! empty ( $ this -> instancefilter ) ) { $ args [ 'ifilter' ] = $ this -> instancefilter ; } if ( ! empty ( $ this -> rolefilter ) ) { $ args [ 'role' ] = $ this -> rolefilter ; } if ( $ this -> searchfilter !== '' ) { $ args [ 'search' ] = $ this -> searchfilter ; } if ( ! empty ( $ this -> groupfilter ) ) { $ args [ 'filtergroup' ] = $ this -> groupfilter ; } if ( $ this -> statusfilter !== - 1 ) { $ args [ 'status' ] = $ this -> statusfilter ; } return $ args ; }
Retursn an array of params that would go into the URL to return to this
exact page.

@return array
Retursn an array of params that would go into the URL to return to this exact page .