original_string: public function get_editor_url(moodle_url $returnurl = null) {
  
          $params = array('areaid' => $this->areaid);
  
          if (!is_null($returnurl)) {
              $params['returnurl'] = $returnurl->out(false);
          }
  
          return new moodle_url('/grade/grading/form/'.$this->get_method_name().'/edit.php', $params);
      }
code: public function get_editor_url(moodle_url $returnurl = null) {
  
          $params = array('areaid' => $this->areaid);
  
          if (!is_null($returnurl)) {
              $params['returnurl'] = $returnurl->out(false);
          }
  
          return new moodle_url('/grade/grading/form/'.$this->get_method_name().'/edit.php', $params);
      }
code_tokens: public function get_editor_url ( moodle_url $ returnurl = null ) { $ params = array ( 'areaid' => $ this -> areaid ) ; if ( ! is_null ( $ returnurl ) ) { $ params [ 'returnurl' ] = $ returnurl -> out ( false ) ; } return new moodle_url ( '/grade/grading/form/' . $ this -> get_method_name ( ) . '/edit.php' , $ params ) ; }
docstring: Returns URL of a page where the grading form can be defined and edited.
  
  @param moodle_url $returnurl optional URL of a page where the user should be sent once they are finished with editing
  @return moodle_url
docstring_tokens: Returns URL of a page where the grading form can be defined and edited .