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

Last change on this file was 105639, checked in by p@…, 3 years ago

PSR SPIP

  • Property svn:eol-style set to native
File size: 462 bytes
Line 
1<?php
2
3if (!defined('_ECRIRE_INC_VERSION')) {
4        return;
5}
6
7/**
8 * Action qui va exporter TOUTES les réponses d'un formulaire SPIP
9 */
10function action_exporter_reponses_formidable_dist($arg = null) {
11        if (is_null($arg)) {
12                $securiser_action = charger_fonction('securiser_action', 'inc');
13                $arg = $securiser_action();
14        }
15
16        $exporter_pdf = charger_fonction('exporter_pdf', 'inc');
17        $exporter_pdf('modeles/reponses_formulaires', array('id_formulaire' => $arg));
18}
Note: See TracBrowser for help on using the repository browser.