-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmodule_config.php
115 lines (109 loc) · 3.03 KB
/
module_config.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?php
$STRUCTURE = array();
$STRUCTURE["tables"] = array();
$STRUCTURE["tables"]["module_submission_pre_parser_rules"] = array(
array(
"Field" => "rule_id",
"Type" => "mediumint(9)",
"Null" => "NO",
"Key" => "PRI",
"Default" => ""
),
array(
"Field" => "status",
"Type" => "enum('enabled','disabled')",
"Null" => "NO",
"Key" => "",
"Default" => "enabled"
),
array(
"Field" => "rule_name",
"Type" => "varchar(255)",
"Null" => "NO",
"Key" => "",
"Default" => ""
),
array(
"Field" => "event",
"Type" => "set('on_form_submission','on_form_submission_api','on_submission_edit','add_submission_from_ui')",
"Null" => "YES",
"Key" => "",
"Default" => ""
),
array(
"Field" => "php_code",
"Type" => "mediumtext",
"Null" => "NO",
"Key" => "",
"Default" => ""
)
);
$STRUCTURE["tables"]["module_submission_pre_parser_rule_forms"] = array(
array(
"Field" => "rule_id",
"Type" => "mediumint(8) unsigned",
"Null" => "NO",
"Key" => "PRI",
"Default" => ""
),
array(
"Field" => "form_id",
"Type" => "mediumint(8) unsigned",
"Null" => "NO",
"Key" => "PRI",
"Default" => ""
)
);
$HOOKS = array(
array(
"hook_type" => "code",
"action_location" => "start",
"function_name" => "FormTools\\Submissions::processFormSubmission",
"hook_function" => "newSubmissionFromExternalFormHook",
"priority" => "50"
),
array(
"hook_type" => "code",
"action_location" => "start",
"function_name" => "FormTools\\Submissions::updateSubmission",
"hook_function" => "updateSubmissionHook",
"priority" => "50"
),
array(
"hook_type" => "code",
"action_location" => "end",
"function_name" => "FormTools\\Views::getNewViewSubmissionDefaults",
"hook_function" => "newSubmissionFromUIHook",
"priority" => "50"
),
array(
"hook_type" => "code",
"action_location" => "start",
"function_name" => "FormTools\\API->processFormSubmission",
"hook_function" => "updateSubmissionFromApi",
"priority" => "50"
)
);
$FILES = array(
"code",
"code/Module.class.php",
"images/",
"images/icon_preparser.gif",
"lang/",
"lang/en_us.php",
"templates/",
"templates/add.tpl",
"templates/edit.tpl",
"templates/help.tpl",
"templates/index.tpl",
"templates/settings.tpl",
"add.php",
"edit.php",
"help.php",
"index.php",
"library.php",
"LICENSE",
"module_config.php",
"README.md",
"settings.php",
);