Squiz Matrix
4.12.2
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Functions
Variables
Pages
data_source_graph_management.inc
1
<?php
18
require_once SQ_INCLUDE_PATH.
'/asset_management.inc'
;
19
31
class
Data_Source_Graph_Management
extends
Asset_Management
32
{
33
34
39
function
Data_Source_Graph_Management
(&$pm)
40
{
41
$this->
Asset_Management
($pm);
42
43
$this->vars = Array(
44
'mode'
=> Array(
45
'added'
=>
'0.1'
,
46
'type'
=>
'selection'
,
47
'default'
=>
'add'
,
48
'is_admin'
=> 0,
49
'parameters'
=> Array(
50
'options'
=> Array(
51
'add'
=>
'Add Plot'
,
52
'edit'
=>
'Edit Plot'
,
53
),
54
'multiple'
=> FALSE,
55
'allow_empty'
=> FALSE,
56
'allow_other'
=> FALSE,
57
),
58
),
59
'title'
=> Array(
60
'added'
=>
'0.1'
,
61
'type'
=>
'text'
,
62
'default'
=>
''
,
63
'description'
=>
'Some text to be associated with the image and can be accessed and printed out separately if required'
,
64
'is_admin'
=> FALSE,
65
'is_contextable'
=> TRUE,
66
),
67
'name'
=> Array(
68
'added'
=>
'0.1'
,
69
'type'
=>
'text'
,
70
'default'
=>
''
,
71
'is_admin'
=> FALSE,
72
'is_contextable'
=> TRUE,
73
),
74
'alt'
=> Array(
75
'added'
=>
'0.1'
,
76
'type'
=>
'text'
,
77
'default'
=>
''
,
78
'description'
=>
'The text to be used in the Alt attribute of the IMG tag'
,
79
'is_admin'
=> FALSE,
80
'is_contextable'
=> TRUE,
81
),
82
'caption'
=> Array(
83
'added'
=>
'0.1'
,
84
'type'
=>
'text'
,
85
'default'
=>
''
,
86
'description'
=>
'Some text to be associated with the image and can be accessed and printed out separately if required'
,
87
'is_admin'
=> FALSE,
88
'is_contextable'
=> TRUE,
89
),
90
'width'
=> Array(
91
'added'
=>
'0.1'
,
92
'type'
=>
'int'
,
93
'default'
=> 600,
94
'description'
=>
'Width of the image (generated from the image file)'
,
95
'is_admin'
=> FALSE,
96
),
97
'height'
=> Array(
98
'added'
=>
'0.1'
,
99
'type'
=>
'int'
,
100
'default'
=> 400,
101
'description'
=>
'Height of the image (generated from the image file)'
,
102
'is_admin'
=> FALSE,
103
),
104
'size'
=> Array(
105
'added'
=>
'0.1'
,
106
'type'
=>
'int'
,
107
'default'
=> 0,
108
'description'
=>
'Size (in bytes) of the image (generated from the image file)'
,
109
'is_admin'
=> FALSE,
110
),
111
'show_graph_title'
=> Array(
112
'added'
=>
'0.1'
,
113
'type'
=>
'boolean'
,
114
'default'
=> TRUE,
115
'parameters'
=> Array(
116
'allow_empty'
=> FALSE,
117
),
118
),
119
'x_set_title'
=> Array(
120
'added'
=>
'0.1'
,
121
'type'
=>
'text'
,
122
'default'
=>
'x-Axis'
,
123
'description'
=>
'The text to be used in the x-Axis label'
,
124
'is_admin'
=> FALSE,
125
'is_contextable'
=> TRUE,
126
),
127
'y_set_title'
=> Array(
128
'added'
=>
'0.1'
,
129
'type'
=>
'text'
,
130
'default'
=>
'y-Axis'
,
131
'description'
=>
'The text to be used in the y-Axis label'
,
132
'is_admin'
=> FALSE,
133
'is_contextable'
=> TRUE,
134
),
135
'x_label_interval'
=> Array(
136
'added'
=>
'0.1'
,
137
'type'
=>
'int'
,
138
'default'
=> 0,
139
'description'
=>
'x-axis set label interval'
,
140
),
141
'y_label_interval'
=> Array(
142
'added'
=>
'0.1'
,
143
'type'
=>
'int'
,
144
'default'
=> 0,
145
'description'
=>
'y-axis set label interval'
,
146
),
147
'graph_angle'
=> Array(
148
'added'
=>
'0.1'
,
149
'type'
=>
'boolean'
,
150
'default'
=> TRUE,
151
'parameters'
=> Array(
152
'allow_empty'
=> FALSE,
153
),
154
),
155
'x_font_label_angle'
=> Array(
156
'added'
=>
'0.1'
,
157
'type'
=>
'boolean'
,
158
'default'
=> FALSE,
159
'parameters'
=> Array(
160
'allow_empty'
=> FALSE,
161
),
162
),
163
'y_font_label_angle'
=> Array(
164
'added'
=>
'0.1'
,
165
'type'
=>
'boolean'
,
166
'default'
=> TRUE,
167
'parameters'
=> Array(
168
'allow_empty'
=> FALSE,
169
),
170
),
171
'show_legend'
=> Array(
172
'added'
=>
'0.1'
,
173
'type'
=>
'boolean'
,
174
'default'
=> TRUE,
175
'parameters'
=> Array(
176
'allow_empty'
=> FALSE,
177
),
178
),
179
'background'
=> Array(
180
'added'
=>
'0.1'
,
181
'type'
=>
'colour'
,
182
'default'
=>
'#ffffff'
,
183
),
184
'border_colour'
=> Array(
185
'added'
=>
'0.1'
,
186
'type'
=>
'colour'
,
187
'default'
=>
'#000000'
,
188
),
189
'x_axis_colour'
=> Array(
190
'added'
=>
'0.1'
,
191
'type'
=>
'colour'
,
192
'default'
=>
'#000000'
,
193
),
194
'y_axis_colour'
=> Array(
195
'added'
=>
'0.1'
,
196
'type'
=>
'colour'
,
197
'default'
=>
'#000000'
,
198
),
199
'x_font_axis_colour'
=> Array(
200
'added'
=>
'0.1'
,
201
'type'
=>
'colour'
,
202
'default'
=>
'#000000'
,
203
),
204
'y_font_axis_colour'
=> Array(
205
'added'
=>
'0.1'
,
206
'type'
=>
'colour'
,
207
'default'
=>
'#000000'
,
208
),
209
'axis_left_padding'
=> Array(
210
'added'
=>
'0.1'
,
211
'type'
=>
'int'
,
212
'default'
=> 0,
213
'description'
=>
'Size (in px) of the padding on the left side of the axis'
,
214
'is_admin'
=> FALSE,
215
),
216
'axis_right_padding'
=> Array(
217
'added'
=>
'0.1'
,
218
'type'
=>
'int'
,
219
'default'
=> 0,
220
'description'
=>
'Size (in px) of the padding on the right side of the axis'
,
221
'is_admin'
=> FALSE,
222
),
223
'axis_top_padding'
=> Array(
224
'added'
=>
'0.1'
,
225
'type'
=>
'int'
,
226
'default'
=> 0,
227
'description'
=>
'Size (in px) of the padding on the top side of the axis'
,
228
'is_admin'
=> FALSE,
229
),
230
'axis_bottom_padding'
=> Array(
231
'added'
=>
'0.1'
,
232
'type'
=>
'int'
,
233
'default'
=> 0,
234
'description'
=>
'Size (in px) of the padding on the bottom side of the axis'
,
235
'is_admin'
=> FALSE,
236
),
237
'global_settings'
=> Array(
238
'added'
=>
'0.1'
,
239
'type'
=>
'serialise'
,
240
'default'
=> Array(
241
'title'
=>
'Enter the title'
,
242
'alt'
=>
'Enter the alt tag'
,
243
'width'
=>
'600'
,
244
'height'
=>
'400'
,
245
'x_set_titles'
=>
'x-Axis'
,
246
'y_set_titles'
=>
'y-Axis'
,
247
'x_label_interval'
=>
'1'
,
248
'y_label_interval'
=>
'1'
,
249
'x_font_label_angle'
=>
'90'
,
250
'y_font_label_angle'
=>
'180'
,
251
'bar_spacing'
=>
'0'
,
252
'background'
=>
'ffffff'
,
253
'border_colour'
=>
'000000'
,
254
'x_axis_colour'
=>
'000000'
,
255
'y_axis_colour'
=>
'000000'
,
256
'x_font_axis_colour'
=>
'000000'
,
257
'y_font_axis_colour'
=>
'000000'
,
258
),
259
'is_admin'
=> FALSE,
260
),
261
'datasets'
=> Array(
262
'added'
=>
'0.1'
,
263
'type'
=>
'serialise'
,
264
'default'
=> Array(),
265
'is_admin'
=> FALSE,
266
),
267
'plot_order'
=> Array(
268
'added'
=>
'0.1'
,
269
'type'
=>
'serialise'
,
270
'default'
=> Array(),
271
'is_admin'
=> FALSE,
272
),
273
);
274
275
}
//end constructor
276
277
278
}
//end class
279
?>
squiz_matrix
packages
data
data_source_graph
data_source_graph_management.inc
Generated on Tue Jan 29 2013 14:04:59 for Squiz Matrix by
1.8.3.1