-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.php
31 lines (22 loc) · 670 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* This file is part of the PHPJasper/phpjasper
* @author Daniel Rodrigues Lima (geekcom)
*/
require __DIR__ . '/vendor/autoload.php';
use Examples\Examples;
$examples = new Examples;
//Compile jrxml into .jasper
$examples->compileExample();
//Process file .jrxml or .jasper
$examples->processExample();
//List Parameters-> .jrxml or .jasper
$examples->listParametersExample();
//Generate reports from XML file
$examples->XMLExample();
//Generate reports from a JSON file
$examples->JsonExample();
//Generate reports from a database
//$examples->DbExample();
//Generate reports from a database with subreports
//$examples->DbExampleWithSubReport();