original_string: protected function render_course_enrolment_other_users_table(course_enrolment_other_users_table $table) {
  
          $table->initialise_javascript();
  
          $content = '';
          $searchbutton = $table->get_user_search_button();
          if ($searchbutton) {
              $content .= $this->output->render($searchbutton);
          }
          $content .= html_writer::tag('div', get_string('otheruserdesc', 'enrol'), array('class'=>'otherusersdesc'));
          $content .= $this->output->render($table->get_paging_bar());
          $content .= html_writer::table($table);
          $content .= $this->output->render($table->get_paging_bar());
          $searchbutton = $table->get_user_search_button();
          if ($searchbutton) {
              $content .= $this->output->render($searchbutton);
          }
          return $content;
      }
code: protected function render_course_enrolment_other_users_table(course_enrolment_other_users_table $table) {
  
          $table->initialise_javascript();
  
          $content = '';
          $searchbutton = $table->get_user_search_button();
          if ($searchbutton) {
              $content .= $this->output->render($searchbutton);
          }
          $content .= html_writer::tag('div', get_string('otheruserdesc', 'enrol'), array('class'=>'otherusersdesc'));
          $content .= $this->output->render($table->get_paging_bar());
          $content .= html_writer::table($table);
          $content .= $this->output->render($table->get_paging_bar());
          $searchbutton = $table->get_user_search_button();
          if ($searchbutton) {
              $content .= $this->output->render($searchbutton);
          }
          return $content;
      }
code_tokens: protected function render_course_enrolment_other_users_table ( course_enrolment_other_users_table $ table ) { $ table -> initialise_javascript ( ) ; $ content = '' ; $ searchbutton = $ table -> get_user_search_button ( ) ; if ( $ searchbutton ) { $ content .= $ this -> output -> render ( $ searchbutton ) ; } $ content .= html_writer :: tag ( 'div' , get_string ( 'otheruserdesc' , 'enrol' ) , array ( 'class' => 'otherusersdesc' ) ) ; $ content .= $ this -> output -> render ( $ table -> get_paging_bar ( ) ) ; $ content .= html_writer :: table ( $ table ) ; $ content .= $ this -> output -> render ( $ table -> get_paging_bar ( ) ) ; $ searchbutton = $ table -> get_user_search_button ( ) ; if ( $ searchbutton ) { $ content .= $ this -> output -> render ( $ searchbutton ) ; } return $ content ; }
docstring: Renders a course enrolment table
  
  @param course_enrolment_table $table
  @return string
docstring_tokens: Renders a course enrolment table