original_string: public function process_assignfeedback_editpdf_files($data) {
          $data = (object)$data;
  
          // In this case the id is the old gradeid which will be mapped.
          $this->add_related_files('assignfeedback_editpdf',
              \assignfeedback_editpdf\document_services::FINAL_PDF_FILEAREA, 'grade', null, $data->gradeid);
          $this->add_related_files('assignfeedback_editpdf',
              \assignfeedback_editpdf\document_services::PAGE_IMAGE_READONLY_FILEAREA, 'grade', null, $data->gradeid);
          $this->add_related_files('assignfeedback_editpdf', 'stamps', 'grade', null, $data->gradeid);
      }
code: public function process_assignfeedback_editpdf_files($data) {
          $data = (object)$data;
  
          // In this case the id is the old gradeid which will be mapped.
          $this->add_related_files('assignfeedback_editpdf',
              \assignfeedback_editpdf\document_services::FINAL_PDF_FILEAREA, 'grade', null, $data->gradeid);
          $this->add_related_files('assignfeedback_editpdf',
              \assignfeedback_editpdf\document_services::PAGE_IMAGE_READONLY_FILEAREA, 'grade', null, $data->gradeid);
          $this->add_related_files('assignfeedback_editpdf', 'stamps', 'grade', null, $data->gradeid);
      }
code_tokens: public function process_assignfeedback_editpdf_files ( $ data ) { $ data = ( object ) $ data ; // In this case the id is the old gradeid which will be mapped. $ this -> add_related_files ( 'assignfeedback_editpdf' , \ assignfeedback_editpdf \ document_services :: FINAL_PDF_FILEAREA , 'grade' , null , $ data -> gradeid ) ; $ this -> add_related_files ( 'assignfeedback_editpdf' , \ assignfeedback_editpdf \ document_services :: PAGE_IMAGE_READONLY_FILEAREA , 'grade' , null , $ data -> gradeid ) ; $ this -> add_related_files ( 'assignfeedback_editpdf' , 'stamps' , 'grade' , null , $ data -> gradeid ) ; }
docstring: Processes one feedback_editpdf_files element
  @param mixed $data
docstring_tokens: Processes one feedback_editpdf_files element