original_string: public function display_custom_fields_data(array $fieldsdata) : string {
          global $PAGE;
          $output = $PAGE->get_renderer('core_customfield');
          $content = '';
          foreach ($fieldsdata as $data) {
              $fd = new field_data($data);
              $content .= $output->render($fd);
          }
  
          return $content;
      }
code: public function display_custom_fields_data(array $fieldsdata) : string {
          global $PAGE;
          $output = $PAGE->get_renderer('core_customfield');
          $content = '';
          foreach ($fieldsdata as $data) {
              $fd = new field_data($data);
              $content .= $output->render($fd);
          }
  
          return $content;
      }
code_tokens: public function display_custom_fields_data ( array $ fieldsdata ) : string { global $ PAGE ; $ output = $ PAGE -> get_renderer ( 'core_customfield' ) ; $ content = '' ; foreach ( $ fieldsdata as $ data ) { $ fd = new field_data ( $ data ) ; $ content .= $ output -> render ( $ fd ) ; } return $ content ; }
docstring: Display visible custom fields.
  This is a sample implementation that can be overridden in each handler.
  
  @param data_controller[] $fieldsdata
  @return string
docstring_tokens: Display visible custom fields . This is a sample implementation that can be overridden in each handler .