source: spip-zone/_plugins_/dompdf/trunk/action/exporter_reponse_formidable.php

Last change on this file was 105639, checked in by p@…, 19 months ago

PSR SPIP

  • Property svn:eol-style set to native
File size: 431 bytes
Line 
1<?php
2
3if (!defined('_ECRIRE_INC_VERSION')) {
4        return;
5}
6
7// Exporte UNE réponse de formidable
8function action_exporter_reponse_formidable_dist($arg = null) {
9        if (is_null($arg)) {
10                $securiser_action = charger_fonction('securiser_action', 'inc');
11                $arg = $securiser_action();
12        }
13
14        $exporter_pdf = charger_fonction('exporter_pdf', 'inc');
15        $exporter_pdf('modeles/formulaires_reponse', array('id_formulaires_reponse' => $arg));
16}
Note: See TracBrowser for help on using the repository browser.