original_string: public function get_description_editor_options() {
          global $CFG;
          $context = $this->_customdata['context'];
          $itemid = $this->_customdata['itemid'];
          return array(
              'maxfiles'  => EDITOR_UNLIMITED_FILES,
              'maxbytes'  => $CFG->maxbytes,
              'trusttext' => true,
              'context'   => $context,
              'subdirs'   => file_area_contains_subdirs($context, 'coursecat', 'description', $itemid),
          );
      }
code: public function get_description_editor_options() {
          global $CFG;
          $context = $this->_customdata['context'];
          $itemid = $this->_customdata['itemid'];
          return array(
              'maxfiles'  => EDITOR_UNLIMITED_FILES,
              'maxbytes'  => $CFG->maxbytes,
              'trusttext' => true,
              'context'   => $context,
              'subdirs'   => file_area_contains_subdirs($context, 'coursecat', 'description', $itemid),
          );
      }
code_tokens: public function get_description_editor_options ( ) { global $ CFG ; $ context = $ this -> _customdata [ 'context' ] ; $ itemid = $ this -> _customdata [ 'itemid' ] ; return array ( 'maxfiles' => EDITOR_UNLIMITED_FILES , 'maxbytes' => $ CFG -> maxbytes , 'trusttext' => true , 'context' => $ context , 'subdirs' => file_area_contains_subdirs ( $ context , 'coursecat' , 'description' , $ itemid ) , ) ; }
docstring: Returns the description editor options.
  @return array
docstring_tokens: Returns the description editor options .