original_string: public function use_editor($elementid, array $options=null, $fpoptions=null) {
          global $PAGE, $CFG;
          // Note: use full moodle_url instance to prevent standard JS loader, make sure we are using https on profile page if required.
          if ($CFG->debugdeveloper) {
              $PAGE->requires->js(new moodle_url('/lib/editor/tinymce/tiny_mce/'.$this->version.'/tiny_mce_src.js'));
          } else {
              $PAGE->requires->js(new moodle_url('/lib/editor/tinymce/tiny_mce/'.$this->version.'/tiny_mce.js'));
          }
          $PAGE->requires->js_init_call('M.editor_tinymce.init_editor', array($elementid, $this->get_init_params($elementid, $options)), true);
          if ($fpoptions) {
              $PAGE->requires->js_init_call('M.editor_tinymce.init_filepicker', array($elementid, $fpoptions), true);
          }
      }
code: public function use_editor($elementid, array $options=null, $fpoptions=null) {
          global $PAGE, $CFG;
          // Note: use full moodle_url instance to prevent standard JS loader, make sure we are using https on profile page if required.
          if ($CFG->debugdeveloper) {
              $PAGE->requires->js(new moodle_url('/lib/editor/tinymce/tiny_mce/'.$this->version.'/tiny_mce_src.js'));
          } else {
              $PAGE->requires->js(new moodle_url('/lib/editor/tinymce/tiny_mce/'.$this->version.'/tiny_mce.js'));
          }
          $PAGE->requires->js_init_call('M.editor_tinymce.init_editor', array($elementid, $this->get_init_params($elementid, $options)), true);
          if ($fpoptions) {
              $PAGE->requires->js_init_call('M.editor_tinymce.init_filepicker', array($elementid, $fpoptions), true);
          }
      }
code_tokens: public function use_editor ( $ elementid , array $ options = null , $ fpoptions = null ) { global $ PAGE , $ CFG ; // Note: use full moodle_url instance to prevent standard JS loader, make sure we are using https on profile page if required. if ( $ CFG -> debugdeveloper ) { $ PAGE -> requires -> js ( new moodle_url ( '/lib/editor/tinymce/tiny_mce/' . $ this -> version . '/tiny_mce_src.js' ) ) ; } else { $ PAGE -> requires -> js ( new moodle_url ( '/lib/editor/tinymce/tiny_mce/' . $ this -> version . '/tiny_mce.js' ) ) ; } $ PAGE -> requires -> js_init_call ( 'M.editor_tinymce.init_editor' , array ( $ elementid , $ this -> get_init_params ( $ elementid , $ options ) ) , true ) ; if ( $ fpoptions ) { $ PAGE -> requires -> js_init_call ( 'M.editor_tinymce.init_filepicker' , array ( $ elementid , $ fpoptions ) , true ) ; } }
docstring: Use this editor for give element.
  
  @param string $elementid
  @param array $options
  @param null $fpoptions
docstring_tokens: Use this editor for give element .