original_string: protected static function get_missing_file_result($file) {
          $result = new stdClass();
          $result->code = 'file_missing_in_backup';
          $result->message = 'Missing file in backup: ' . $file->filepath  . $file->filename .
                  ' (old context ' . $file->contextid . ', component ' . $file->component .
                  ', filearea ' . $file->filearea . ', old itemid ' . $file->itemid . ')';
          $result->level = backup::LOG_WARNING;
          return $result;
      }
code: protected static function get_missing_file_result($file) {
          $result = new stdClass();
          $result->code = 'file_missing_in_backup';
          $result->message = 'Missing file in backup: ' . $file->filepath  . $file->filename .
                  ' (old context ' . $file->contextid . ', component ' . $file->component .
                  ', filearea ' . $file->filearea . ', old itemid ' . $file->itemid . ')';
          $result->level = backup::LOG_WARNING;
          return $result;
      }
code_tokens: protected static function get_missing_file_result ( $ file ) { $ result = new stdClass ( ) ; $ result -> code = 'file_missing_in_backup' ; $ result -> message = 'Missing file in backup: ' . $ file -> filepath . $ file -> filename . ' (old context ' . $ file -> contextid . ', component ' . $ file -> component . ', filearea ' . $ file -> filearea . ', old itemid ' . $ file -> itemid . ')' ; $ result -> level = backup :: LOG_WARNING ; return $ result ; }
docstring: Returns suitable entry to include in log when there is a missing file.
  
  @param stdClass $file File definition
  @return stdClass Log entry
docstring_tokens: Returns suitable entry to include in log when there is a missing file .