1 |
jonen |
1.1 |
<?xml version="1.0" encoding="iso-8859-1"?>
|
2 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
4 |
|
|
<head>
|
5 |
|
|
<!-- template designed by Marco Von Ballmoos -->
|
6 |
|
|
<title>Docs For Class MessageBoxWidget</title>
|
7 |
|
|
<link rel="stylesheet" href="../media/stylesheet.css" />
|
8 |
|
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
9 |
|
|
</head>
|
10 |
|
|
<body>
|
11 |
|
|
<div class="page-body">
|
12 |
|
|
<h2 class="class-name">Class MessageBoxWidget</h2>
|
13 |
|
|
|
14 |
|
|
<a name="sec-description"></a>
|
15 |
|
|
<div class="info-box">
|
16 |
|
|
<div class="info-box-title">Description</div>
|
17 |
|
|
<div class="nav-bar">
|
18 |
|
|
<span class="disabled">Description</span> |
|
19 |
|
|
<a href="#sec-descendents">Descendents</a>
|
20 |
|
|
| <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
|
21 |
|
|
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
22 |
|
|
|
23 |
|
|
</div>
|
24 |
|
|
<div class="info-box-body">
|
25 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
26 |
|
|
<p class="short-description">This class is used to build a DialogWidget that can have 'blocks' for messages.</p>
|
27 |
|
|
<ul class="tags">
|
28 |
|
|
<li><span class="field">author:</span> Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></li>
|
29 |
|
|
</ul>
|
30 |
|
|
<p class="notes">
|
31 |
|
|
Located in <a class="field" href="_widgets_MessageBoxWidget_inc.html">/widgets/MessageBoxWidget.inc</a> (line <span class="field">18</span>)
|
32 |
|
|
</p>
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
36 |
|
|
| |
37 |
|
|
--<a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a> |
38 |
|
|
| |
39 |
|
|
--<a href="../phpHtmlLib/DialogWidget.html">DialogWidget</a> |
40 |
|
|
| |
41 |
|
|
--<a href="../phpHtmlLib/StandardDialogWidget.html">StandardDialogWidget</a> |
42 |
|
|
| |
43 |
|
|
--MessageBoxWidget</pre>
|
44 |
|
|
|
45 |
|
|
</div>
|
46 |
|
|
</div>
|
47 |
|
|
|
48 |
|
|
<a name="sec-descendents"></a>
|
49 |
|
|
<div class="info-box">
|
50 |
|
|
<div class="info-box-title">Direct descendents</div>
|
51 |
|
|
<div class="nav-bar">
|
52 |
|
|
<a href="#sec-description">Description</a> |
|
53 |
|
|
<span class="disabled">Descendents</span>
|
54 |
|
|
| <a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
|
55 |
|
|
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
56 |
|
|
|
57 |
|
|
</div>
|
58 |
|
|
<div class="info-box-body">
|
59 |
|
|
<table cellpadding="2" cellspacing="0" class="class-table">
|
60 |
|
|
<tr>
|
61 |
|
|
<th class="class-table-header">Class</th>
|
62 |
|
|
<th class="class-table-header">Description</th>
|
63 |
|
|
</tr>
|
64 |
|
|
<tr>
|
65 |
|
|
<td style="padding-right: 2em"><a href="../phpHtmlLib/MessageBoxOK.html">MessageBoxOK</a></td>
|
66 |
|
|
<td>
|
67 |
|
|
This is a class for building a MessageBox with an OK button.
|
68 |
|
|
</td>
|
69 |
|
|
</tr>
|
70 |
|
|
</table>
|
71 |
|
|
</div>
|
72 |
|
|
</div>
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
<a name="sec-var-summary"></a>
|
76 |
|
|
<div class="info-box">
|
77 |
|
|
<div class="info-box-title">Variable Summary</span></div>
|
78 |
|
|
<div class="nav-bar">
|
79 |
|
|
<a href="#sec-description">Description</a> |
|
80 |
|
|
<a href="#sec-descendents">Descendents</a> |
|
81 |
|
|
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
|
82 |
|
|
|
|
83 |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
84 |
|
|
|
85 |
|
|
</div>
|
86 |
|
|
<div class="info-box-body">
|
87 |
|
|
<div class="var-summary">
|
88 |
|
|
<div class="var-title">
|
89 |
|
|
<span class="var-type">mixed</span>
|
90 |
|
|
<a href="#$_form_method" title="details" class="var-name">$_form_method</a>
|
91 |
|
|
</div>
|
92 |
|
|
<div class="var-title">
|
93 |
|
|
<span class="var-type">mixed</span>
|
94 |
|
|
<a href="#$_has_form" title="details" class="var-name">$_has_form</a>
|
95 |
|
|
</div>
|
96 |
|
|
<div class="var-title">
|
97 |
|
|
<span class="var-type">mixed</span>
|
98 |
|
|
<a href="#$_hidden_vars" title="details" class="var-name">$_hidden_vars</a>
|
99 |
|
|
</div>
|
100 |
|
|
<div class="var-title">
|
101 |
|
|
<span class="var-type">mixed</span>
|
102 |
|
|
<a href="#$_message" title="details" class="var-name">$_message</a>
|
103 |
|
|
</div>
|
104 |
|
|
</div>
|
105 |
|
|
</div>
|
106 |
|
|
</div>
|
107 |
|
|
|
108 |
|
|
<a name="sec-method-summary"></a>
|
109 |
|
|
<div class="info-box">
|
110 |
|
|
<div class="info-box-title">Method Summary</span></div>
|
111 |
|
|
<div class="nav-bar">
|
112 |
|
|
<a href="#sec-description">Description</a> |
|
113 |
|
|
<a href="#sec-descendents">Descendents</a> |
|
114 |
|
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
|
115 |
|
|
|
116 |
|
|
|
|
117 |
|
|
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
|
118 |
|
|
</div>
|
119 |
|
|
<div class="info-box-body">
|
120 |
|
|
<div class="method-summary">
|
121 |
|
|
|
122 |
|
|
<div class="method-definition">
|
123 |
|
|
<span class="method-result">MessageBoxWidget</span>
|
124 |
|
|
<a href="#MessageBoxWidget" title="details" class="method-name">MessageBoxWidget</a>
|
125 |
|
|
(<span class="var-type">string</span> <span class="var-name">$title</span>, [<span class="var-type">mixed</span> <span class="var-name">$width</span> = <span class="var-default">"600"</span>], [<span class="var-type">string</span> <span class="var-name">$message</span> = <span class="var-default">""</span>])
|
126 |
|
|
</div>
|
127 |
|
|
|
128 |
|
|
<div class="method-definition">
|
129 |
|
|
<span class="method-result">void</span>
|
130 |
|
|
<a href="#add_button" title="details" class="method-name">add_button</a>
|
131 |
|
|
(<span class="var-type">string</span> <span class="var-name">$title</span>, [<span class="var-type">string</span> <span class="var-name">$action</span> = <span class="var-default">NULL</span>])
|
132 |
|
|
</div>
|
133 |
|
|
|
134 |
|
|
<div class="method-definition">
|
135 |
|
|
<span class="method-result">void</span>
|
136 |
|
|
<a href="#add_hidden_variable" title="details" class="method-name">add_hidden_variable</a>
|
137 |
|
|
(<span class="var-type">string</span> <span class="var-name">$key</span>, <span class="var-type">string</span> <span class="var-name">$value</span>)
|
138 |
|
|
</div>
|
139 |
|
|
|
140 |
|
|
<div class="method-definition">
|
141 |
|
|
<span class="method-result">none</span>
|
142 |
|
|
<a href="#add_hidden_variables" title="details" class="method-name">add_hidden_variables</a>
|
143 |
|
|
(<span class="var-type">array</span> <span class="var-name">$vars</span>)
|
144 |
|
|
</div>
|
145 |
|
|
|
146 |
|
|
<div class="method-definition">
|
147 |
|
|
<span class="method-result">object</span>
|
148 |
|
|
<a href="#form_action_button" title="details" class="method-name">form_action_button</a>
|
149 |
|
|
(<span class="var-type">string</span> <span class="var-name">$content</span>, [<span class="var-type">string</span> <span class="var-name">$action</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span> <span class="var-name">$attrib</span> = <span class="var-default">NULL</span>])
|
150 |
|
|
</div>
|
151 |
|
|
|
152 |
|
|
<div class="method-definition">
|
153 |
|
|
<span class="method-result">string</span>
|
154 |
|
|
<a href="#get_message" title="details" class="method-name">get_message</a>
|
155 |
|
|
()
|
156 |
|
|
</div>
|
157 |
|
|
|
158 |
|
|
<div class="method-definition">
|
159 |
|
|
<span class="method-result">void</span>
|
160 |
|
|
<a href="#render" title="details" class="method-name">render</a>
|
161 |
|
|
([<span class="var-type">mixed</span> <span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">mixed</span> <span class="var-name">$output_debug</span>)
|
162 |
|
|
</div>
|
163 |
|
|
|
164 |
|
|
<div class="method-definition">
|
165 |
|
|
<span class="method-result">void</span>
|
166 |
|
|
<a href="#set_message" title="details" class="method-name">set_message</a>
|
167 |
|
|
(<span class="var-type">string</span> <span class="var-name">$mesg</span>)
|
168 |
|
|
</div>
|
169 |
|
|
</div>
|
170 |
|
|
</div>
|
171 |
|
|
</div>
|
172 |
|
|
|
173 |
|
|
<a name="sec-vars"></a>
|
174 |
|
|
<div class="info-box">
|
175 |
|
|
<div class="info-box-title">Variables</div>
|
176 |
|
|
<div class="nav-bar">
|
177 |
|
|
<a href="#sec-description">Description</a> |
|
178 |
|
|
<a href="#sec-descendents">Descendents</a> |
|
179 |
|
|
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
|
|
183 |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
184 |
|
|
|
185 |
|
|
</div>
|
186 |
|
|
<div class="info-box-body">
|
187 |
|
|
<a name="var$_form_method" id="$_form_method"><!-- --></A>
|
188 |
|
|
<div class="evenrow">
|
189 |
|
|
|
190 |
|
|
<div class="var-header">
|
191 |
|
|
<span class="var-title">
|
192 |
|
|
<span class="var-type">mixed</span>
|
193 |
|
|
<span class="var-name">$_form_method</span>
|
194 |
|
|
= <span class="var-default"> "POST"</span> (line <span class="line-number">35</span>)
|
195 |
|
|
</span>
|
196 |
|
|
</div>
|
197 |
|
|
|
198 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
199 |
|
|
<p class="short-description">The form method type</p>
|
200 |
|
|
<p class="description"><p>GET or POST only</p></p>
|
201 |
|
|
|
202 |
|
|
|
203 |
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
|
|
</div>
|
207 |
|
|
<a name="var$_has_form" id="$_has_form"><!-- --></A>
|
208 |
|
|
<div class="oddrow">
|
209 |
|
|
|
210 |
|
|
<div class="var-header">
|
211 |
|
|
<span class="var-title">
|
212 |
|
|
<span class="var-type">mixed</span>
|
213 |
|
|
<span class="var-name">$_has_form</span>
|
214 |
|
|
= <span class="var-default"> FALSE</span> (line <span class="line-number">29</span>)
|
215 |
|
|
</span>
|
216 |
|
|
</div>
|
217 |
|
|
|
218 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
219 |
|
|
<p class="short-description">Do we need to render a form?</p>
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
|
225 |
|
|
</div>
|
226 |
|
|
<a name="var$_hidden_vars" id="$_hidden_vars"><!-- --></A>
|
227 |
|
|
<div class="evenrow">
|
228 |
|
|
|
229 |
|
|
<div class="var-header">
|
230 |
|
|
<span class="var-title">
|
231 |
|
|
<span class="var-type">mixed</span>
|
232 |
|
|
<span class="var-name">$_hidden_vars</span>
|
233 |
|
|
= <span class="var-default">array()</span> (line <span class="line-number">40</span>)
|
234 |
|
|
</span>
|
235 |
|
|
</div>
|
236 |
|
|
|
237 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
238 |
|
|
<p class="short-description">This stores additionnal hidden variables.</p>
|
239 |
|
|
|
240 |
|
|
|
241 |
|
|
|
242 |
|
|
|
243 |
|
|
|
244 |
|
|
</div>
|
245 |
|
|
<a name="var$_message" id="$_message"><!-- --></A>
|
246 |
|
|
<div class="oddrow">
|
247 |
|
|
|
248 |
|
|
<div class="var-header">
|
249 |
|
|
<span class="var-title">
|
250 |
|
|
<span class="var-type">mixed</span>
|
251 |
|
|
<span class="var-name">$_message</span>
|
252 |
|
|
= <span class="var-default"> NULL</span> (line <span class="line-number">23</span>)
|
253 |
|
|
</span>
|
254 |
|
|
</div>
|
255 |
|
|
|
256 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
257 |
|
|
<p class="short-description">The _message to display</p>
|
258 |
|
|
|
259 |
|
|
|
260 |
|
|
|
261 |
|
|
|
262 |
|
|
|
263 |
|
|
</div>
|
264 |
|
|
<h4>Inherited Variables</h4>
|
265 |
|
|
<A NAME='inherited_vars'><!-- --></A>
|
266 |
|
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/DialogWidget.html">DialogWidget</a></span></p>
|
267 |
|
|
<blockquote>
|
268 |
|
|
<span class="var-title">
|
269 |
|
|
<span class="var-name"><a href="../phpHtmlLib/DialogWidget.html#var$_buttons">DialogWidget::$_buttons</a></span><br>
|
270 |
|
|
</span>
|
271 |
|
|
<span class="var-title">
|
272 |
|
|
<span class="var-name"><a href="../phpHtmlLib/DialogWidget.html#var$_cancel_url">DialogWidget::$_cancel_url</a></span><br>
|
273 |
|
|
</span>
|
274 |
|
|
<span class="var-title">
|
275 |
|
|
<span class="var-name"><a href="../phpHtmlLib/DialogWidget.html#var$_show_cancel_button">DialogWidget::$_show_cancel_button</a></span><br>
|
276 |
|
|
</span>
|
277 |
|
|
</blockquote>
|
278 |
|
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p>
|
279 |
|
|
<blockquote>
|
280 |
|
|
<span class="var-title">
|
281 |
|
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></span><br>
|
282 |
|
|
</span>
|
283 |
|
|
<span class="var-title">
|
284 |
|
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></span><br>
|
285 |
|
|
</span>
|
286 |
|
|
</blockquote>
|
287 |
|
|
|
288 |
|
|
</div>
|
289 |
|
|
</div>
|
290 |
|
|
|
291 |
|
|
<a name="sec-methods"></a>
|
292 |
|
|
<div class="info-box">
|
293 |
|
|
<div class="info-box-title">Methods</div>
|
294 |
|
|
<div class="nav-bar">
|
295 |
|
|
<a href="#sec-description">Description</a> |
|
296 |
|
|
<a href="#sec-descendents">Descendents</a> |
|
297 |
|
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
|
298 |
|
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
|
299 |
|
|
|
300 |
|
|
</div>
|
301 |
|
|
<div class="info-box-body">
|
302 |
|
|
<A NAME='method_detail'></A>
|
303 |
|
|
<a name="methodMessageBoxWidget" id="MessageBoxWidget"><!-- --></a>
|
304 |
|
|
<div class="evenrow">
|
305 |
|
|
|
306 |
|
|
<div class="method-header">
|
307 |
|
|
<span class="method-title">Constructor MessageBoxWidget</span> (line <span class="line-number">49</span>)
|
308 |
|
|
</div>
|
309 |
|
|
|
310 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
311 |
|
|
<p class="short-description">constructor</p>
|
312 |
|
|
|
313 |
|
|
<div class="method-signature">
|
314 |
|
|
<span class="method-result">MessageBoxWidget</span>
|
315 |
|
|
<span class="method-name">
|
316 |
|
|
MessageBoxWidget
|
317 |
|
|
</span>
|
318 |
|
|
(<span class="var-type">string</span> <span class="var-name">$title</span>, [<span class="var-type">mixed</span> <span class="var-name">$width</span> = <span class="var-default">"600"</span>], [<span class="var-type">string</span> <span class="var-name">$message</span> = <span class="var-default">""</span>])
|
319 |
|
|
</div>
|
320 |
|
|
|
321 |
|
|
<ul class="parameters">
|
322 |
|
|
<li>
|
323 |
|
|
<span class="var-type">string</span>
|
324 |
|
|
<span class="var-name">$title</span><span class="var-description">: - the title of the window</span> </li>
|
325 |
|
|
<li>
|
326 |
|
|
<span class="var-type">mixed</span>
|
327 |
|
|
<span class="var-name">$width</span><span class="var-description">: - the width of the object</span> </li>
|
328 |
|
|
<li>
|
329 |
|
|
<span class="var-type">string</span>
|
330 |
|
|
<span class="var-name">$message</span><span class="var-description">: - the message string</span> </li>
|
331 |
|
|
</ul>
|
332 |
|
|
|
333 |
|
|
|
334 |
|
|
</div>
|
335 |
|
|
<a name="methodadd_button" id="add_button"><!-- --></a>
|
336 |
|
|
<div class="oddrow">
|
337 |
|
|
|
338 |
|
|
<div class="method-header">
|
339 |
|
|
<span class="method-title">add_button</span> (line <span class="line-number">146</span>)
|
340 |
|
|
</div>
|
341 |
|
|
|
342 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
343 |
|
|
<p class="short-description">Adds a single button to the dialog that will be display at the bottom of the widget</p>
|
344 |
|
|
<ul class="tags">
|
345 |
|
|
<li><span class="field">access:</span> public</li>
|
346 |
|
|
</ul>
|
347 |
|
|
|
348 |
|
|
<div class="method-signature">
|
349 |
|
|
<span class="method-result">void</span>
|
350 |
|
|
<span class="method-name">
|
351 |
|
|
add_button
|
352 |
|
|
</span>
|
353 |
|
|
(<span class="var-type">string</span> <span class="var-name">$title</span>, [<span class="var-type">string</span> <span class="var-name">$action</span> = <span class="var-default">NULL</span>])
|
354 |
|
|
</div>
|
355 |
|
|
|
356 |
|
|
<ul class="parameters">
|
357 |
|
|
<li>
|
358 |
|
|
<span class="var-type">string</span>
|
359 |
|
|
<span class="var-name">$title</span><span class="var-description">: - button title</span> </li>
|
360 |
|
|
<li>
|
361 |
|
|
<span class="var-type">string</span>
|
362 |
|
|
<span class="var-name">$action</span><span class="var-description">: - button action, if NULL, then submit button is created</span> </li>
|
363 |
|
|
</ul>
|
364 |
|
|
|
365 |
|
|
<hr class="separator" />
|
366 |
|
|
<div class="notes">Redefinition of:</div>
|
367 |
|
|
<dl>
|
368 |
|
|
<dt><a href="../phpHtmlLib/DialogWidget.html#methodadd_button">DialogWidget::add_button()</a></dt>
|
369 |
|
|
<dd>Adds a single button to the dialog that will be display at the bottom of the widget</dd>
|
370 |
|
|
</dl>
|
371 |
|
|
|
372 |
|
|
</div>
|
373 |
|
|
<a name="methodadd_hidden_variable" id="add_hidden_variable"><!-- --></a>
|
374 |
|
|
<div class="evenrow">
|
375 |
|
|
|
376 |
|
|
<div class="method-header">
|
377 |
|
|
<span class="method-title">add_hidden_variable</span> (line <span class="line-number">118</span>)
|
378 |
|
|
</div>
|
379 |
|
|
|
380 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
381 |
|
|
<p class="short-description">Add a single extra hidden variable</p>
|
382 |
|
|
|
383 |
|
|
<div class="method-signature">
|
384 |
|
|
<span class="method-result">void</span>
|
385 |
|
|
<span class="method-name">
|
386 |
|
|
add_hidden_variable
|
387 |
|
|
</span>
|
388 |
|
|
(<span class="var-type">string</span> <span class="var-name">$key</span>, <span class="var-type">string</span> <span class="var-name">$value</span>)
|
389 |
|
|
</div>
|
390 |
|
|
|
391 |
|
|
<ul class="parameters">
|
392 |
|
|
<li>
|
393 |
|
|
<span class="var-type">string</span>
|
394 |
|
|
<span class="var-name">$key</span><span class="var-description">: - key of the hidden variable</span> </li>
|
395 |
|
|
<li>
|
396 |
|
|
<span class="var-type">string</span>
|
397 |
|
|
<span class="var-name">$value</span><span class="var-description">: - value of the variable</span> </li>
|
398 |
|
|
</ul>
|
399 |
|
|
|
400 |
|
|
|
401 |
|
|
</div>
|
402 |
|
|
<a name="methodadd_hidden_variables" id="add_hidden_variables"><!-- --></a>
|
403 |
|
|
<div class="oddrow">
|
404 |
|
|
|
405 |
|
|
<div class="method-header">
|
406 |
|
|
<span class="method-title">add_hidden_variables</span> (line <span class="line-number">129</span>)
|
407 |
|
|
</div>
|
408 |
|
|
|
409 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
410 |
|
|
<p class="short-description">Add extra hidden variables</p>
|
411 |
|
|
|
412 |
|
|
<div class="method-signature">
|
413 |
|
|
<span class="method-result">none</span>
|
414 |
|
|
<span class="method-name">
|
415 |
|
|
add_hidden_variables
|
416 |
|
|
</span>
|
417 |
|
|
(<span class="var-type">array</span> <span class="var-name">$vars</span>)
|
418 |
|
|
</div>
|
419 |
|
|
|
420 |
|
|
<ul class="parameters">
|
421 |
|
|
<li>
|
422 |
|
|
<span class="var-type">array</span>
|
423 |
|
|
<span class="var-name">$vars</span><span class="var-description">: an array of key => value hidden variables</span> </li>
|
424 |
|
|
</ul>
|
425 |
|
|
|
426 |
|
|
|
427 |
|
|
</div>
|
428 |
|
|
<a name="methodform_action_button" id="form_action_button"><!-- --></a>
|
429 |
|
|
<div class="evenrow">
|
430 |
|
|
|
431 |
|
|
<div class="method-header">
|
432 |
|
|
<span class="method-title">form_action_button</span> (line <span class="line-number">180</span>)
|
433 |
|
|
</div>
|
434 |
|
|
|
435 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
436 |
|
|
<p class="short-description">build an tag of type button which executes a javaScript function</p>
|
437 |
|
|
|
438 |
|
|
<div class="method-signature">
|
439 |
|
|
<span class="method-result">object</span>
|
440 |
|
|
<span class="method-name">
|
441 |
|
|
form_action_button
|
442 |
|
|
</span>
|
443 |
|
|
(<span class="var-type">string</span> <span class="var-name">$content</span>, [<span class="var-type">string</span> <span class="var-name">$action</span> = <span class="var-default">NULL</span>], [<span class="var-type">array</span> <span class="var-name">$attrib</span> = <span class="var-default">NULL</span>])
|
444 |
|
|
</div>
|
445 |
|
|
|
446 |
|
|
<ul class="parameters">
|
447 |
|
|
<li>
|
448 |
|
|
<span class="var-type">string</span>
|
449 |
|
|
<span class="var-name">$content</span> </li>
|
450 |
|
|
<li>
|
451 |
|
|
<span class="var-type">string</span>
|
452 |
|
|
<span class="var-name">$action</span> </li>
|
453 |
|
|
<li>
|
454 |
|
|
<span class="var-type">array</span>
|
455 |
|
|
<span class="var-name">$attrib</span><span class="var-description">: - additional attributes</span> </li>
|
456 |
|
|
</ul>
|
457 |
|
|
|
458 |
|
|
|
459 |
|
|
</div>
|
460 |
|
|
<a name="methodget_message" id="get_message"><!-- --></a>
|
461 |
|
|
<div class="oddrow">
|
462 |
|
|
|
463 |
|
|
<div class="method-header">
|
464 |
|
|
<span class="method-title">get_message</span> (line <span class="line-number">105</span>)
|
465 |
|
|
</div>
|
466 |
|
|
|
467 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
468 |
|
|
<p class="short-description">Gets the current value of the _message</p>
|
469 |
|
|
|
470 |
|
|
<div class="method-signature">
|
471 |
|
|
<span class="method-result">string</span>
|
472 |
|
|
<span class="method-name">
|
473 |
|
|
get_message
|
474 |
|
|
</span>
|
475 |
|
|
()
|
476 |
|
|
</div>
|
477 |
|
|
|
478 |
|
|
|
479 |
|
|
|
480 |
|
|
</div>
|
481 |
|
|
<a name="methodrender" id="render"><!-- --></a>
|
482 |
|
|
<div class="evenrow">
|
483 |
|
|
|
484 |
|
|
<div class="method-header">
|
485 |
|
|
<span class="method-title">render</span> (line <span class="line-number">60</span>)
|
486 |
|
|
</div>
|
487 |
|
|
|
488 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
489 |
|
|
<p class="short-description">We override the render function</p>
|
490 |
|
|
<p class="description"><p>because we want to wrap the table inside a form tag</p></p>
|
491 |
|
|
|
492 |
|
|
<div class="method-signature">
|
493 |
|
|
<span class="method-result">void</span>
|
494 |
|
|
<span class="method-name">
|
495 |
|
|
render
|
496 |
|
|
</span>
|
497 |
|
|
([<span class="var-type">mixed</span> <span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">mixed</span> <span class="var-name">$output_debug</span>)
|
498 |
|
|
</div>
|
499 |
|
|
|
500 |
|
|
|
501 |
|
|
<hr class="separator" />
|
502 |
|
|
<div class="notes">Redefinition of:</div>
|
503 |
|
|
<dl>
|
504 |
|
|
<dt><a href="../phpHtmlLib/DialogWidget.html#methodrender">DialogWidget::render()</a></dt>
|
505 |
|
|
<dd>Creates a container with title,</dd>
|
506 |
|
|
</dl>
|
507 |
|
|
|
508 |
|
|
</div>
|
509 |
|
|
<a name="methodset_message" id="set_message"><!-- --></a>
|
510 |
|
|
<div class="oddrow">
|
511 |
|
|
|
512 |
|
|
<div class="method-header">
|
513 |
|
|
<span class="method-title">set_message</span> (line <span class="line-number">96</span>)
|
514 |
|
|
</div>
|
515 |
|
|
|
516 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
517 |
|
|
<p class="short-description">This sets the _message for the _message window.</p>
|
518 |
|
|
|
519 |
|
|
<div class="method-signature">
|
520 |
|
|
<span class="method-result">void</span>
|
521 |
|
|
<span class="method-name">
|
522 |
|
|
set_message
|
523 |
|
|
</span>
|
524 |
|
|
(<span class="var-type">string</span> <span class="var-name">$mesg</span>)
|
525 |
|
|
</div>
|
526 |
|
|
|
527 |
|
|
<ul class="parameters">
|
528 |
|
|
<li>
|
529 |
|
|
<span class="var-type">string</span>
|
530 |
|
|
<span class="var-name">$mesg</span><span class="var-description">: - the _message to display</span> </li>
|
531 |
|
|
</ul>
|
532 |
|
|
|
533 |
|
|
|
534 |
|
|
</div>
|
535 |
|
|
<h4>Inherited Methods</h4>
|
536 |
|
|
<a name='inherited_methods'><!-- --></a>
|
537 |
|
|
<!-- =========== Summary =========== -->
|
538 |
|
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/StandardDialogWidget.html">StandardDialogWidget</a></span></p>
|
539 |
|
|
<blockquote>
|
540 |
|
|
<span class="method-name"><a href="../phpHtmlLib/StandardDialogWidget.html#methodadd_block">StandardDialogWidget::add_block()</a></span><br>
|
541 |
|
|
<span class="method-name"><a href="../phpHtmlLib/StandardDialogWidget.html#method_build_message_container">StandardDialogWidget::_build_message_container()</a></span><br>
|
542 |
|
|
</blockquote>
|
543 |
|
|
<!-- =========== Summary =========== -->
|
544 |
|
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/DialogWidget.html">DialogWidget</a></span></p>
|
545 |
|
|
<blockquote>
|
546 |
|
|
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#methodDialogWidget">DialogWidget::DialogWidget()</a></span><br>
|
547 |
|
|
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#methodadd">DialogWidget::add()</a></span><br>
|
548 |
|
|
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#methodadd_button">DialogWidget::add_button()</a></span><br>
|
549 |
|
|
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#methodrender">DialogWidget::render()</a></span><br>
|
550 |
|
|
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#methodset_cancel_url">DialogWidget::set_cancel_url()</a></span><br>
|
551 |
|
|
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#methodshow_cancel_button">DialogWidget::show_cancel_button()</a></span><br>
|
552 |
|
|
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#method_build_cancel_url">DialogWidget::_build_cancel_url()</a></span><br>
|
553 |
|
|
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#method_build_message_container">DialogWidget::_build_message_container()</a></span><br>
|
554 |
|
|
</blockquote>
|
555 |
|
|
<!-- =========== Summary =========== -->
|
556 |
|
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p>
|
557 |
|
|
<blockquote>
|
558 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></span><br>
|
559 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></span><br>
|
560 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></span><br>
|
561 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></span><br>
|
562 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></span><br>
|
563 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></span><br>
|
564 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></span><br>
|
565 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></span><br>
|
566 |
|
|
</blockquote>
|
567 |
|
|
<!-- =========== Summary =========== -->
|
568 |
|
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p>
|
569 |
|
|
<blockquote>
|
570 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br>
|
571 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br>
|
572 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br>
|
573 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br>
|
574 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_element">Container::get_element()</a></span><br>
|
575 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br>
|
576 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br>
|
577 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br>
|
578 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br>
|
579 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br>
|
580 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br>
|
581 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br>
|
582 |
|
|
</blockquote>
|
583 |
|
|
|
584 |
|
|
</div>
|
585 |
|
|
</div>
|
586 |
|
|
|
587 |
|
|
|
588 |
|
|
<p class="notes" id="credit">
|
589 |
|
|
Documentation generated on Thu, 1 Apr 2004 09:39:05 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a>
|
590 |
|
|
</p>
|
591 |
|
|
</div></body>
|
592 |
|
|
</html>
|