As nghien_rbc just reported, the library Phpjasperxml not supports many features offering ireport, I recommend that you first make their reports with the basic information and then try ireport in Phpjasperxml library. After work well, starting to test the features they want to add, each time they use a functionality that supports the library Phpjasperxml realize since the page is blank.
anyone who got this working with subreports (sub detail)?
Any idea why i get this errormessage?
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; PHPJasperXML has a deprecated constructor in /Applications/Scriptcase/v9/wwwroot/scriptcase/app/dbREP_WEBapp/ireport/class/PHPJasperXML.inc.php on line 3
Line 3 set the class
class PHPJasperXML {…
I have successfully integrated iReport with my SC applications
Thanks alot, jsbinca
Does anyone know how to export iReport as a Excel (,xlsx) format instead of PDF.
Thanks in advance.
I’ve tried quite a lot. That’s how it worked for me !
BUTTON CODE:
if(!isset($_SESSION[‘report’]))
{
$_SESSION[‘report’]=array(‘host’=>[sc_glo_servidor],‘user’=>[sc_glo_usuario],‘pass’=>sc_decode([sc_glo_senha]),
‘db’=>[sc_glo_banco],‘pdf_query’=>’’,‘xml_file’=>’’);
}
$pdf_query=“SELECT first_name,last_name,email,helyseg FROM felhasznalok”;//sql statement from Jaspersoft Studio
$xml_file="…/reports/wood.jrxml";
$_SESSION[‘report’][‘xml_file’]="…/reports/".$xml_file;
sc_redir(…/reports/index.php);
INDEX.PHP CODE
`<?php
session_start();
include_once(‘class/tcpdf/tcpdf.php’);
include_once(‘class/phpjasperxml/src/PHPJasperXML.inc.php’);
$xml = simplexml_load_file($_SESSION[‘report’][‘xml_file’]); //variable for jrxml file
$PHPJasperXML = new PHPJasperXML();
$PHPJasperXML->arrayParameter=array(‘pdf_query’=>$_SESSION[‘report’][‘pdf_query’]); //variable for sql statement
$PHPJasperXML->xml_dismantle($xml);
$PHPJasperXML->transferDBtoArray($_SESSION[‘report’][‘host’],
$_SESSION[‘report’][‘user’],
$_SESSION[‘report’][‘pass’],
$_SESSION[‘report’][‘db’]);
$PHPJasperXML->outpage(“I”); //page output method I:standard output Download file
?>`
This is really a great discussion but my concern is that is there really any particular way of forming the report?
essay with outline example
It looks like above link is spam