noalyss
Version-9
include
cfg_action.inc.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
* This file is part of NOALYSS.
5
*
6
* NOALYSS 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
* NOALYSS 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 NOALYSS; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
*/
20
21
// Copyright Author Dany De Bontridder danydb@aevalys.eu
22
23
/*!\file
24
* \brief this file is included to perform modification on category of document (= action)
25
* table document_type
26
*/
27
28
// show list of document
29
if
(!defined(
'ALLOWED'
)) die(
'Appel direct ne sont pas permis'
);
30
echo
'<div class="content">'
;
31
$doc_type
=
new
Document_type_SQL
(
$cn
);
32
$action_document_type
=
new
Action_Document_Type_MTable
(
$doc_type
);
33
34
$action_document_type
->set_callback(
"ajax_misc.php"
);
35
$action_document_type
->add_json_param(
"op"
,
"cfgaction"
);
36
37
$action_document_type
->create_js_script();
38
$action_document_type
->display_table(
"order by dt_value"
);
39
?>
40
</div>
41
42
43
$cn
$cn
Definition:
ajax_anc_accounting.php:30
$action_document_type
$action_document_type
Definition:
cfg_action.inc.php:32
$doc_type
$doc_type
Definition:
cfg_action.inc.php:31
Action_Document_Type_MTable
display , modify and add document_type for follow up
Definition:
action_document_type_mtable.class.php:35
Document_type_SQL
abstract of the table public.document_type
Definition:
document_type_sql.class.php:34