protected function get_url_params() {
        $params = array(
            'id'         => $this->cm->id,
            'mode'       => $this->mode,
            'attempts'   => $this->attempts,
            'onlygraded' => $this->onlygraded,
        );

        if ($this->states) {
            $params['states'] = implode('-', $this->states);
        }

        if (groups_get_activity_groupmode($this->cm, $this->course)) {
            $params['group'] = $this->group;
        }
        return $params;
    }
protected function get_url_params() {
        $params = array(
            'id'         => $this->cm->id,
            'mode'       => $this->mode,
            'attempts'   => $this->attempts,
            'onlygraded' => $this->onlygraded,
        );

        if ($this->states) {
            $params['states'] = implode('-', $this->states);
        }

        if (groups_get_activity_groupmode($this->cm, $this->course)) {
            $params['group'] = $this->group;
        }
        return $params;
    }
protected function get_url_params ( ) { $ params = array ( 'id' => $ this -> cm -> id , 'mode' => $ this -> mode , 'attempts' => $ this -> attempts , 'onlygraded' => $ this -> onlygraded , ) ; if ( $ this -> states ) { $ params [ 'states' ] = implode ( '-' , $ this -> states ) ; } if ( groups_get_activity_groupmode ( $ this -> cm , $ this -> course ) ) { $ params [ 'group' ] = $ this -> group ; } return $ params ; }
Get the URL parameters required to show the report with these options.
@return array URL parameter name => value.
Get the URL parameters required to show the report with these options .