src/Jaspersoft/Service/ReportService.php
public function getInputControlStructure($uri) {
        $url = $this->service_url . '/reports' . $uri . '/inputControls';
        $data = $this->service->prepAndSend($url, array(200, 204), 'GET', null, true);

        if (empty($data)) {
            return array();
        }

        $json_obj = json_decode($data);

        $result = array();
        foreach ($json_obj->inputControl as $control) {
            $result[] = InputControl::createFromJSON($control);
        }
        return $result;
    }
public function getInputControlStructure($uri) {
        $url = $this->service_url . '/reports' . $uri . '/inputControls';
        $data = $this->service->prepAndSend($url, array(200, 204), 'GET', null, true);

        if (empty($data)) {
            return array();
        }

        $json_obj = json_decode($data);

        $result = array();
        foreach ($json_obj->inputControl as $control) {
            $result[] = InputControl::createFromJSON($control);
        }
        return $result;
    }
public function getInputControlStructure ( $ uri ) { $ url = $ this -> service_url . '/reports' . $ uri . '/inputControls' ; $ data = $ this -> service -> prepAndSend ( $ url , array ( 200 , 204 ) , 'GET' , null , true ) ; if ( empty ( $ data ) ) { return array ( ) ; } $ json_obj = json_decode ( $ data ) ; $ result = array ( ) ; foreach ( $ json_obj -> inputControl as $ control ) { $ result [ ] = InputControl :: createFromJSON ( $ control ) ; } return $ result ; }
Returns a set of InputControl objects defining input controls for a report

@param string $uri Report to obtain structure from
@return array
Returns a set of InputControl objects defining input controls for a report