Hey Guys,
In order for Koolreport to fit within our business logic, it currently generates and runs a report in-line by instantiating an object of type PDODatasource configured to a database connecting that may be different depending on who's logging in (so not hardcoded DB connection values).
We essentially generate the connection, render the report and then retrieve the HTML generated by the report to use - we need the assets to be read in from another public directory that lives elsewhere on our network.
I've seen the documents and can see calling function settings() is the way you recommend, but you have to extend from class \Koolreport - as our code is in-line we don't have a class that handles Koolreport settings or setup.
How would you suggest we go about defining Assets without overloading the function settings()? Or is there another way to define assets?
Thanks.