src/Jaspersoft/Service/ReportService.php
public function updateInputControls($uri, array $parameters)
    {
        $url = $this->service_url . '/reports' . $uri . '/inputControls';
        $response = $this->service->prepAndSend($url, array(200), 'POST', json_encode($parameters), true);

        $json_obj = json_decode($response);
        $result = array();
        foreach ($json_obj->inputControl as $control) {
            $result[] = InputControl::createFromJSON($control);
        }
        return $result;
    }
public function updateInputControls($uri, array $parameters)
    {
        $url = $this->service_url . '/reports' . $uri . '/inputControls';
        $response = $this->service->prepAndSend($url, array(200), 'POST', json_encode($parameters), true);

        $json_obj = json_decode($response);
        $result = array();
        foreach ($json_obj->inputControl as $control) {
            $result[] = InputControl::createFromJSON($control);
        }
        return $result;
    }
public function updateInputControls ( $ uri , array $ parameters ) { $ url = $ this -> service_url . '/reports' . $ uri . '/inputControls' ; $ response = $ this -> service -> prepAndSend ( $ url , array ( 200 ) , 'POST' , json_encode ( $ parameters ) , true ) ; $ json_obj = json_decode ( $ response ) ; $ result = array ( ) ; foreach ( $ json_obj -> inputControl as $ control ) { $ result [ ] = InputControl :: createFromJSON ( $ control ) ; } return $ result ; }
Update the values of a report's input controls, and obtain the new structure as a result

@param string $uri
@param array $parameters Set of parameters in format: array("id" => array("value"), "id2" => array("value2"));
@return array Set of InputControl objects
Update the values of a report s input controls and obtain the new structure as a result