-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.php
73 lines (72 loc) · 1.92 KB
/
install.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
$dataset='
{
"yrewrite_domain_settings": {
"table": {
"id": "2",
"status": "1",
"table_name": "'. rex::getTablePrefix() .'yrewrite_domain_settings",
"name": "Domaineinstellungen",
"description": "",
"list_amount": "50",
"list_sortfield": "id",
"list_sortorder": "ASC",
"prio": "2",
"search": "0",
"hidden": "0",
"export": "0",
"import": "0",
"mass_deletion": "0",
"mass_edit": "0",
"schema_overwrite": "1",
"history": "0"
},
"fields": [
{
"id": "1",
"table_name": "'. rex::getTablePrefix() .'yrewrite_domain_settings",
"prio": "1",
"type_id": "value",
"type_name": "choice",
"db_type": "text",
"list_hidden": "0",
"search": "1",
"name": "domain_id",
"label": "Domain",
"not_required": "",
"choices": "SELECT id AS value, domain AS label FROM rex_yrewrite_domain ORDER BY domain ASC",
"placeholder": " ",
"attributes": "{\"class\": \"selectpicker\",\"data-live-search\": \"true\"}",
"no_db": "0",
"group_attributes": "",
"message": "",
"compare_value": "",
"compare_type": ""
},
{
"id": "2",
"table_name": "'. rex::getTablePrefix() .'yrewrite_domain_settings",
"prio": "2",
"type_id": "validate",
"type_name": "unique",
"db_type": "",
"list_hidden": "1",
"search": "0",
"name": "domain_id",
"label": "",
"not_required": "",
"choices": "",
"placeholder": "",
"attributes": "",
"no_db": "",
"group_attributes": "",
"message": "Diese Domain wird bereits verwendet",
"compare_value": "",
"compare_type": ""
}
]
}
}
';
rex_yform_manager_table_api::importTablesets($dataset);
rex_yform_manager_table::deleteCache();