Platform
3.1
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
Class.ParamDef.php
Go to the documentation of this file.
1
<?php
2
/*
3
* @author Anakeen
4
* @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5
* @package FDL
6
*/
7
/**
8
* Generated Header (not documented yet)
9
*
10
* @author Anakeen 2000
11
* @version $Id: Class.ParamDef.php,v 1.4 2005/10/31 11:52:17 eric Exp $
12
* @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13
* @package FDL
14
* @subpackage CORE
15
*/
16
/**
17
*/
18
// ---------------------------------------------------------------------------
19
// Param
20
// ---------------------------------------------------------------------------
21
// Anakeen 2000 - yannick.lebriquer@anakeen.com
22
// ---------------------------------------------------------------------------
23
// This program is free software; you can redistribute it and/or modify
24
// it under the terms of the GNU General Public License as published by
25
// the Free Software Foundation; either version 2 of the License, or (at
26
// your option) any later version.
27
//
28
// This program is distributed in the hope that it will be useful, but
29
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
30
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
31
// for more details.
32
//
33
// You should have received a copy of the GNU General Public License along
34
// with this program; if not, write to the Free Software Foundation, Inc.,
35
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
36
// ---------------------------------------------------------------------------
37
// $Id: Class.ParamDef.php,v 1.4 2005/10/31 11:52:17 eric Exp $
38
//
39
include_once (
'Class.Log.php'
);
40
include_once (
'Class.DbObj.php'
);
41
42
$CLASS_PARAMDEF_PHP
=
'$Id: Class.ParamDef.php,v 1.4 2005/10/31 11:52:17 eric Exp $'
;
43
44
class
ParamDef
extends
DbObj
45
{
46
var
$fields
= array(
47
"name"
,
48
"isuser"
,
49
"isstyle"
,
50
"isglob"
,
51
"appid"
,
52
"descr"
,
53
"kind"
54
);
55
56
var
$id_fields
= array(
57
"name"
58
);
59
60
var
$dbtable
=
"paramdef"
;
61
62
var
$sqlcreate
=
'
63
create table paramdef (
64
name text,
65
isuser varchar(1),
66
isstyle varchar(1),
67
isglob varchar(1),
68
appid int4,
69
descr text,
70
kind text);
71
create unique index paramdef_idx1 on paramdef(name);
72
'
;
73
}
74
?>
← centre documentaire
© anakeen
- published under
CC License
-
Dynacase