public function get_url() {
        if ($this->anonymous) {
            return new \moodle_url('/mod/feedback/show_entries.php', array('id' => $this->other['cmid'],
                    'showcompleted' => $this->objectid));
        } else {
            return new \moodle_url('/mod/feedback/show_entries.php' , array('id' => $this->other['cmid'],
                    'userid' => $this->userid, 'showcompleted' => $this->objectid));
        }
    }
public function get_url() {
        if ($this->anonymous) {
            return new \moodle_url('/mod/feedback/show_entries.php', array('id' => $this->other['cmid'],
                    'showcompleted' => $this->objectid));
        } else {
            return new \moodle_url('/mod/feedback/show_entries.php' , array('id' => $this->other['cmid'],
                    'userid' => $this->userid, 'showcompleted' => $this->objectid));
        }
    }
public function get_url ( ) { if ( $ this -> anonymous ) { return new \ moodle_url ( '/mod/feedback/show_entries.php' , array ( 'id' => $ this -> other [ 'cmid' ] , 'showcompleted' => $ this -> objectid ) ) ; } else { return new \ moodle_url ( '/mod/feedback/show_entries.php' , array ( 'id' => $ this -> other [ 'cmid' ] , 'userid' => $ this -> userid , 'showcompleted' => $ this -> objectid ) ) ; } }
Returns relevant URL based on the anonymous mode of the response.
@return \moodle_url
Returns relevant URL based on the anonymous mode of the response .