Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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.
 
 track ($grade_grade)
 Track grade export status.
 

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: