original_string: public function out($pagesize, $useinitialsbar, $downloadhelpbutton = '') {
          global $PAGE;
  
          parent::out($pagesize, $useinitialsbar, $downloadhelpbutton);
  
          if (has_capability('moodle/course:enrolreview', $this->context)) {
              $params = ['contextid' => $this->context->id, 'courseid' => $this->course->id];
              $PAGE->requires->js_call_amd('core_user/status_field', 'init', [$params]);
          }
      }
code: public function out($pagesize, $useinitialsbar, $downloadhelpbutton = '') {
          global $PAGE;
  
          parent::out($pagesize, $useinitialsbar, $downloadhelpbutton);
  
          if (has_capability('moodle/course:enrolreview', $this->context)) {
              $params = ['contextid' => $this->context->id, 'courseid' => $this->course->id];
              $PAGE->requires->js_call_amd('core_user/status_field', 'init', [$params]);
          }
      }
code_tokens: public function out ( $ pagesize , $ useinitialsbar , $ downloadhelpbutton = '' ) { global $ PAGE ; parent :: out ( $ pagesize , $ useinitialsbar , $ downloadhelpbutton ) ; if ( has_capability ( 'moodle/course:enrolreview' , $ this -> context ) ) { $ params = [ 'contextid' => $ this -> context -> id , 'courseid' => $ this -> course -> id ] ; $ PAGE -> requires -> js_call_amd ( 'core_user/status_field' , 'init' , [ $ params ] ) ; } }
docstring: Render the participants table.
  
  @param int $pagesize Size of page for paginated displayed table.
  @param bool $useinitialsbar Whether to use the initials bar which will only be used if there is a fullname column defined.
  @param string $downloadhelpbutton
docstring_tokens: Render the participants table .