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.

(no description)

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

Defines 1 class

csv_entries_exporter:: (3 methods):
  get_data_file_content()
  get_export_data_file_extension()
  set_delimiter_name()


Class: csv_entries_exporter  - X-Ref

CSV entries exporter for mod_data.

get_data_file_content()   X-Ref
Returns the csv data exported by the csv_export_writer for further handling.


get_export_data_file_extension()   X-Ref
Returns the file extension of this entries exporter.


set_delimiter_name(string $delimitername)   X-Ref
Setter for the delimiter name which should be used in this csv_entries_exporter object.

Calling this setter is optional, the delimiter name defaults to 'comma'.

param: string $delimitername one of 'comma', 'tab', 'semicolon', 'colon' or 'cfg'
return: void