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),
        );
    }
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),
        );
    }
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 ) , ) ; }
Returns the description editor options.
@return array
Returns the description editor options .