Since this extension took too much of my time, i stopped the development, so i'm sorry to say that i almost didn't do anything more to improve it.
IMPORTANT Info: I've developed this extension in my work to help me to generate PDF Reports, if you want to help me, i appreciate!
Yii 1.1.5 is required Jasper Reports
What have in this extension
FDPF lib (http://www.fpdf.org/) Xml2Pdf lib (http://www.geelweb.org)
In your protected/config/main.php config file, add the following to the file:
'import' => array( ... 'ext.JasPHP.*', ), 'components' => array( ... 'jasPHP' => array( 'class' => 'JasPHP', ), ),
That's all you have to do for setup. You can use like this. Example:
Yii::app()->jasPHP->create(getcwd() . '/reports/', 'reportName.jrxml', array('parameter1' => $parameter1,), array('property1' => $property1,));
- $reportDir: the report directory
- $reportName: the report file name
- $parameters: all the parameters that you need
- $config: all the configs that you need
There isn't yet...=/