Moodle  2.2.1
http://www.collinsharper.com
grade_export_update_buffer Class Reference

Public Member Functions

 grade_export_update_buffer ()
 flush ($buffersize)
 track ($grade_grade)
 close ()

Data Fields

 $update_list
 $export_time

Detailed Description

This class is used to update the exported field in grade_grades. It does internal buffering to speedup the db operations.

Definition at line 335 of file lib.php.


Member Function Documentation

close ( )

Flush and close the buffer.

Definition at line 396 of file lib.php.

Here is the call graph for this function:

flush ( buffersize)

Definition at line 347 of file lib.php.

Here is the caller graph for this function:

Constructor - creates the buffer and initialises the time stamp

Definition at line 342 of file lib.php.

track ( grade_grade)

Track grade export status

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

Definition at line 365 of file lib.php.

Here is the call graph for this function:


Field Documentation

$export_time

Definition at line 337 of file lib.php.

$update_list

Definition at line 336 of file lib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations