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