original_string: protected function section_right_content($section, $course, $onsectionpage) {
          $o = $this->output->spacer();
  
          $controls = $this->section_edit_control_items($course, $section, $onsectionpage);
          $o .= $this->section_edit_control_menu($controls, $course, $section);
  
          return $o;
      }
code: protected function section_right_content($section, $course, $onsectionpage) {
          $o = $this->output->spacer();
  
          $controls = $this->section_edit_control_items($course, $section, $onsectionpage);
          $o .= $this->section_edit_control_menu($controls, $course, $section);
  
          return $o;
      }
code_tokens: protected function section_right_content ( $ section , $ course , $ onsectionpage ) { $ o = $ this -> output -> spacer ( ) ; $ controls = $ this -> section_edit_control_items ( $ course , $ section , $ onsectionpage ) ; $ o .= $ this -> section_edit_control_menu ( $ controls , $ course , $ section ) ; return $ o ; }
docstring: Generate the content to displayed on the right part of a section
  before course modules are included
  
  @param stdClass $section The course_section entry from DB
  @param stdClass $course The course entry from DB
  @param bool $onsectionpage true if being printed on a section page
  @return string HTML to output.
docstring_tokens: Generate the content to displayed on the right part of a section before course modules are included