print.php 467 Bytes
Newer Older
Marc Egger's avatar
Marc Egger committed
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
/**
 * Created by PhpStorm.
 * User: ep
 * Date: 12/23/15
 * Time: 6:17 PM
 */


namespace IMATHUZH\Qfq\Api;

require_once(__DIR__ . '/../../vendor/autoload.php');

14
use IMATHUZH\Qfq\Core\Helper\Path;
Marc Egger's avatar
Marc Egger committed
15
use IMATHUZH\Qfq\Core\Report\Html2Pdf;
16
use IMATHUZH\Qfq\Core\Store\Config;
Marc Egger's avatar
Marc Egger committed
17

18

Marc Egger's avatar
Marc Egger committed
19
20
21
22
/**
 * Main
 */
try {
23
    $html2pdf = new Html2Pdf(Config::getConfigArray());
Marc Egger's avatar
Marc Egger committed
24
25
26
27
28
29

    $html2pdf->outputHtml2Pdf();

} catch (\Exception $e) {
    echo "Exception: " . $e->getMessage();
}