-
Notifications
You must be signed in to change notification settings - Fork 24
/
formbuilder_control.php
46 lines (42 loc) · 1.06 KB
/
formbuilder_control.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
##################################################
#
# Copyright (c) 2004-2011 OIC Group, Inc.
# Written and Designed by James Hunt
#
# This file is part of Exponent
#
# Exponent is free software; you can redistribute
# it and/or modify it under the terms of the GNU
# General Public License as published by the Free
# Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# GPL: http://www.gnu.org/licenses/gpl.txt
#
##################################################
if (!defined('EXPONENT')) exit('');
return array(
'id'=>array(
DB_FIELD_TYPE=>DB_DEF_ID,
DB_PRIMARY=>true,
DB_INCREMENT=>true),
'name'=>array(
DB_FIELD_TYPE=>DB_DEF_STRING,
DB_FIELD_LEN=>100),
'caption'=>array(
DB_FIELD_TYPE=>DB_DEF_STRING,
DB_FIELD_LEN=>150),
'form_id'=>array(
DB_FIELD_TYPE=>DB_DEF_ID),
'data'=>array(
DB_FIELD_TYPE=>DB_DEF_STRING,
DB_FIELD_LEN=>1000),
'rank'=>array(
DB_FIELD_TYPE=>DB_DEF_INTEGER),
'is_readonly'=>array(
DB_FIELD_TYPE=>DB_DEF_BOOLEAN),
'is_static'=>array(
DB_FIELD_TYPE=>DB_DEF_BOOLEAN)
);
?>