Get values of filters selection

jo-ka

Member
Hello.
I use to work with PHPJasperXML to create PDF Reports, because it's more flexible.

Now I'll need to create a new report, but I need to use the filters on the WHERE clause of the SQL query, used to build the JasperXML report.

Is there a way to get the ids of these filter values, in order to use it on my Where clause?

Thanks in advance.

upload_2020-9-22_9-41-9.png
 
I think filters are in the list model->filters (e.g. in php-events you can get them with $model->filters resp. $model->filters['your-element-id'])
Use dump/var_dump to see what is in there.
 
I think filters are in the list model->filters (e.g. in php-events you can get them with $model->filters resp. $model->filters['your-element-id'])
Use dump/var_dump to see what is in there.
Thanks troester.

This has been very useful!
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top