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,
        ];
    }
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,
        ];
    }
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 , ] ; }
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
Helper to fetch the stored_file record .