dbXapp
2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Toggle main menu visibility
Loading...
Searching...
No Matches
shopProductChannel.dd.php
Go to the documentation of this file.
1
<?php
2
$table
[
'server'
]=
'dbxShop|dbxShop.db3'
;
3
$table
[
'table'
]=
'shop_product_channel'
;
4
$table
[
'datadic'
]=
'shopProductChannel'
;
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'
]=
'channel_key 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, $extra = array()) 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'
]=$extra[
'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
(
'channel_key'
,
'varchar'
,
'MUL'
,
'80'
,
''
,
'Channel'
,
'parameter|max=80'
,
'text-label'
);
43
$addField
(
'active'
,
'int'
,
'MUL'
,
'1'
,
'1'
,
'Aktiv'
,
'int'
,
'checkbox-label'
);
44
$addField
(
'channel_sku'
,
'varchar'
,
''
,
'120'
,
''
,
'Channel-SKU'
,
'parameter|max=120'
,
'text-label'
);
45
$addField
(
'price_gross'
,
'decimal'
,
''
,
'10,2'
,
'-1'
,
'Channel-Preis brutto'
,
'number'
,
'text-label'
);
46
$addField
(
'shipping_gross'
,
'decimal'
,
''
,
'10,2'
,
'-1'
,
'Channel-Versand brutto'
,
'number'
,
'text-label'
);
47
$addField
(
'external_listing_id'
,
'varchar'
,
'MUL'
,
'180'
,
''
,
'Externe Listing-ID'
,
'text|max=180'
,
'text-label'
);
48
$addField
(
'external_offer_id'
,
'varchar'
,
'MUL'
,
'180'
,
''
,
'Externe Offer-ID'
,
'text|max=180'
,
'text-label'
);
49
$addField
(
'export_status'
,
'varchar'
,
'MUL'
,
'40'
,
''
,
'Exportstatus'
,
'parameter|max=40'
,
'text-label'
);
50
$addField
(
'export_message'
,
'mediumtext'
,
''
,
'-1'
,
''
,
'Exportmeldung'
,
'*|max=5000'
,
'textarea-label'
,array(
'data'
=>
'rows=4'
));
51
$addField
(
'export_payload'
,
'mediumtext'
,
''
,
'-1'
,
''
,
'Exportdaten'
,
'*'
,
'textarea-label'
,array(
'data'
=>
'rows=6'
));
52
$addField
(
'last_export_date'
,
'datetime'
,
'MUL'
,
'-1'
,
''
,
'Letzter Export'
,
'datetime'
,
'text-label'
,array(
'convert'
=>
'date_time'
));
53
$addField
(
'note'
,
'mediumtext'
,
''
,
'-1'
,
''
,
'Notiz'
,
'*|max=2000'
,
'textarea-label'
,array(
'data'
=>
'rows=4'
));
54
?>
$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
shopProductChannel.dd.php:18
dbx
modules
dbxShop
dd
shopProductChannel.dd.php
Generated by
1.17.0