|
@ -160,9 +160,9 @@ function ExportToTableEd($data, $filename, $format) { |
|
|
/// Sending HTTP headers |
|
|
/// Sending HTTP headers |
|
|
$workbook->send($filename); |
|
|
$workbook->send($filename); |
|
|
/// Creating the first worksheet |
|
|
/// Creating the first worksheet |
|
|
$myxls =& $workbook->add_worksheet('Attendances'); |
|
|
$myxls = $workbook->add_worksheet('Attendances'); |
|
|
/// format types |
|
|
/// format types |
|
|
$formatbc =& $workbook->add_format(); |
|
|
$formatbc = $workbook->add_format(); |
|
|
$formatbc->set_bold(1); |
|
|
$formatbc->set_bold(1); |
|
|
|
|
|
|
|
|
$myxls->write(0, 0, get_string('course'), $formatbc); |
|
|
$myxls->write(0, 0, get_string('course'), $formatbc); |
|
|