original_string: protected function get_stored_file_record($contextid, $itemid, $partial = false) {
          $filearea = document_services::COMBINED_PDF_FILEAREA;
          if ($partial) {
              $filearea = document_services::PARTIAL_PDF_FILEAREA;
          }
          return (object) [
              'contextid' => $contextid,
              'component' => 'assignfeedback_editpdf',
              'filearea' => $filearea,
              'itemid' => $itemid,
              'filepath' => '/',
              'filename' => document_services::COMBINED_PDF_FILENAME,
          ];
      }
code: protected function get_stored_file_record($contextid, $itemid, $partial = false) {
          $filearea = document_services::COMBINED_PDF_FILEAREA;
          if ($partial) {
              $filearea = document_services::PARTIAL_PDF_FILEAREA;
          }
          return (object) [
              'contextid' => $contextid,
              'component' => 'assignfeedback_editpdf',
              'filearea' => $filearea,
              'itemid' => $itemid,
              'filepath' => '/',
              'filename' => document_services::COMBINED_PDF_FILENAME,
          ];
      }
code_tokens: protected function get_stored_file_record ( $ contextid , $ itemid , $ partial = false ) { $ filearea = document_services :: COMBINED_PDF_FILEAREA ; if ( $ partial ) { $ filearea = document_services :: PARTIAL_PDF_FILEAREA ; } return ( object ) [ 'contextid' => $ contextid , 'component' => 'assignfeedback_editpdf' , 'filearea' => $ filearea , 'itemid' => $ itemid , 'filepath' => '/' , 'filename' => document_services :: COMBINED_PDF_FILENAME , ] ; }
docstring: Helper to fetch the stored_file record.
  
  @param   int $contextid The contextid for the file to be stored under
  @param   int $itemid The itemid for the file to be stored under
  @param   boolean $partial The combined file contains only some of the source files.
  @return  stdClass
docstring_tokens: Helper to fetch the stored_file record .