How to create and download a CSV file in Moodle/Totara
First, include the “csvlib.class.php” file: require_once ($CFG->libdir . ‘/csvlib.class.php’); Now, call the constructor of the csv_export_writer class: $exportcsv = new
Continue readingFirst, include the “csvlib.class.php” file: require_once ($CFG->libdir . ‘/csvlib.class.php’); Now, call the constructor of the csv_export_writer class: $exportcsv = new
Continue readingWhat is the “Class NOT FOUND” exception: From the name of this exception, we can understand when your created class
Continue reading