Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 402 and 403]

(no description)

File Size: 85 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WorkbookManager:: (4 methods):
  __construct()
  getMaxRowsPerWorksheet()
  closeRemainingObjects()
  writeAllFilesToDiskAndZipThem()


Class: WorkbookManager  - X-Ref


__construct(Workbook $workbook,Options $options,WorksheetManager $worksheetManager,StyleManager $styleManager,StyleMerger $styleMerger,FileSystemHelper $fileSystemHelper)   X-Ref
Maximum number of rows a XLSX sheet can contain.


getMaxRowsPerWorksheet()   X-Ref

return: int Maximum number of rows/columns a sheet can contain

closeRemainingObjects()   X-Ref
Closes custom objects that are still opened.


writeAllFilesToDiskAndZipThem($finalFilePointer)   X-Ref
Writes all the necessary files to disk and zip them together to create the final file.

param: resource $finalFilePointer Pointer to the spreadsheet that will be created