noalyss
Version-9
include
payment_middle.inc.php
Go to the documentation of this file.
1
<?php
2
/*
3
* This file is part of NOALYSS.
4
*
5
* NOALYSS is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* NOALYSS is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with NOALYSS; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*/
19
20
// Copyright Author Dany De Bontridder danydb@aevalys.eu
21
if
( ! defined (
'ALLOWED'
) ) die(
'Appel direct ne sont pas permis'
);
22
23
require_once NOALYSS_INCLUDE.
"/database/payment_method_sql.class.php"
;
24
25
$payment_method_sql
=
new
Payment_method_SQL
(
$cn
);
26
$payment_method_mtable
=
new
Payment_Method_MTable
(
$payment_method_sql
);
27
28
$payment_method_mtable
->add_json_param(
"op"
,
"payment_method"
);
29
$payment_method_mtable
->set_callback(
"ajax_misc.php"
);
30
$payment_method_mtable
->create_js_script();
31
32
echo
$payment_method_mtable
->display_table();
$cn
$cn
Definition:
ajax_anc_accounting.php:30
Payment_Method_MTable
Manage the Payment method.
Definition:
payment_method_mtable.class.php:36
Payment_method_SQL
abstract of the table public.payment_method
Definition:
payment_method_sql.class.php:31
$payment_method_mtable
$payment_method_mtable
Definition:
payment_middle.inc.php:26
$payment_method_sql
$payment_method_sql
Definition:
payment_middle.inc.php:25