I am having a bunch of really irratic problems using PHP to access report Parameters. I am hoping that someone out there has a sample that actually works?
I am running the latest version of the library (just downloaded from Git). When I try to get the InputControls (JUST A LIST - not working with the controls yet), I get two errors:
NOTICE: Trying to get property of non-object in [blah blah/jrs-rest-php-client-master/src/Jaspersoft/Service/ReportService.php on line 58
WARNING: Invalid argument supplied for foreach() in [blah blah]/jrs-rest-php-client-master/src/Jaspersoft/Service/ReportService.php on line 58
I have NOT made any changes to the above Jaspersoft module.
*MY* code looks like the following.
$c = new Client ("MYIP", "MYACCT", "MYPSWD", "");
$input_controls = $c->reportService()->getReportInputControls ("REPORTNAME"):
Any and all suggestions would be greatly appreciated.