Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
simple_form_management.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
19
31
class
Simple_Form_Management
extends
Asset_Management
32
{
33
34
43
function
Simple_Form_Management
(&$pm)
44
{
45
$this->
Asset_Management
($pm);
46
47
$this->vars = Array(
48
'name'
=> Array(
49
'added'
=>
'0.1'
,
50
'type'
=>
'text'
,
51
'default'
=>
''
,
52
'is_admin'
=> FALSE,
53
'is_contextable'
=> TRUE,
54
),
55
'questions'
=> Array(
56
'added'
=>
'0.1'
,
57
'type'
=>
'serialise'
,
58
'default'
=> Array(),
59
),
60
'next_question'
=> Array(
61
'added'
=>
'0.1'
,
62
'type'
=>
'int'
,
63
'default'
=> 1,
64
),
65
'submit_button'
=> Array(
66
'added'
=>
'0.1'
,
67
'type'
=>
'text'
,
68
'default'
=>
'Submit'
,
69
'is_contextable'
=> TRUE,
70
),
71
'reset_button'
=> Array(
72
'added'
=>
'0.1'
,
73
'type'
=>
'text'
,
74
'default'
=>
'Clear Form'
,
75
'is_contextable'
=> TRUE,
76
),
77
'client_side'
=> Array(
78
'added'
=>
'0.1'
,
79
'type'
=>
'boolean'
,
80
'default'
=> FALSE,
81
'parameters'
=> Array(
82
'allow_empty'
=> FALSE,
83
),
84
),
85
'disable_keyword_replacements'
=> Array(
86
'added'
=>
'0.1'
,
87
'type'
=>
'boolean'
,
88
'default'
=> TRUE,
89
'description'
=>
'If true, will not replace any keywords from user input'
,
90
'parameters'
=> Array(
91
'allow_empty'
=> FALSE,
92
),
93
),
94
);
95
96
}
//end constructor
97
98
105
function
_getFileList
()
106
{
107
return
Array(
108
'js/sort_order_manip.js'
,
109
);
110
111
}
//end _getFileList()
112
113
120
function
getEventList
()
121
{
122
return
Array(
123
Array(
124
'event_name'
=>
'requestKeywords'
,
125
'broadcast_type_code'
=>
'content_type'
,
126
'broadcast_strict_type_code'
=> FALSE,
127
'options'
=> Array(
128
'side_of_link'
=>
'major'
,
129
'indirect'
=> TRUE,
130
'is_exclusive'
=> NULL,
131
'is_dependant'
=> 1,
132
'value'
=>
''
,
133
'link_type'
=> SQ_LINK_TYPE_2 | SQ_LINK_TYPE_1,
134
),
135
),
136
);
137
138
}
//end getEventList()
139
140
141
}
//end class
142
143
144
?>
squiz_matrix
core
assets
form
simple_form
simple_form_management.inc
Generated on Tue Jan 29 2013 14:04:38 for Squiz Matrix by
1.8.3.1