noalyss Version-9
menu_ref_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/**
23 * @file
24 * @brief Manage the table public.menu_ref
25 *
26 *
27 */
28require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
29
30/**
31 * @class Menu_Ref_SQL
32 * @brief ORM Manage the table public.menu_ref
33 */
35{
36
37 function __construct(DatabaseCore &$p_cn, $p_id=-1)
38 {
39 $this->table="public.menu_ref";
40 $this->primary_key="me_code";
41 $this->name=array(
42 "me_code"=>"me_code"
43 , "me_menu"=>"me_menu"
44 , "me_file"=>"me_file"
45 , "me_url"=>"me_url"
46 , "me_description"=>"me_description"
47 , "me_parameter"=>"me_parameter"
48 , "me_javascript"=>"me_javascript"
49 , "me_type"=>"me_type"
50 , 'me_description_etendue'=>'me_description_etendue'
51 );
52 $this->type=array(
53 "me_code"=>"text"
54 , "me_menu"=>"text"
55 , "me_file"=>"text"
56 , "me_url"=>"text"
57 , "me_description"=>"text"
58 , "me_parameter"=>"text"
59 , "me_javascript"=>"text"
60 , "me_type"=>"text"
61 , "me_description_etendue"=>"text"
62 );
63 parent::__construct($p_cn, $p_id);
64 }
65
66}
67
68?>
$from_poste name
$input_from type
Definition: balance.inc.php:65
This class allow you to connect to the postgresql database, execute sql, retrieve data.
ORM Manage the table public.menu_ref.
__construct(DatabaseCore &$p_cn, $p_id=-1)
Interface : this wrapper is used to created easily a wrapper to a table (ORM) You must create a class...
$all table