original_string: protected static function export_assessment_forms(\stdClass $user, \context $context, array $subcontext, int $assessmentid) {
  
          foreach (\workshop::available_strategies_list() as $strategy => $title) {
              $providername = '\workshopform_'.$strategy.'\privacy\provider';
  
              if (is_subclass_of($providername, '\mod_workshop\privacy\workshopform_provider')) {
                  component_class_callback($providername, 'export_assessment_form',
                      [
                          $user,
                          $context,
                          array_merge($subcontext, [get_string('assessmentform', 'mod_workshop'), $title]),
                          $assessmentid,
                      ]
                  );
  
              } else {
                  debugging('Missing class '.$providername.' implementing workshopform_provider interface', DEBUG_DEVELOPER);
              }
          }
      }
code: protected static function export_assessment_forms(\stdClass $user, \context $context, array $subcontext, int $assessmentid) {
  
          foreach (\workshop::available_strategies_list() as $strategy => $title) {
              $providername = '\workshopform_'.$strategy.'\privacy\provider';
  
              if (is_subclass_of($providername, '\mod_workshop\privacy\workshopform_provider')) {
                  component_class_callback($providername, 'export_assessment_form',
                      [
                          $user,
                          $context,
                          array_merge($subcontext, [get_string('assessmentform', 'mod_workshop'), $title]),
                          $assessmentid,
                      ]
                  );
  
              } else {
                  debugging('Missing class '.$providername.' implementing workshopform_provider interface', DEBUG_DEVELOPER);
              }
          }
      }
code_tokens: protected static function export_assessment_forms ( \ stdClass $ user , \ context $ context , array $ subcontext , int $ assessmentid ) { foreach ( \ workshop :: available_strategies_list ( ) as $ strategy => $ title ) { $ providername = '\workshopform_' . $ strategy . '\privacy\provider' ; if ( is_subclass_of ( $ providername , '\mod_workshop\privacy\workshopform_provider' ) ) { component_class_callback ( $ providername , 'export_assessment_form' , [ $ user , $ context , array_merge ( $ subcontext , [ get_string ( 'assessmentform' , 'mod_workshop' ) , $ title ] ) , $ assessmentid , ] ) ; } else { debugging ( 'Missing class ' . $ providername . ' implementing workshopform_provider interface' , DEBUG_DEVELOPER ) ; } } }
docstring: Export the grading strategy data related to the particular assessment.
  
  @param stdClass $user User we are exporting for
  @param context $context Workshop activity content
  @param array $subcontext Subcontext path of the assessment
  @param int $assessmentid ID of the exported assessment
docstring_tokens: Export the grading strategy data related to the particular assessment .