original_string: protected function specific_filepicker_options($acceptedtypes, $draftitemid, $context) {
          debugging('qtype_essay_format_editorfilepicker_renderer::specific_filepicker_options() is deprecated, ' .
              'use question_utils::specific_filepicker_options() instead.', DEBUG_DEVELOPER);
  
          $filepickeroptions = new stdClass();
          $filepickeroptions->accepted_types = $acceptedtypes;
          $filepickeroptions->return_types = FILE_INTERNAL | FILE_EXTERNAL;
          $filepickeroptions->context = $context;
          $filepickeroptions->env = 'filepicker';
  
          $options = initialise_filepicker($filepickeroptions);
          $options->context = $context;
          $options->client_id = uniqid();
          $options->env = 'editor';
          $options->itemid = $draftitemid;
  
          return $options;
      }
code: protected function specific_filepicker_options($acceptedtypes, $draftitemid, $context) {
          debugging('qtype_essay_format_editorfilepicker_renderer::specific_filepicker_options() is deprecated, ' .
              'use question_utils::specific_filepicker_options() instead.', DEBUG_DEVELOPER);
  
          $filepickeroptions = new stdClass();
          $filepickeroptions->accepted_types = $acceptedtypes;
          $filepickeroptions->return_types = FILE_INTERNAL | FILE_EXTERNAL;
          $filepickeroptions->context = $context;
          $filepickeroptions->env = 'filepicker';
  
          $options = initialise_filepicker($filepickeroptions);
          $options->context = $context;
          $options->client_id = uniqid();
          $options->env = 'editor';
          $options->itemid = $draftitemid;
  
          return $options;
      }
code_tokens: protected function specific_filepicker_options ( $ acceptedtypes , $ draftitemid , $ context ) { debugging ( 'qtype_essay_format_editorfilepicker_renderer::specific_filepicker_options() is deprecated, ' . 'use question_utils::specific_filepicker_options() instead.' , DEBUG_DEVELOPER ) ; $ filepickeroptions = new stdClass ( ) ; $ filepickeroptions -> accepted_types = $ acceptedtypes ; $ filepickeroptions -> return_types = FILE_INTERNAL | FILE_EXTERNAL ; $ filepickeroptions -> context = $ context ; $ filepickeroptions -> env = 'filepicker' ; $ options = initialise_filepicker ( $ filepickeroptions ) ; $ options -> context = $ context ; $ options -> client_id = uniqid ( ) ; $ options -> env = 'editor' ; $ options -> itemid = $ draftitemid ; return $ options ; }
docstring: Get the options required to configure the filepicker for one of the editor
  toolbar buttons.
  @deprecated since 3.5
  @param mixed $acceptedtypes array of types of '*'.
  @param int $draftitemid the draft area item id.
  @param object $context the context.
  @return object the required options.
docstring_tokens: Get the options required to configure the filepicker for one of the editor toolbar buttons .