original_string: protected function view_return_links() {
          $returnaction = optional_param('returnaction', '', PARAM_ALPHA);
          $returnparams = optional_param('returnparams', '', PARAM_TEXT);
  
          $params = array();
          $returnparams = str_replace('&amp;', '&', $returnparams);
          parse_str($returnparams, $params);
          $newparams = array('id' => $this->get_course_module()->id, 'action' => $returnaction);
          $params = array_merge($newparams, $params);
  
          $url = new moodle_url('/mod/assign/view.php', $params);
          return $this->get_renderer()->single_button($url, get_string('back'), 'get');
      }
code: protected function view_return_links() {
          $returnaction = optional_param('returnaction', '', PARAM_ALPHA);
          $returnparams = optional_param('returnparams', '', PARAM_TEXT);
  
          $params = array();
          $returnparams = str_replace('&amp;', '&', $returnparams);
          parse_str($returnparams, $params);
          $newparams = array('id' => $this->get_course_module()->id, 'action' => $returnaction);
          $params = array_merge($newparams, $params);
  
          $url = new moodle_url('/mod/assign/view.php', $params);
          return $this->get_renderer()->single_button($url, get_string('back'), 'get');
      }
code_tokens: protected function view_return_links ( ) { $ returnaction = optional_param ( 'returnaction' , '' , PARAM_ALPHA ) ; $ returnparams = optional_param ( 'returnparams' , '' , PARAM_TEXT ) ; $ params = array ( ) ; $ returnparams = str_replace ( '&amp;' , '&' , $ returnparams ) ; parse_str ( $ returnparams , $ params ) ; $ newparams = array ( 'id' => $ this -> get_course_module ( ) -> id , 'action' => $ returnaction ) ; $ params = array_merge ( $ newparams , $ params ) ; $ url = new moodle_url ( '/mod/assign/view.php' , $ params ) ; return $ this -> get_renderer ( ) -> single_button ( $ url , get_string ( 'back' ) , 'get' ) ; }
docstring: View a link to go back to the previous page. Uses url parameters returnaction and returnparams.
  
  @return string
docstring_tokens: View a link to go back to the previous page . Uses url parameters returnaction and returnparams .