Moodle  2.2.1
http://www.collinsharper.com
grade_export_txt Class Reference
Inheritance diagram for grade_export_txt:
Collaboration diagram for grade_export_txt:

Public Member Functions

 grade_export_txt ($course, $groupid=0, $itemlist='', $export_feedback=false, $updatedgradesonly=false, $displaytype=GRADE_DISPLAY_TYPE_REAL, $decimalpoints=2, $separator='comma')
 __construct ($course, $groupid=0, $itemlist='', $export_feedback=false, $updatedgradesonly=false, $displaytype=GRADE_DISPLAY_TYPE_REAL, $decimalpoints=2, $separator='comma')
 get_export_params ()
 print_grades ()

Data Fields

 $plugin = 'txt'
 $separator

Detailed Description

Definition at line 20 of file grade_export_txt.php.


Constructor & Destructor Documentation

__construct ( course,
groupid = 0,
itemlist = '',
export_feedback = false,
updatedgradesonly = false,
displaytype = GRADE_DISPLAY_TYPE_REAL,
decimalpoints = 2,
separator = 'comma' 
)

Definition at line 31 of file grade_export_txt.php.


Member Function Documentation

Returns array of parameters used by dump.php and export.php.

Returns:
array

Reimplemented from grade_export.

Definition at line 36 of file grade_export_txt.php.

grade_export_txt ( course,
groupid = 0,
itemlist = '',
export_feedback = false,
updatedgradesonly = false,
displaytype = GRADE_DISPLAY_TYPE_REAL,
decimalpoints = 2,
separator = 'comma' 
)

Definition at line 26 of file grade_export_txt.php.

Here is the call graph for this function:

Implemented by child class

Print header to force download

Print names of all the fields

add a feedback column

Print all the lines of data.

Reimplemented from grade_export.

Definition at line 42 of file grade_export_txt.php.

Here is the call graph for this function:


Field Documentation

$plugin = 'txt'

Reimplemented from grade_export.

Definition at line 22 of file grade_export_txt.php.

$separator

Definition at line 24 of file grade_export_txt.php.


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