Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Public Attributes | List of all members
grade_export_update_buffer Class Reference

This class is used to update the exported field in grade_grades. More...

Public Member Functions

 __construct ()
 Constructor - creates the buffer and initialises the time stamp.
 
 close ()
 Flush and close the buffer.
 
 flush ($buffersize)
 
 grade_export_update_buffer ()
 Old syntax of class constructor. More...
 
 track ($grade_grade)
 Track grade export status. More...
 

Public Attributes

 $export_time
 
 $update_list
 

Detailed Description

This class is used to update the exported field in grade_grades.

It does internal buffering to speedup the db operations.

Member Function Documentation

◆ grade_export_update_buffer()

grade_export_update_buffer::grade_export_update_buffer ( )

Old syntax of class constructor.

Deprecated in PHP7.

Deprecated:
since Moodle 3.1

◆ track()

grade_export_update_buffer::track (   $grade_grade)

Track grade export status.

Parameters
object$grade_grade
Return values
string::$status(unknow, new, regrade, nochange)

The documentation for this class was generated from the following file: