public function createReportBuilder($resourceUri, $getICFrom = null) {
        //Set the input options source
        $getICFrom = $getICFrom ?: $this->defaultInputOptionsSource;

        //Get the options handler from the dependency container
        $optionsHandler = $this->container->get($this->optionHandlerServiceName);

        //Create a new input control factory
        $icFactory = new InputControlFactory($optionsHandler, $getICFrom, 'Mesd\Jasper\ReportBundle\InputControl\\');

        //Get the report builder started from the client
        $reportBuilder = $this->jasperClient->createReportBuilder($resourceUri, $getICFrom, $icFactory);

        //Set the stuff from the bundle configuration
        $reportBuilder->setReportCache($this->reportCacheDir);

        //return the report builder
        return $reportBuilder;
    }
public function createReportBuilder($resourceUri, $getICFrom = null) {
        //Set the input options source
        $getICFrom = $getICFrom ?: $this->defaultInputOptionsSource;

        //Get the options handler from the dependency container
        $optionsHandler = $this->container->get($this->optionHandlerServiceName);

        //Create a new input control factory
        $icFactory = new InputControlFactory($optionsHandler, $getICFrom, 'Mesd\Jasper\ReportBundle\InputControl\\');

        //Get the report builder started from the client
        $reportBuilder = $this->jasperClient->createReportBuilder($resourceUri, $getICFrom, $icFactory);

        //Set the stuff from the bundle configuration
        $reportBuilder->setReportCache($this->reportCacheDir);

        //return the report builder
        return $reportBuilder;
    }
public function createReportBuilder ( $ resourceUri , $ getICFrom = null ) { //Set the input options source $ getICFrom = $ getICFrom ? : $ this -> defaultInputOptionsSource ; //Get the options handler from the dependency container $ optionsHandler = $ this -> container -> get ( $ this -> optionHandlerServiceName ) ; //Create a new input control factory $ icFactory = new InputControlFactory ( $ optionsHandler , $ getICFrom , 'Mesd\Jasper\ReportBundle\InputControl\\' ) ; //Get the report builder started from the client $ reportBuilder = $ this -> jasperClient -> createReportBuilder ( $ resourceUri , $ getICFrom , $ icFactory ) ; //Set the stuff from the bundle configuration $ reportBuilder -> setReportCache ( $ this -> reportCacheDir ) ; //return the report builder return $ reportBuilder ; }
Creates a new report builder object with some of the bundle configuration passed in

@param string  $resourceUri Uri of the report on the jasper server
@param string  $getICFrom   Where to get the input control options from, else the default will be used

@return FormBuilder         The form builder
Creates a new report builder object with some of the bundle configuration passed in