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;
    }
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;
    }
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 ; }
Returns suitable entry to include in log when there is a missing file.

@param stdClass $file File definition
@return stdClass Log entry
Returns suitable entry to include in log when there is a missing file .