original_string: public function get_tempfiles($skipfile='portfolio-export.zip') {
          $fs = get_file_storage();
          $files = $fs->get_area_files(SYSCONTEXTID, 'portfolio', 'exporter', $this->id, 'sortorder, itemid, filepath, filename', false);
          if (empty($files)) {
              return array();
          }
          $returnfiles = array();
          foreach ($files as $f) {
              if ($f->get_filename() == $skipfile) {
                  continue;
              }
              $returnfiles[$f->get_filepath() . $f->get_filename()] = $f;
          }
          return $returnfiles;
      }
code: public function get_tempfiles($skipfile='portfolio-export.zip') {
          $fs = get_file_storage();
          $files = $fs->get_area_files(SYSCONTEXTID, 'portfolio', 'exporter', $this->id, 'sortorder, itemid, filepath, filename', false);
          if (empty($files)) {
              return array();
          }
          $returnfiles = array();
          foreach ($files as $f) {
              if ($f->get_filename() == $skipfile) {
                  continue;
              }
              $returnfiles[$f->get_filepath() . $f->get_filename()] = $f;
          }
          return $returnfiles;
      }
code_tokens: public function get_tempfiles ( $ skipfile = 'portfolio-export.zip' ) { $ fs = get_file_storage ( ) ; $ files = $ fs -> get_area_files ( SYSCONTEXTID , 'portfolio' , 'exporter' , $ this -> id , 'sortorder, itemid, filepath, filename' , false ) ; if ( empty ( $ files ) ) { return array ( ) ; } $ returnfiles = array ( ) ; foreach ( $ files as $ f ) { if ( $ f -> get_filename ( ) == $ skipfile ) { continue ; } $ returnfiles [ $ f -> get_filepath ( ) . $ f -> get_filename ( ) ] = $ f ; } return $ returnfiles ; }
docstring: Returns an arary of files in the temporary working directory
  for this export.
  Always use this instead of the files api directly
  
  @param string $skipfile name of the file to be skipped
  @return array of stored_file objects keyed by name
docstring_tokens: Returns an arary of files in the temporary working directory for this export . Always use this instead of the files api directly