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 ButtonPanel</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 ButtonPanel</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-var-summary">Vars</a> (<a href="#sec-vars">details</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 class defines a bottom button panel for a dialog box window It is a BaseWidget child with a specific css style class and border This row is separated by vertical top line</p>
|
26 |
|
|
<ul class="tags">
|
27 |
|
|
<li><span class="field">author:</span> Suren Markosian</li>
|
28 |
|
|
</ul>
|
29 |
|
|
<p class="notes">
|
30 |
|
|
Located in <a class="field" href="_widgets_ButtonPanel_inc.html">/widgets/ButtonPanel.inc</a> (line <span class="field">19</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 |
|
|
--ButtonPanel</pre>
|
39 |
|
|
|
40 |
|
|
</div>
|
41 |
|
|
</div>
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
<a name="sec-var-summary"></a>
|
46 |
|
|
<div class="info-box">
|
47 |
|
|
<div class="info-box-title">Variable Summary</span></div>
|
48 |
|
|
<div class="nav-bar">
|
49 |
|
|
<a href="#sec-description">Description</a> |
|
50 |
|
|
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
|
51 |
|
|
|
|
52 |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
53 |
|
|
|
54 |
|
|
</div>
|
55 |
|
|
<div class="info-box-body">
|
56 |
|
|
<div class="var-summary">
|
57 |
|
|
<div class="var-title">
|
58 |
|
|
<span class="var-type">mixed</span>
|
59 |
|
|
<a href="#$data" title="details" class="var-name">$data</a>
|
60 |
|
|
</div>
|
61 |
|
|
</div>
|
62 |
|
|
</div>
|
63 |
|
|
</div>
|
64 |
|
|
|
65 |
|
|
<a name="sec-method-summary"></a>
|
66 |
|
|
<div class="info-box">
|
67 |
|
|
<div class="info-box-title">Method Summary</span></div>
|
68 |
|
|
<div class="nav-bar">
|
69 |
|
|
<a href="#sec-description">Description</a> |
|
70 |
|
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
|
71 |
|
|
|
72 |
|
|
|
|
73 |
|
|
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
|
74 |
|
|
</div>
|
75 |
|
|
<div class="info-box-body">
|
76 |
|
|
<div class="method-summary">
|
77 |
|
|
|
78 |
|
|
<div class="method-definition">
|
79 |
|
|
<span class="method-result">none.</span>
|
80 |
|
|
<a href="#ButtonPanel" title="details" class="method-name">ButtonPanel</a>
|
81 |
|
|
([<span class="var-type">string</span> <span class="var-name">$width</span> = <span class="var-default">"100%"</span>], [<span class="var-type">string</span> <span class="var-name">$align</span> = <span class="var-default">"center"</span>])
|
82 |
|
|
</div>
|
83 |
|
|
|
84 |
|
|
<div class="method-definition">
|
85 |
|
|
<span class="method-result">void</span>
|
86 |
|
|
<a href="#add" title="details" class="method-name">add</a>
|
87 |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$content</span>)
|
88 |
|
|
</div>
|
89 |
|
|
|
90 |
|
|
<div class="method-definition">
|
91 |
|
|
<span class="method-result">void</span>
|
92 |
|
|
<a href="#render" title="details" class="method-name">render</a>
|
93 |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$indent_level</span>, <span class="var-type">mixed</span> <span class="var-name">$output_debug</span>)
|
94 |
|
|
</div>
|
95 |
|
|
|
96 |
|
|
<div class="method-definition">
|
97 |
|
|
<span class="method-result"><a href="../phpHtmlLib/DIVtag.html">DIVtag</a></span>
|
98 |
|
|
<a href="#_build_wrapper" title="details" class="method-name">&_build_wrapper</a>
|
99 |
|
|
()
|
100 |
|
|
</div>
|
101 |
|
|
</div>
|
102 |
|
|
</div>
|
103 |
|
|
</div>
|
104 |
|
|
|
105 |
|
|
<a name="sec-vars"></a>
|
106 |
|
|
<div class="info-box">
|
107 |
|
|
<div class="info-box-title">Variables</div>
|
108 |
|
|
<div class="nav-bar">
|
109 |
|
|
<a href="#sec-description">Description</a> |
|
110 |
|
|
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
|
|
114 |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
|
115 |
|
|
|
116 |
|
|
</div>
|
117 |
|
|
<div class="info-box-body">
|
118 |
|
|
<a name="var$data" id="$data"><!-- --></A>
|
119 |
|
|
<div class="oddrow">
|
120 |
|
|
|
121 |
|
|
<div class="var-header">
|
122 |
|
|
<span class="var-title">
|
123 |
|
|
<span class="var-type">mixed</span>
|
124 |
|
|
<span class="var-name">$data</span>
|
125 |
|
|
(line <span class="line-number">25</span>)
|
126 |
|
|
</span>
|
127 |
|
|
</div>
|
128 |
|
|
|
129 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
130 |
|
|
<p class="short-description">Holds all the buttons</p>
|
131 |
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
|
|
</div>
|
137 |
|
|
<h4>Inherited Variables</h4>
|
138 |
|
|
<A NAME='inherited_vars'><!-- --></A>
|
139 |
|
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p>
|
140 |
|
|
<blockquote>
|
141 |
|
|
<span class="var-title">
|
142 |
|
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></span><br>
|
143 |
|
|
</span>
|
144 |
|
|
<span class="var-title">
|
145 |
|
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></span><br>
|
146 |
|
|
</span>
|
147 |
|
|
</blockquote>
|
148 |
|
|
|
149 |
|
|
</div>
|
150 |
|
|
</div>
|
151 |
|
|
|
152 |
|
|
<a name="sec-methods"></a>
|
153 |
|
|
<div class="info-box">
|
154 |
|
|
<div class="info-box-title">Methods</div>
|
155 |
|
|
<div class="nav-bar">
|
156 |
|
|
<a href="#sec-description">Description</a> |
|
157 |
|
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
|
158 |
|
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
|
159 |
|
|
|
160 |
|
|
</div>
|
161 |
|
|
<div class="info-box-body">
|
162 |
|
|
<A NAME='method_detail'></A>
|
163 |
|
|
<a name="methodButtonPanel" id="ButtonPanel"><!-- --></a>
|
164 |
|
|
<div class="evenrow">
|
165 |
|
|
|
166 |
|
|
<div class="method-header">
|
167 |
|
|
<span class="method-title">Constructor ButtonPanel</span> (line <span class="line-number">33</span>)
|
168 |
|
|
</div>
|
169 |
|
|
|
170 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
171 |
|
|
|
172 |
|
|
<div class="method-signature">
|
173 |
|
|
<span class="method-result">none.</span>
|
174 |
|
|
<span class="method-name">
|
175 |
|
|
ButtonPanel
|
176 |
|
|
</span>
|
177 |
|
|
([<span class="var-type">string</span> <span class="var-name">$width</span> = <span class="var-default">"100%"</span>], [<span class="var-type">string</span> <span class="var-name">$align</span> = <span class="var-default">"center"</span>])
|
178 |
|
|
</div>
|
179 |
|
|
|
180 |
|
|
<ul class="parameters">
|
181 |
|
|
<li>
|
182 |
|
|
<span class="var-type">string</span>
|
183 |
|
|
<span class="var-name">$width</span><span class="var-description">: the width of the button panel</span> </li>
|
184 |
|
|
<li>
|
185 |
|
|
<span class="var-type">string</span>
|
186 |
|
|
<span class="var-name">$align</span><span class="var-description">: the alignment.</span> </li>
|
187 |
|
|
</ul>
|
188 |
|
|
|
189 |
|
|
|
190 |
|
|
</div>
|
191 |
|
|
<a name="methodadd" id="add"><!-- --></a>
|
192 |
|
|
<div class="oddrow">
|
193 |
|
|
|
194 |
|
|
<div class="method-header">
|
195 |
|
|
<span class="method-title">add</span> (line <span class="line-number">44</span>)
|
196 |
|
|
</div>
|
197 |
|
|
|
198 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
199 |
|
|
<p class="short-description">Push content onto the data object</p>
|
200 |
|
|
<p class="description"><p>adds a button to the data</p></p>
|
201 |
|
|
|
202 |
|
|
<div class="method-signature">
|
203 |
|
|
<span class="method-result">void</span>
|
204 |
|
|
<span class="method-name">
|
205 |
|
|
add
|
206 |
|
|
</span>
|
207 |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$content</span>)
|
208 |
|
|
</div>
|
209 |
|
|
|
210 |
|
|
<ul class="parameters">
|
211 |
|
|
<li>
|
212 |
|
|
<span class="var-type">mixed</span>
|
213 |
|
|
<span class="var-name">$content</span><span class="var-description">: - either string, or tag object.</span> </li>
|
214 |
|
|
</ul>
|
215 |
|
|
|
216 |
|
|
<hr class="separator" />
|
217 |
|
|
<div class="notes">Redefinition of:</div>
|
218 |
|
|
<dl>
|
219 |
|
|
<dt><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></dt>
|
220 |
|
|
<dd>add content onto content stack</dd>
|
221 |
|
|
</dl>
|
222 |
|
|
|
223 |
|
|
</div>
|
224 |
|
|
<a name="methodrender" id="render"><!-- --></a>
|
225 |
|
|
<div class="evenrow">
|
226 |
|
|
|
227 |
|
|
<div class="method-header">
|
228 |
|
|
<span class="method-title">render</span> (line <span class="line-number">57</span>)
|
229 |
|
|
</div>
|
230 |
|
|
|
231 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
232 |
|
|
<p class="short-description">render the entire table.</p>
|
233 |
|
|
|
234 |
|
|
<div class="method-signature">
|
235 |
|
|
<span class="method-result">void</span>
|
236 |
|
|
<span class="method-name">
|
237 |
|
|
render
|
238 |
|
|
</span>
|
239 |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$indent_level</span>, <span class="var-type">mixed</span> <span class="var-name">$output_debug</span>)
|
240 |
|
|
</div>
|
241 |
|
|
|
242 |
|
|
|
243 |
|
|
<hr class="separator" />
|
244 |
|
|
<div class="notes">Redefinition of:</div>
|
245 |
|
|
<dl>
|
246 |
|
|
<dt><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></dt>
|
247 |
|
|
<dd>This function is compatible with the rest of the phpHtmllib API spec.</dd>
|
248 |
|
|
</dl>
|
249 |
|
|
|
250 |
|
|
</div>
|
251 |
|
|
<a name="method_build_wrapper" id="_build_wrapper"><!-- --></a>
|
252 |
|
|
<div class="oddrow">
|
253 |
|
|
|
254 |
|
|
<div class="method-header">
|
255 |
|
|
<span class="method-title">_build_wrapper</span> (line <span class="line-number">74</span>)
|
256 |
|
|
</div>
|
257 |
|
|
|
258 |
|
|
<!-- ========== Info from phpDoc block ========= -->
|
259 |
|
|
<p class="short-description">Builds the outer wrapper for the panel</p>
|
260 |
|
|
<ul class="tags">
|
261 |
|
|
<li><span class="field">return:</span> object</li>
|
262 |
|
|
</ul>
|
263 |
|
|
|
264 |
|
|
<div class="method-signature">
|
265 |
|
|
<span class="method-result"><a href="../phpHtmlLib/DIVtag.html">DIVtag</a></span>
|
266 |
|
|
<span class="method-name">
|
267 |
|
|
&_build_wrapper
|
268 |
|
|
</span>
|
269 |
|
|
()
|
270 |
|
|
</div>
|
271 |
|
|
|
272 |
|
|
|
273 |
|
|
|
274 |
|
|
</div>
|
275 |
|
|
<h4>Inherited Methods</h4>
|
276 |
|
|
<a name='inherited_methods'><!-- --></a>
|
277 |
|
|
<!-- =========== Summary =========== -->
|
278 |
|
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p>
|
279 |
|
|
<blockquote>
|
280 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></span><br>
|
281 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></span><br>
|
282 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></span><br>
|
283 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></span><br>
|
284 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></span><br>
|
285 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></span><br>
|
286 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></span><br>
|
287 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></span><br>
|
288 |
|
|
</blockquote>
|
289 |
|
|
<!-- =========== Summary =========== -->
|
290 |
|
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p>
|
291 |
|
|
<blockquote>
|
292 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br>
|
293 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br>
|
294 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br>
|
295 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br>
|
296 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_element">Container::get_element()</a></span><br>
|
297 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br>
|
298 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br>
|
299 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br>
|
300 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br>
|
301 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br>
|
302 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br>
|
303 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br>
|
304 |
|
|
</blockquote>
|
305 |
|
|
|
306 |
|
|
</div>
|
307 |
|
|
</div>
|
308 |
|
|
|
309 |
|
|
|
310 |
|
|
<p class="notes" id="credit">
|
311 |
|
|
Documentation generated on Thu, 1 Apr 2004 09:38:06 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a>
|
312 |
|
|
</p>
|
313 |
|
|
</div></body>
|
314 |
|
|
</html>
|