dbXapp
2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Toggle main menu visibility
Loading...
Searching...
No Matches
shopProductGroupMap.dd.php
Go to the documentation of this file.
1
<?php
2
$table
[
'server'
]=
'dbxShop|dbxShop.db3'
;
3
$table
[
'table'
]=
'shop_product_group_map'
;
4
$table
[
'datadic'
]=
'shopProductGroupMap'
;
5
$table
[
'primary'
]=
'id'
;
6
$table
[
'language'
]=
'0'
;
7
$table
[
'version'
]=
'0.1'
;
8
$table
[
'autosync'
]=
'1'
;
9
$table
[
'cache'
]=
'0'
;
10
$table
[
'trash'
]=
'0'
;
11
$table
[
'trace'
]=
'1'
;
12
$table
[
'default_sort'
]=
'id ASC'
;
13
$table
[
'read'
]=
'admin'
;
14
$table
[
'create'
]=
'admin'
;
15
$table
[
'update'
]=
'admin'
;
16
$table
[
'delete'
]=
'admin'
;
17
18
$addField
=
function
($name, $type,
$index
, $length, $default, $label, $rules, $tpl) use (&
$fields
) {
19
$field
=array();
20
$field
[
'name'
]=$name;
21
$field
[
'type'
]=$type;
22
$field
[
'index'
]=
$index
;
23
$field
[
'length'
]=$length;
24
$field
[
'default'
]=$default;
25
$field
[
'label'
]=$label;
26
$field
[
'rules'
]=$rules;
27
$field
[
'tooltip'
]=
''
;
28
$field
[
'errormsg'
]=
''
;
29
$field
[
'placeholder'
]=
''
;
30
$field
[
'convert'
]=
''
;
31
$field
[
'protect'
]=
'0'
;
32
$field
[
'group'
]=
''
;
33
$field
[
'mask'
]=
''
;
34
$field
[
'data'
]=
''
;
35
$field
[
'options'
]=
''
;
36
$field
[
'tpl'
]=$tpl;
37
$fields
[]=
$field
;
38
};
39
40
$addField
(
'id'
,
'int'
,
'PRI'
,
'11'
,
''
,
'ID'
,
'int'
,
'hidden'
);
41
$addField
(
'product_id'
,
'int'
,
'MUL'
,
'11'
,
'0'
,
'Produkt'
,
'int'
,
'text-label'
);
42
$addField
(
'group_id'
,
'int'
,
'MUL'
,
'11'
,
'0'
,
'Gruppe'
,
'int'
,
'text-label'
);
43
$addField
(
'is_primary'
,
'int'
,
''
,
'1'
,
'0'
,
'Primaere Gruppe'
,
'int'
,
'checkbox-label'
);
44
?>
$table
$table['server']
Definition
.dd.php:6
$index
$index['name']
Definition
.dd.php:162
$fields
$fields[]
Definition
config.dd.php:16
$field
$field
Definition
config.dd.php:4
$addField
$addField
Definition
shopAttributeDefinition.dd.php:18
$addField
$addField
Definition
shopProductGroupMap.dd.php:18
dbx
modules
dbxShop
dd
shopProductGroupMap.dd.php
Generated by
1.17.0