public function get_url() {
        $urlparams = [];
        if ($policyid = $this->get_policy_id_filter()) {
            $urlparams['policyid'] = $policyid;
        }
        if ($versionid = $this->get_version_id_filter()) {
            $urlparams['versionid'] = $versionid;
        }
        $i = 0;
        foreach ($this->filtersapplied as $filter) {
            if ($filter[0] != self::FILTER_POLICYID && $filter[0] != self::FILTER_VERSIONID) {
                if ($filter[0] == self::FILTER_SEARCH_STRING) {
                    $urlparams['unified-filters['.($i++).']'] = $filter[1];
                } else {
                    $urlparams['unified-filters['.($i++).']'] = join(':', $filter);
                }
            }
        }
        return new \moodle_url('/admin/tool/policy/acceptances.php', $urlparams);
    }
public function get_url() {
        $urlparams = [];
        if ($policyid = $this->get_policy_id_filter()) {
            $urlparams['policyid'] = $policyid;
        }
        if ($versionid = $this->get_version_id_filter()) {
            $urlparams['versionid'] = $versionid;
        }
        $i = 0;
        foreach ($this->filtersapplied as $filter) {
            if ($filter[0] != self::FILTER_POLICYID && $filter[0] != self::FILTER_VERSIONID) {
                if ($filter[0] == self::FILTER_SEARCH_STRING) {
                    $urlparams['unified-filters['.($i++).']'] = $filter[1];
                } else {
                    $urlparams['unified-filters['.($i++).']'] = join(':', $filter);
                }
            }
        }
        return new \moodle_url('/admin/tool/policy/acceptances.php', $urlparams);
    }
public function get_url ( ) { $ urlparams = [ ] ; if ( $ policyid = $ this -> get_policy_id_filter ( ) ) { $ urlparams [ 'policyid' ] = $ policyid ; } if ( $ versionid = $ this -> get_version_id_filter ( ) ) { $ urlparams [ 'versionid' ] = $ versionid ; } $ i = 0 ; foreach ( $ this -> filtersapplied as $ filter ) { if ( $ filter [ 0 ] != self :: FILTER_POLICYID && $ filter [ 0 ] != self :: FILTER_VERSIONID ) { if ( $ filter [ 0 ] == self :: FILTER_SEARCH_STRING ) { $ urlparams [ 'unified-filters[' . ( $ i ++ ) . ']' ] = $ filter [ 1 ] ; } else { $ urlparams [ 'unified-filters[' . ( $ i ++ ) . ']' ] = join ( ':' , $ filter ) ; } } } return new \ moodle_url ( '/admin/tool/policy/acceptances.php' , $ urlparams ) ; }
Returns URL of the acceptances page with all current filters applied

@return \moodle_url
Returns URL of the acceptances page with all current filters applied