noalyss
Version-6.9.1.8
Main Page
Related Pages
Packages
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
include
database
class_default_menu_sql.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
// Copyright Author Dany De Bontridder danydb@aevalys.eu
20
21
/**
22
* Description of class_default_menu_sql
23
*
24
* @author dany
25
*/
26
require_once NOALYSS_INCLUDE.
'/database/class_noalyss_sql.php'
;
27
28
class
Default_Menu_SQL
extends
Noalyss_SQL
29
{
30
var
$md_id
;
31
var
$md_code
;
32
var
$me_code
;
33
34
function
__construct
(&$p_cn,
$p_id
= -1)
35
{
36
$this->
table
=
"public.menu_default"
;
37
$this->primary_key =
"md_id"
;
38
39
$this->
name
= array(
40
"md_id"
=>
"md_id"
,
41
"md_code"
=>
"md_code"
,
42
"me_code"
=>
"me_code"
43
);
44
$this->
type
= array(
45
"md_id"
=>
"md_id"
46
,
"md_code"
=>
"text"
47
,
"me_code"
=>
"text"
48
);
49
$this->
default
= array(
50
"md_id"
51
);
52
global
$cn
;
53
54
parent::__construct($cn,
$p_id
);
55
}
56
57
}
Noalyss_SQL
Match a table into an object, you need to add the code for each table.
Definition:
class_noalyss_sql.php:72
Default_Menu_SQL
Description of class_default_menu_sql.
Definition:
class_default_menu_sql.php:28
$cn
$cn
Definition:
ajax_auto_anc_card.php:8
Default_Menu_SQL\$md_id
$md_id
Definition:
class_default_menu_sql.php:30
name
$from_poste name
Definition:
balance.inc.php:151
Default_Menu_SQL\$md_code
$md_code
Definition:
class_default_menu_sql.php:31
Default_Menu_SQL\__construct
__construct(&$p_cn, $p_id=-1)
Definition:
class_default_menu_sql.php:34
$p_id
$p_id
Definition:
ajax_display_submenu.php:36
type
$input_from type
Definition:
balance.inc.php:70
Default_Menu_SQL\$me_code
$me_code
Definition:
class_default_menu_sql.php:32
table
$select_type table
Definition:
card_attr.inc.php:69