Silla.IO
Silla.IO copied to clipboard
Add export hooks for each data field within Base\Resource
Any ideas how to implement this?
What about magic __call()
for example
function export_created_on() {}
function export_updated_on() {}
function export_name() {}
...
@kalins ?
I've found a better solution.
What about adding HTML support to the generated export and run the list
view for each entity attribute? This will reuse all the code used for the listing in the data tables.
This approach will be useful for the PDF export, but for the CSV, maybe we should keep the raw DB data.