pippinsplugins/Easy-Digital-Downloads — pull request #850 by pippinsplugins (2013-02-06 23:42:52+00:00)
Title: New Export Classes

Up until now, the export system in EDD was pretty messy. It was comprised of various functions that had been cobbled together without any consistency. Each of the functions did their own CSV generation and were overly complex and difficult to read / follow. It was also tedious to setup new export methods.

This introduces the new `EDD_Export` class that handles all of the heavy lifting for the CSV generation, permission checks, setting headers, etc.

Each of the export options (Customers, payments, file downloads) extends the base class, primarily in order to set up the way the data is retrieved for each.

In the future, we will implement methods to control date range exports and other export options (product specific perhaps).