dbXapp
2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Toggle main menu visibility
Loading...
Searching...
No Matches
shopProductChannelGroupMap.dd.php
Go to the documentation of this file.
1
<?php
2
$table
[
'server'
]=
'dbxShop|dbxShop.db3'
;
3
$table
[
'table'
]=
'shop_product_channel_group_map'
;
4
$table
[
'datadic'
]=
'shopProductChannelGroupMap'
;
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'
]=
'*'
;
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(
'name'
=>$name,
'type'
=>$type,
'index'
=>
$index
,
'length'
=>$length,
'default'
=>$default,
'label'
=>$label,
'rules'
=>$rules,
'tooltip'
=>
''
,
'errormsg'
=>
''
,
'placeholder'
=>
''
,
'convert'
=>
''
,
'protect'
=>
'0'
,
'group'
=>
''
,
'mask'
=>
''
,
'data'
=>
''
,
'options'
=>
''
,
'tpl'
=>$tpl);
20
$fields
[]=
$field
;
21
};
22
$addField
(
'id'
,
'int'
,
'PRI'
,
'11'
,
''
,
'ID'
,
'int'
,
'hidden'
);
23
$addField
(
'product_id'
,
'int'
,
'MUL'
,
'11'
,
'0'
,
'Artikel'
,
'int'
,
'text-label'
);
24
$addField
(
'channel_group_id'
,
'int'
,
'MUL'
,
'11'
,
'0'
,
'Channel-Gruppe'
,
'int'
,
'text-label'
);
25
$addField
(
'is_primary'
,
'int'
,
''
,
'1'
,
'0'
,
'Primaer'
,
'int'
,
'checkbox-label'
);
26
?>
$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
shopProductChannelGroupMap.dd.php:18
dbx
modules
dbxShop
dd
shopProductChannelGroupMap.dd.php
Generated by
1.17.0