noalyss Version-9
export_card_pdf.php
Go to the documentation of this file.
1<?php
2/***
3 * @file
4 * @brief output a PDF with card info
5 *
6 */
7try {
8 $http=new \HttpInput();
9 $card_id=$http->get("card_id");
10} catch (\Exception $e) {
11 echo $e->getMessage();
12 die();
13}
14
15$card_pdf=new \Card_PDF($card_id);
16$card_pdf->export();
catch(\Exception $e) $card_pdf
$card_id