Documentation/Index/ReportExporter: IReportExporterPlugin.inc

Plik IReportExporterPlugin.inc, 625 bytes (dodany przez TS, 10 years temu)
xx
Line 
1<?php
2
3/**
4 * IReportExporterPlugin
5 *
6 * @author Tomasz Świenty
7 * @version 0.1
8 * @copyright Copyright (c) BetaSoft
9 */
10interface IReportExporterPlugin {
11
12
13
14    /**
15     * getName
16     * Metoda zwraca nazwę eksportera
17     *
18     * Przykład retrun Translator::translate('Paczka ZIP');
19     *
20     * @return string
21     */
22    public function getName();
23
24
25
26    /**
27     * export
28     * Wykonuje właściwy eksport i zwraca wynik jako string np. link do pobrania paczki zip etc
29     *
30     * @param array $params
31     * @return string
32     */
33    public function export($params);
34
35} // interface IReportExporterPlugin
36
37?>