noalyss
Version-9
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
include
database
profile_menu_sql.class.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
// Copyright Author Dany De Bontridder danydb@aevalys.eu
21
/**
22
* @file
23
* @brief Manage the table public.profile_menu
24
*
25
*
26
Example
27
@code
28
29
@endcode
30
*/
31
require_once NOALYSS_INCLUDE.
'/lib/ac_common.php'
;
32
33
/**
34
* @brief Manage the table public.profile_menu
35
*/
36
class
Profile_Menu_sql
extends
Table_Data_SQL
37
{
38
39
function
__construct
(&$p_cn,
$p_id
=-1)
40
{
41
$this->
table
=
"public.profile_menu"
;
42
$this->primary_key=
"pm_id"
;
43
44
$this->
name
=array(
45
"pm_id"
=>
"pm_id"
,
"me_code"
=>
"me_code"
46
,
"me_code_dep"
=>
"me_code_dep"
47
,
"p_id"
=>
"p_id"
48
,
"p_order"
=>
"p_order"
49
,
"p_type_display"
=>
"p_type_display"
50
,
"pm_default"
=>
"pm_default"
51
,
"pm_id_dep"
=>
"pm_id_dep"
52
);
53
54
$this->
type
=array(
55
"pm_id"
=>
"number"
,
56
"me_code"
=>
"text"
57
,
"me_code_dep"
=>
"text"
58
,
"p_id"
=>
"number"
59
,
"p_order"
=>
"number"
60
,
"p_type_display"
=>
"text"
61
,
"pm_default"
=>
"text"
62
,
"pm_id_dep"
=>
"number"
63
);
64
65
$this->
default
=array(
66
"pm_id"
=>
"auto"
67
);
68
69
parent::__construct($p_cn,
$p_id
);
70
}
71
72
}
73
74
?>
$p_id
$p_id
Definition
ajax_accounting.php:33
name
$from_poste name
Definition
balance.inc.php:163
type
$input_from type
Definition
balance.inc.php:65
Profile_Menu_sql
Manage the table public.profile_menu.
Definition
profile_menu_sql.class.php:37
Profile_Menu_sql\__construct
__construct(&$p_cn, $p_id=-1)
Definition
profile_menu_sql.class.php:39
Table_Data_SQL
Interface : this wrapper is used to created easily a wrapper to a table (ORM) You must create a class...
Definition
table_data_sql.class.php:90
table
$all table
Definition
company.inc.php:142
Generated on Wed Jun 25 2025 09:57:48 for noalyss by
1.13.2