public function submission_content_options() {
        global $CFG;
        require_once($CFG->dirroot.'/repository/lib.php');

        return array(
            'trusttext' => true,
            'subdirs' => false,
            'maxfiles' => $this->nattachments,
            'maxbytes' => $this->maxbytes,
            'context' => $this->context,
            'return_types' => FILE_INTERNAL | FILE_EXTERNAL,
          );
    }
public function submission_content_options() {
        global $CFG;
        require_once($CFG->dirroot.'/repository/lib.php');

        return array(
            'trusttext' => true,
            'subdirs' => false,
            'maxfiles' => $this->nattachments,
            'maxbytes' => $this->maxbytes,
            'context' => $this->context,
            'return_types' => FILE_INTERNAL | FILE_EXTERNAL,
          );
    }
public function submission_content_options ( ) { global $ CFG ; require_once ( $ CFG -> dirroot . '/repository/lib.php' ) ; return array ( 'trusttext' => true , 'subdirs' => false , 'maxfiles' => $ this -> nattachments , 'maxbytes' => $ this -> maxbytes , 'context' => $ this -> context , 'return_types' => FILE_INTERNAL | FILE_EXTERNAL , ) ; }
Return the editor options for the submission content field.

@return array
Return the editor options for the submission content field .