dbXapp
2.0
RAD, CMS, Module und Runtime-IDE fuer dbXapp
Toggle main menu visibility
Loading...
Searching...
No Matches
shopChannel.dd.php
Go to the documentation of this file.
1
<?php
2
$table
[
'server'
]=
'dbxShop|dbxShop.db3'
;
3
$table
[
'table'
]=
'shop_channel'
;
4
$table
[
'datadic'
]=
'shopChannel'
;
5
$table
[
'primary'
]=
'id'
;
6
$table
[
'language'
]=
'0'
;
7
$table
[
'version'
]=
'0.1'
;
8
$table
[
'autosync'
]=
'1'
;
9
$table
[
'cache'
]=
'0'
;
10
$table
[
'trash'
]=
'1'
;
11
$table
[
'trace'
]=
'1'
;
12
$table
[
'default_sort'
]=
'sorter ASC, title 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, $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'
]=
''
;
35
$field
[
'options'
]=$extra[
'options'
] ??
''
;
36
$field
[
'tpl'
]=$tpl;
37
$fields
[]=
$field
;
38
};
39
40
$addField
(
'id'
,
'int'
,
'PRI'
,
'11'
,
''
,
'ID'
,
'int'
,
'hidden'
);
41
$addField
(
'create_date'
,
'datetime'
,
''
,
'-1'
,
''
,
'Erstellt'
,
'datetime'
,
'hidden'
,array(
'convert'
=>
'date_time'
));
42
$addField
(
'create_uid'
,
'int'
,
''
,
'11'
,
'0'
,
'Erstellt von'
,
'int'
,
'hidden'
);
43
$addField
(
'update_date'
,
'datetime'
,
''
,
'-1'
,
''
,
'Aktualisiert'
,
'datetime'
,
'hidden'
,array(
'convert'
=>
'date_time'
));
44
$addField
(
'update_uid'
,
'int'
,
''
,
'11'
,
'0'
,
'Aktualisiert von'
,
'int'
,
'hidden'
);
45
$addField
(
'owner'
,
'int'
,
''
,
'11'
,
'0'
,
'Owner'
,
'int'
,
'hidden'
);
46
$addField
(
'trash'
,
'int'
,
''
,
'1'
,
'0'
,
'Trash'
,
'int'
,
'hidden'
);
47
$addField
(
'channel_key'
,
'varchar'
,
'UNI'
,
'80'
,
''
,
'Channel-Key'
,
'parameter|min=2|max=80'
,
'text-label'
);
48
$addField
(
'title'
,
'varchar'
,
'MUL'
,
'160'
,
''
,
'Name'
,
'*|min=2|max=160'
,
'text-label'
);
49
$addField
(
'description'
,
'text'
,
''
,
'-1'
,
''
,
'Beschreibung'
,
'text'
,
'textarea-label'
);
50
$addField
(
'platform_type'
,
'varchar'
,
'MUL'
,
'40'
,
'custom'
,
'Plattform'
,
'parameter|max=40'
,
'text-label'
);
51
$addField
(
'connection_mode'
,
'varchar'
,
'MUL'
,
'40'
,
'manual'
,
'Verbindung'
,
'parameter|max=40'
,
'text-label'
);
52
$addField
(
'api_base_url'
,
'varchar'
,
''
,
'255'
,
''
,
'API-Basis-URL'
,
'url|max=255'
,
'text-label'
);
53
$addField
(
'api_client_id'
,
'varchar'
,
''
,
'255'
,
''
,
'Client-ID'
,
'text|max=255'
,
'text-label'
);
54
$addField
(
'api_client_secret'
,
'text'
,
''
,
'-1'
,
''
,
'Client-Secret'
,
'text'
,
'password-label'
);
55
$addField
(
'api_access_token'
,
'text'
,
''
,
'-1'
,
''
,
'Access-Token'
,
'text'
,
'password-label'
);
56
$addField
(
'api_refresh_token'
,
'text'
,
''
,
'-1'
,
''
,
'Refresh-Token'
,
'text'
,
'password-label'
);
57
$addField
(
'api_username'
,
'varchar'
,
''
,
'160'
,
''
,
'API-Benutzer'
,
'text|max=160'
,
'text-label'
);
58
$addField
(
'api_password'
,
'text'
,
''
,
'-1'
,
''
,
'API-Passwort'
,
'text'
,
'password-label'
);
59
$addField
(
'marketplace_id'
,
'varchar'
,
''
,
'120'
,
''
,
'Marketplace-ID'
,
'text|max=120'
,
'text-label'
);
60
$addField
(
'seller_id'
,
'varchar'
,
''
,
'160'
,
''
,
'Seller-ID'
,
'text|max=160'
,
'text-label'
);
61
$addField
(
'account_id'
,
'varchar'
,
''
,
'160'
,
''
,
'Account-ID'
,
'text|max=160'
,
'text-label'
);
62
$addField
(
'location_key'
,
'varchar'
,
''
,
'160'
,
''
,
'Location-Key'
,
'text|max=160'
,
'text-label'
);
63
$addField
(
'category_id'
,
'varchar'
,
''
,
'160'
,
''
,
'Kategorie-ID'
,
'text|max=160'
,
'text-label'
);
64
$addField
(
'payment_policy_id'
,
'varchar'
,
''
,
'160'
,
''
,
'Payment-Policy'
,
'text|max=160'
,
'text-label'
);
65
$addField
(
'fulfillment_policy_id'
,
'varchar'
,
''
,
'160'
,
''
,
'Fulfillment-Policy'
,
'text|max=160'
,
'text-label'
);
66
$addField
(
'return_policy_id'
,
'varchar'
,
''
,
'160'
,
''
,
'Return-Policy'
,
'text|max=160'
,
'text-label'
);
67
$addField
(
'notification_destination'
,
'varchar'
,
''
,
'255'
,
''
,
'Notification-Ziel'
,
'text|max=255'
,
'text-label'
);
68
$addField
(
'notification_topic'
,
'varchar'
,
''
,
'160'
,
''
,
'Notification-Topic'
,
'text|max=160'
,
'text-label'
);
69
$addField
(
'api_scope'
,
'text'
,
''
,
'-1'
,
''
,
'API-Scopes'
,
'text'
,
'textarea-label'
);
70
$addField
(
'webhook_secret'
,
'text'
,
''
,
'-1'
,
''
,
'Webhook-Secret'
,
'text'
,
'password-label'
);
71
$addField
(
'export_enabled'
,
'int'
,
'MUL'
,
'1'
,
'0'
,
'Export aktiv'
,
'int'
,
'checkbox-label'
);
72
$addField
(
'order_import_enabled'
,
'int'
,
'MUL'
,
'1'
,
'0'
,
'Order-Import aktiv'
,
'int'
,
'checkbox-label'
);
73
$addField
(
'test_status'
,
'varchar'
,
''
,
'40'
,
''
,
'Teststatus'
,
'text|max=40'
,
'text-label'
);
74
$addField
(
'test_message'
,
'text'
,
''
,
'-1'
,
''
,
'Testmeldung'
,
'text'
,
'textarea-label'
);
75
$addField
(
'last_test_date'
,
'datetime'
,
''
,
'-1'
,
''
,
'Letzter Test'
,
'datetime'
,
'text-label'
,array(
'convert'
=>
'date_time'
));
76
$addField
(
'active'
,
'int'
,
'MUL'
,
'1'
,
'1'
,
'Aktiv'
,
'int'
,
'checkbox-label'
);
77
$addField
(
'sorter'
,
'int'
,
'MUL'
,
'11'
,
'100'
,
'Sortierung'
,
'int'
,
'text-label'
);
78
?>
$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
shopChannel.dd.php:18
dbx
modules
dbxShop
dd
shopChannel.dd.php
Generated by
1.17.0