Add export data to csv PHP class.