Karmabunny / sprout3

SproutCMS: content management and framework
http://getsproutcms.com
GNU General Public License v2.0
24 stars 3 forks source link

Feat/better exports #54

Closed gwillz closed 2 years ago

gwillz commented 2 years ago

Some attempts to reduce the memory footprint for exports.

Basically introduces csvFile() and xmlFile() helpers to write data directly to a file or stdout instead of in-memory. The existing helpers then wrap that to reduce duplicate code. Also csv() gets better escapes for freeeee.