Plugins
LAST
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Pages
import_account
include
imd_export.inc.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
* This file is part of PhpCompta.
5
*
6
* PhpCompta is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* PhpCompta is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with PhpCompta; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
*/
20
// Copyright (2014) Author Dany De Bontridder <dany@alchimerys.be>
21
22
if
(!defined(
'ALLOWED'
))
23
die(
'Appel direct ne sont pas permis'
);
24
require_once DIR_IMPORT_ACCOUNT.
'/include/class_impacc_export.php'
;
25
/**
26
* @file
27
* @brief Export operation from NOALYSS
28
*/
29
30
/// Step 1 : ask for date + ledger
31
$export
=
new
Impacc_Export_CSV
();
32
$export
->input_param();
33
34
/// Step 2 : export a CSV file
35
$export_param
=HtmlInput::default_value_get(
"export_operation"
,
"none"
);
36
if
(
$export_param
!=
"none"
)
37
{
38
$export
->get_param();
39
$export
->export_csv();
40
}
41
42
?>
$export
$export
Step 1 : ask for date + ledger.
Definition:
imd_export.inc.php:31
$export_param
$export_param
Step 2 : export a CSV file.
Definition:
imd_export.inc.php:35
Impacc_Export_CSV
Definition:
class_impacc_export.php:28
Generated on Wed Feb 1 2017 23:19:24 for Plugins by
1.8.6