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 MessageBoxOK</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 |
|
13 |
<h2 class="class-name">Class MessageBoxOK</h2> |
14 |
|
15 |
<a name="sec-description"></a> |
16 |
<div class="info-box"> |
17 |
<div class="info-box-title">Description</div> |
18 |
<div class="nav-bar"> |
19 |
<span class="disabled">Description</span> | |
20 |
<a href="#sec-descendents">Descendents</a> |
21 |
| <a href="#sec-vars">Vars</a> |
22 |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
23 |
|
24 |
</div> |
25 |
<div class="info-box-body"> |
26 |
<!-- ========== Info from phpDoc block ========= --> |
27 |
<p class="short-description">This is a class for building a MessageBox with an OK button.</p> |
28 |
<ul class="tags"> |
29 |
<li><span class="field">author:</span> Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></li> |
30 |
</ul> |
31 |
<p class="notes"> |
32 |
Located in <a class="field" href="_widgets_MessageBoxWidget_inc.html">/widgets/MessageBoxWidget.inc</a> (line <span class="field">208</span>) |
33 |
</p> |
34 |
|
35 |
|
36 |
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
37 |
| |
38 |
--<a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a> |
39 |
| |
40 |
--<a href="../phpHtmlLib/DialogWidget.html">DialogWidget</a> |
41 |
| |
42 |
--<a href="../phpHtmlLib/StandardDialogWidget.html">StandardDialogWidget</a> |
43 |
| |
44 |
--<a href="../phpHtmlLib/MessageBoxWidget.html">MessageBoxWidget</a> |
45 |
| |
46 |
--MessageBoxOK</pre> |
47 |
|
48 |
</div> |
49 |
</div> |
50 |
|
51 |
<a name="sec-descendents"></a> |
52 |
<div class="info-box"> |
53 |
<div class="info-box-title">Direct descendents</div> |
54 |
<div class="nav-bar"> |
55 |
<a href="#sec-description">Description</a> | |
56 |
<span class="disabled">Descendents</span> |
57 |
| <a href="#sec-vars">Vars</a> |
58 |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
59 |
|
60 |
</div> |
61 |
<div class="info-box-body"> |
62 |
<table cellpadding="2" cellspacing="0" class="class-table"> |
63 |
<tr> |
64 |
<th class="class-table-header">Class</th> |
65 |
<th class="class-table-header">Description</th> |
66 |
</tr> |
67 |
<tr> |
68 |
<td style="padding-right: 2em"><a href="../phpHtmlLib/MessageBoxOKCancel.html">MessageBoxOKCancel</a></td> |
69 |
<td> |
70 |
This is a class for building a MessageBox with an OK and Cancel button. |
71 |
</td> |
72 |
</tr> |
73 |
</table> |
74 |
</div> |
75 |
</div> |
76 |
|
77 |
|
78 |
|
79 |
<a name="sec-method-summary"></a> |
80 |
<div class="info-box"> |
81 |
<div class="info-box-title">Method Summary</span></div> |
82 |
<div class="nav-bar"> |
83 |
<a href="#sec-description">Description</a> | |
84 |
<a href="#sec-descendents">Descendents</a> | |
85 |
<a href="#sec-vars">Vars</a> |
86 |
|
87 |
| |
88 |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
89 |
</div> |
90 |
<div class="info-box-body"> |
91 |
<div class="method-summary"> |
92 |
|
93 |
<div class="method-definition"> |
94 |
<span class="method-result">MessageBoxOK</span> |
95 |
<a href="#MessageBoxOK" title="details" class="method-name">MessageBoxOK</a> |
96 |
(<span class="var-type">string</span> <span class="var-name">$title</span>, <span class="var-type">string</span> <span class="var-name">$width</span>, <span class="var-type">string</span> <span class="var-name">$message</span>, [<span class="var-type">string</span> <span class="var-name">$ok_action</span> = <span class="var-default">"javascript:history.back();"</span>], [<span class="var-type">array</span> <span class="var-name">$hidden_values</span> = <span class="var-default">array()</span>]) |
97 |
</div> |
98 |
</div> |
99 |
</div> |
100 |
</div> |
101 |
|
102 |
<a name="sec-vars"></a> |
103 |
<div class="info-box"> |
104 |
<div class="info-box-title">Variables</div> |
105 |
<div class="nav-bar"> |
106 |
<a href="#sec-description">Description</a> | |
107 |
<a href="#sec-descendents">Descendents</a> | |
108 |
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
109 |
|
110 |
|
111 |
| |
112 |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
113 |
|
114 |
</div> |
115 |
<div class="info-box-body"> |
116 |
|
117 |
<h4>Inherited Variables</h4> |
118 |
<A NAME='inherited_vars'><!-- --></A> |
119 |
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/MessageBoxWidget.html">MessageBoxWidget</a></span></p> |
120 |
<blockquote> |
121 |
<span class="var-title"> |
122 |
<span class="var-name"><a href="../phpHtmlLib/MessageBoxWidget.html#var$_form_method">MessageBoxWidget::$_form_method</a></span><br> |
123 |
</span> |
124 |
<span class="var-title"> |
125 |
<span class="var-name"><a href="../phpHtmlLib/MessageBoxWidget.html#var$_has_form">MessageBoxWidget::$_has_form</a></span><br> |
126 |
</span> |
127 |
<span class="var-title"> |
128 |
<span class="var-name"><a href="../phpHtmlLib/MessageBoxWidget.html#var$_hidden_vars">MessageBoxWidget::$_hidden_vars</a></span><br> |
129 |
</span> |
130 |
<span class="var-title"> |
131 |
<span class="var-name"><a href="../phpHtmlLib/MessageBoxWidget.html#var$_message">MessageBoxWidget::$_message</a></span><br> |
132 |
</span> |
133 |
</blockquote> |
134 |
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/DialogWidget.html">DialogWidget</a></span></p> |
135 |
<blockquote> |
136 |
<span class="var-title"> |
137 |
<span class="var-name"><a href="../phpHtmlLib/DialogWidget.html#var$_buttons">DialogWidget::$_buttons</a></span><br> |
138 |
</span> |
139 |
<span class="var-title"> |
140 |
<span class="var-name"><a href="../phpHtmlLib/DialogWidget.html#var$_cancel_url">DialogWidget::$_cancel_url</a></span><br> |
141 |
</span> |
142 |
<span class="var-title"> |
143 |
<span class="var-name"><a href="../phpHtmlLib/DialogWidget.html#var$_show_cancel_button">DialogWidget::$_show_cancel_button</a></span><br> |
144 |
</span> |
145 |
</blockquote> |
146 |
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
147 |
<blockquote> |
148 |
<span class="var-title"> |
149 |
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></span><br> |
150 |
</span> |
151 |
<span class="var-title"> |
152 |
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></span><br> |
153 |
</span> |
154 |
</blockquote> |
155 |
|
156 |
</div> |
157 |
</div> |
158 |
|
159 |
<a name="sec-methods"></a> |
160 |
<div class="info-box"> |
161 |
<div class="info-box-title">Methods</div> |
162 |
<div class="nav-bar"> |
163 |
<a href="#sec-description">Description</a> | |
164 |
<a href="#sec-descendents">Descendents</a> | |
165 |
<a href="#sec-vars">Vars</a> |
166 |
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
167 |
|
168 |
</div> |
169 |
<div class="info-box-body"> |
170 |
<A NAME='method_detail'></A> |
171 |
<a name="methodMessageBoxOK" id="MessageBoxOK"><!-- --></a> |
172 |
<div class="evenrow"> |
173 |
|
174 |
<div class="method-header"> |
175 |
<span class="method-title">Constructor MessageBoxOK</span> (line <span class="line-number">218</span>) |
176 |
</div> |
177 |
|
178 |
<!-- ========== Info from phpDoc block ========= --> |
179 |
|
180 |
<div class="method-signature"> |
181 |
<span class="method-result">MessageBoxOK</span> |
182 |
<span class="method-name"> |
183 |
MessageBoxOK |
184 |
</span> |
185 |
(<span class="var-type">string</span> <span class="var-name">$title</span>, <span class="var-type">string</span> <span class="var-name">$width</span>, <span class="var-type">string</span> <span class="var-name">$message</span>, [<span class="var-type">string</span> <span class="var-name">$ok_action</span> = <span class="var-default">"javascript:history.back();"</span>], [<span class="var-type">array</span> <span class="var-name">$hidden_values</span> = <span class="var-default">array()</span>]) |
186 |
</div> |
187 |
|
188 |
<ul class="parameters"> |
189 |
<li> |
190 |
<span class="var-type">string</span> |
191 |
<span class="var-name">$title</span><span class="var-description">: the title</span> </li> |
192 |
<li> |
193 |
<span class="var-type">string</span> |
194 |
<span class="var-name">$width</span><span class="var-description">: the width</span> </li> |
195 |
<li> |
196 |
<span class="var-type">string</span> |
197 |
<span class="var-name">$message</span><span class="var-description">: the message for the box</span> </li> |
198 |
<li> |
199 |
<span class="var-type">string</span> |
200 |
<span class="var-name">$ok_action</span><span class="var-description">: the ok action to perform. history.back() by default</span> </li> |
201 |
<li> |
202 |
<span class="var-type">array</span> |
203 |
<span class="var-name">$hidden_values</span><span class="var-description">: an array of hidden form variables to post along with the form.</span> </li> |
204 |
</ul> |
205 |
|
206 |
|
207 |
</div> |
208 |
<h4>Inherited Methods</h4> |
209 |
<a name='inherited_methods'><!-- --></a> |
210 |
<!-- =========== Summary =========== --> |
211 |
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/MessageBoxWidget.html">MessageBoxWidget</a></span></p> |
212 |
<blockquote> |
213 |
<span class="method-name"><a href="../phpHtmlLib/MessageBoxWidget.html#methodMessageBoxWidget">MessageBoxWidget::MessageBoxWidget()</a></span><br> |
214 |
<span class="method-name"><a href="../phpHtmlLib/MessageBoxWidget.html#methodadd_button">MessageBoxWidget::add_button()</a></span><br> |
215 |
<span class="method-name"><a href="../phpHtmlLib/MessageBoxWidget.html#methodadd_hidden_variable">MessageBoxWidget::add_hidden_variable()</a></span><br> |
216 |
<span class="method-name"><a href="../phpHtmlLib/MessageBoxWidget.html#methodadd_hidden_variables">MessageBoxWidget::add_hidden_variables()</a></span><br> |
217 |
<span class="method-name"><a href="../phpHtmlLib/MessageBoxWidget.html#methodform_action_button">MessageBoxWidget::form_action_button()</a></span><br> |
218 |
<span class="method-name"><a href="../phpHtmlLib/MessageBoxWidget.html#methodget_message">MessageBoxWidget::get_message()</a></span><br> |
219 |
<span class="method-name"><a href="../phpHtmlLib/MessageBoxWidget.html#methodrender">MessageBoxWidget::render()</a></span><br> |
220 |
<span class="method-name"><a href="../phpHtmlLib/MessageBoxWidget.html#methodset_message">MessageBoxWidget::set_message()</a></span><br> |
221 |
</blockquote> |
222 |
<!-- =========== Summary =========== --> |
223 |
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/StandardDialogWidget.html">StandardDialogWidget</a></span></p> |
224 |
<blockquote> |
225 |
<span class="method-name"><a href="../phpHtmlLib/StandardDialogWidget.html#methodadd_block">StandardDialogWidget::add_block()</a></span><br> |
226 |
<span class="method-name"><a href="../phpHtmlLib/StandardDialogWidget.html#method_build_message_container">StandardDialogWidget::_build_message_container()</a></span><br> |
227 |
</blockquote> |
228 |
<!-- =========== Summary =========== --> |
229 |
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/DialogWidget.html">DialogWidget</a></span></p> |
230 |
<blockquote> |
231 |
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#methodDialogWidget">DialogWidget::DialogWidget()</a></span><br> |
232 |
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#methodadd">DialogWidget::add()</a></span><br> |
233 |
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#methodadd_button">DialogWidget::add_button()</a></span><br> |
234 |
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#methodrender">DialogWidget::render()</a></span><br> |
235 |
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#methodset_cancel_url">DialogWidget::set_cancel_url()</a></span><br> |
236 |
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#methodshow_cancel_button">DialogWidget::show_cancel_button()</a></span><br> |
237 |
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#method_build_cancel_url">DialogWidget::_build_cancel_url()</a></span><br> |
238 |
<span class="method-name"><a href="../phpHtmlLib/DialogWidget.html#method_build_message_container">DialogWidget::_build_message_container()</a></span><br> |
239 |
</blockquote> |
240 |
<!-- =========== Summary =========== --> |
241 |
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
242 |
<blockquote> |
243 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></span><br> |
244 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></span><br> |
245 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></span><br> |
246 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></span><br> |
247 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></span><br> |
248 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></span><br> |
249 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></span><br> |
250 |
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></span><br> |
251 |
</blockquote> |
252 |
<!-- =========== Summary =========== --> |
253 |
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
254 |
<blockquote> |
255 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br> |
256 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br> |
257 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br> |
258 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br> |
259 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_element">Container::get_element()</a></span><br> |
260 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br> |
261 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br> |
262 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br> |
263 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br> |
264 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br> |
265 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br> |
266 |
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br> |
267 |
</blockquote> |
268 |
|
269 |
</div> |
270 |
</div> |
271 |
|
272 |
|
273 |
<p class="notes" id="credit"> |
274 |
Documentation generated on Thu, 1 Apr 2004 09:39:04 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a> |
275 |
</p> |
276 |
</div></body> |
277 |
</html> |