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