original_string: private function get_file_options() {
          $fileoptions = array('subdirs' => 1,
                                  'maxbytes' => $this->get_config('maxsubmissionsizebytes'),
                                  'maxfiles' => $this->get_config('maxfilesubmissions'),
                                  'accepted_types' => $this->get_configured_typesets(),
                                  'return_types' => (FILE_INTERNAL | FILE_CONTROLLED_LINK));
          if ($fileoptions['maxbytes'] == 0) {
              // Use module default.
              $fileoptions['maxbytes'] = get_config('assignsubmission_file', 'maxbytes');
          }
          return $fileoptions;
      }
code: private function get_file_options() {
          $fileoptions = array('subdirs' => 1,
                                  'maxbytes' => $this->get_config('maxsubmissionsizebytes'),
                                  'maxfiles' => $this->get_config('maxfilesubmissions'),
                                  'accepted_types' => $this->get_configured_typesets(),
                                  'return_types' => (FILE_INTERNAL | FILE_CONTROLLED_LINK));
          if ($fileoptions['maxbytes'] == 0) {
              // Use module default.
              $fileoptions['maxbytes'] = get_config('assignsubmission_file', 'maxbytes');
          }
          return $fileoptions;
      }
code_tokens: private function get_file_options ( ) { $ fileoptions = array ( 'subdirs' => 1 , 'maxbytes' => $ this -> get_config ( 'maxsubmissionsizebytes' ) , 'maxfiles' => $ this -> get_config ( 'maxfilesubmissions' ) , 'accepted_types' => $ this -> get_configured_typesets ( ) , 'return_types' => ( FILE_INTERNAL | FILE_CONTROLLED_LINK ) ) ; if ( $ fileoptions [ 'maxbytes' ] == 0 ) { // Use module default. $ fileoptions [ 'maxbytes' ] = get_config ( 'assignsubmission_file' , 'maxbytes' ) ; } return $ fileoptions ; }
docstring: File format options
  
  @return array
docstring_tokens: File format options