noalyss Version-10
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
jrn_sup_document_sql.class.php
Go to the documentation of this file.
1<?php
2
3/**
4 * Autogenerated file
5 * This file is part of NOALYSS.
6 *
7 * NOALYSS is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * NOALYSS is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with NOALYSS; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21require_once NOALYSS_INCLUDE . '/lib/data_sql.class.php';
22require_once NOALYSS_INCLUDE . '/class/database.class.php';
23
24/**
25 * @file
26 * @brief abstract of the table public.jrn_sup_document
27 */
28
29/**
30 * @class Jrn_Sup_Document_SQL
31 * @brief abstract of the table public.jrn_sup_document
32 */
34{
35
36 function __construct(Database $p_cn, $p_id = -1)
37 {
38 $this->table = "public.jrn_sup_document";
39 $this->primary_key = "js_id";
40 /*
41 * List of columns
42 */
43 $this->name = array(
44 "js_id" => "js_id"
45 , "js_mimetype" => "js_mimetype"
46 , "js_lob" => "js_lob"
47 , "jr_id" => "jr_id"
48 ,'js_filename'=>'js_filename'
49 ,'js_description'=>'js_description'
50 ,'js_cbc_id'=>'js_cbc_id'
51 );
52
53 /*
54 * Type of columns
55 */
56 $this->type = array(
57 "js_id" => "numeric"
58 , "js_mimetype" => "text"
59 , "js_lob" => "oid"
60 , "jr_id" => "numeric"
61 ,'js_filename'=>'text'
62 ,'js_description'=>'text'
63 ,'js_cbc_id'=>'text'
64 );
65
66 $this->default = array("js_id" => "auto");
67
68 $this->date_format = "DD.MM.YYYY";
69 parent::__construct($p_cn, $p_id);
70 }
71}
$from_poste name
$input_from type
contains the class for connecting to Noalyss
abstract of the table public.jrn_sup_document
__construct(Database $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