/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/TreeNav.html
ViewVC logotype

Contents of /nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/TreeNav.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Thu May 6 16:24:24 2004 UTC (20 years, 2 months ago) by jonen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +437 -441 lines
File MIME type: text/html
 updated all to v2.4.1 - Apr 01, 2004

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 TreeNav</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 TreeNav</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 class tries to build a tree navigational widget.</p>
27 <p class="description"><p>definetly not done.</p></p>
28 <ul class="tags">
29 <li><span class="field">author:</span> Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>&gt;</li>
30 </ul>
31 <p class="notes">
32 Located in <a class="field" href="_widgets_TreeNav_inc.html">/widgets/TreeNav.inc</a> (line <span class="field">25</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 --TreeNav</pre>
41
42 </div>
43 </div>
44
45
46
47
48 <a name="sec-method-summary"></a>
49 <div class="info-box">
50 <div class="info-box-title">Method Summary</span></div>
51 <div class="nav-bar">
52 <a href="#sec-description">Description</a> |
53 <a href="#sec-vars">Vars</a>
54
55 |
56 <span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
57 </div>
58 <div class="info-box-body">
59 <div class="method-summary">
60
61 <div class="method-definition">
62 <span class="method-result">TreeNav</span>
63 <a href="#TreeNav" title="details" class="method-name">TreeNav</a>
64 ([<span class="var-type">int</span>&nbsp;<span class="var-name">$width</span> = <span class="var-default">760</span>])
65 </div>
66
67 <div class="method-definition">
68 <span class="method-result">void</span>
69 <a href="#build_img_td" title="details" class="method-name">build_img_td</a>
70 ()
71 </div>
72
73 <div class="method-definition">
74 <span class="method-result">void</span>
75 <a href="#build_innertable" title="details" class="method-name">build_innertable</a>
76 ()
77 </div>
78
79 <div class="method-definition">
80 <span class="method-result">void</span>
81 <a href="#build_link_td" title="details" class="method-name">build_link_td</a>
82 (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$nav</span>)
83 </div>
84
85 <div class="method-definition">
86 <span class="method-result">void</span>
87 <a href="#build_spacer_td" title="details" class="method-name">build_spacer_td</a>
88 ()
89 </div>
90
91 <div class="method-definition">
92 <span class="method-result">void</span>
93 <a href="#push" title="details" class="method-name">push</a>
94 (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$url</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$text</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$selected</span> = <span class="var-default">FALSE</span>])
95 </div>
96
97 <div class="method-definition">
98 <span class="method-result">void</span>
99 <a href="#push_blank" title="details" class="method-name">push_blank</a>
100 ([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$num</span> = <span class="var-default">1</span>])
101 </div>
102
103 <div class="method-definition">
104 <span class="method-result">void</span>
105 <a href="#push_text" title="details" class="method-name">push_text</a>
106 (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$text</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$selected</span> = <span class="var-default">FALSE</span>])
107 </div>
108
109 <div class="method-definition">
110 <span class="method-result">string</span>
111 <a href="#render" title="details" class="method-name">render</a>
112 ([<span class="var-type">int</span>&nbsp;<span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">int</span>&nbsp;<span class="var-name">$output_debug</span>)
113 </div>
114
115 <div class="method-definition">
116 <span class="method-result">void</span>
117 <a href="#set_selected" title="details" class="method-name">set_selected</a>
118 (<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
119 </div>
120 </div>
121 </div>
122 </div>
123
124 <a name="sec-vars"></a>
125 <div class="info-box">
126 <div class="info-box-title">Variables</div>
127 <div class="nav-bar">
128 <a href="#sec-description">Description</a> |
129 <a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
130
131
132 |
133 <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
134
135 </div>
136 <div class="info-box-body">
137
138 <h4>Inherited Variables</h4>
139 <A NAME='inherited_vars'><!-- --></A>
140 <p>Inherited from <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p>
141 <blockquote>
142 <span class="var-title">
143 <span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></span><br>
144 </span>
145 <span class="var-title">
146 <span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></span><br>
147 </span>
148 </blockquote>
149
150 </div>
151 </div>
152
153 <a name="sec-methods"></a>
154 <div class="info-box">
155 <div class="info-box-title">Methods</div>
156 <div class="nav-bar">
157 <a href="#sec-description">Description</a> |
158 <a href="#sec-vars">Vars</a>
159 <a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
160
161 </div>
162 <div class="info-box-body">
163 <A NAME='method_detail'></A>
164 <a name="methodTreeNav" id="TreeNav"><!-- --></a>
165 <div class="oddrow">
166
167 <div class="method-header">
168 <span class="method-title">Constructor TreeNav</span> (line <span class="line-number">34</span>)
169 </div>
170
171 <!-- ========== Info from phpDoc block ========= -->
172 <p class="short-description">Constructor for this class It just sets the width for the widget.</p>
173
174 <div class="method-signature">
175 <span class="method-result">TreeNav</span>
176 <span class="method-name">
177 TreeNav
178 </span>
179 ([<span class="var-type">int</span>&nbsp;<span class="var-name">$width</span> = <span class="var-default">760</span>])
180 </div>
181
182 <ul class="parameters">
183 <li>
184 <span class="var-type">int</span>
185 <span class="var-name">$width</span><span class="var-description">: - the width of the widget</span> </li>
186 </ul>
187
188
189 </div>
190 <a name="methodbuild_img_td" id="build_img_td"><!-- --></a>
191 <div class="evenrow">
192
193 <div class="method-header">
194 <span class="method-title">build_img_td</span> (line <span class="line-number">70</span>)
195 </div>
196
197 <!-- ========== Info from phpDoc block ========= -->
198 <p class="short-description">build the image seperator td</p>
199
200 <div class="method-signature">
201 <span class="method-result">void</span>
202 <span class="method-name">
203 build_img_td
204 </span>
205 ()
206 </div>
207
208
209
210 </div>
211 <a name="methodbuild_innertable" id="build_innertable"><!-- --></a>
212 <div class="oddrow">
213
214 <div class="method-header">
215 <span class="method-title">build_innertable</span> (line <span class="line-number">121</span>)
216 </div>
217
218 <!-- ========== Info from phpDoc block ========= -->
219 <p class="short-description">build all of the idividual nav elements.</p>
220
221 <div class="method-signature">
222 <span class="method-result">void</span>
223 <span class="method-name">
224 build_innertable
225 </span>
226 ()
227 </div>
228
229
230
231 </div>
232 <a name="methodbuild_link_td" id="build_link_td"><!-- --></a>
233 <div class="evenrow">
234
235 <div class="method-header">
236 <span class="method-title">build_link_td</span> (line <span class="line-number">86</span>)
237 </div>
238
239 <!-- ========== Info from phpDoc block ========= -->
240 <p class="short-description">build the link td.</p>
241
242 <div class="method-signature">
243 <span class="method-result">void</span>
244 <span class="method-name">
245 build_link_td
246 </span>
247 (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$nav</span>)
248 </div>
249
250
251
252 </div>
253 <a name="methodbuild_spacer_td" id="build_spacer_td"><!-- --></a>
254 <div class="oddrow">
255
256 <div class="method-header">
257 <span class="method-title">build_spacer_td</span> (line <span class="line-number">103</span>)
258 </div>
259
260 <!-- ========== Info from phpDoc block ========= -->
261 <p class="short-description">build a spacer td.</p>
262
263 <div class="method-signature">
264 <span class="method-result">void</span>
265 <span class="method-name">
266 build_spacer_td
267 </span>
268 ()
269 </div>
270
271
272
273 </div>
274 <a name="methodpush" id="push"><!-- --></a>
275 <div class="evenrow">
276
277 <div class="method-header">
278 <span class="method-title">push</span> (line <span class="line-number">41</span>)
279 </div>
280
281 <!-- ========== Info from phpDoc block ========= -->
282
283 <div class="method-signature">
284 <span class="method-result">void</span>
285 <span class="method-name">
286 push
287 </span>
288 (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$url</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$text</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$selected</span> = <span class="var-default">FALSE</span>])
289 </div>
290
291
292 <hr class="separator" />
293 <div class="notes">Redefinition of:</div>
294 <dl>
295 <dt><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></dt>
296 <dd>Same as add().</dd>
297 </dl>
298
299 </div>
300 <a name="methodpush_blank" id="push_blank"><!-- --></a>
301 <div class="oddrow">
302
303 <div class="method-header">
304 <span class="method-title">push_blank</span> (line <span class="line-number">46</span>)
305 </div>
306
307 <!-- ========== Info from phpDoc block ========= -->
308
309 <div class="method-signature">
310 <span class="method-result">void</span>
311 <span class="method-name">
312 push_blank
313 </span>
314 ([<span class="var-type">mixed</span>&nbsp;<span class="var-name">$num</span> = <span class="var-default">1</span>])
315 </div>
316
317
318
319 </div>
320 <a name="methodpush_text" id="push_text"><!-- --></a>
321 <div class="evenrow">
322
323 <div class="method-header">
324 <span class="method-title">push_text</span> (line <span class="line-number">51</span>)
325 </div>
326
327 <!-- ========== Info from phpDoc block ========= -->
328
329 <div class="method-signature">
330 <span class="method-result">void</span>
331 <span class="method-name">
332 push_text
333 </span>
334 (<span class="var-type">mixed</span>&nbsp;<span class="var-name">$text</span>, [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$selected</span> = <span class="var-default">FALSE</span>])
335 </div>
336
337
338
339 </div>
340 <a name="methodrender" id="render"><!-- --></a>
341 <div class="oddrow">
342
343 <div class="method-header">
344 <span class="method-title">render</span> (line <span class="line-number">156</span>)
345 </div>
346
347 <!-- ========== Info from phpDoc block ========= -->
348 <p class="short-description">function that will render the widget.</p>
349 <ul class="tags">
350 <li><span class="field">return:</span> the raw html output.</li>
351 </ul>
352
353 <div class="method-signature">
354 <span class="method-result">string</span>
355 <span class="method-name">
356 render
357 </span>
358 ([<span class="var-type">int</span>&nbsp;<span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">int</span>&nbsp;<span class="var-name">$output_debug</span>)
359 </div>
360
361 <ul class="parameters">
362 <li>
363 <span class="var-type">int</span>
364 <span class="var-name">$indent_level</span><span class="var-description">: - the indentation level for the container.</span> </li>
365 <li>
366 <span class="var-type">int</span>
367 <span class="var-name">$output_debug</span><span class="var-description">: - the output debug flag to maintain compatibility w/ the API.</span> </li>
368 </ul>
369
370 <hr class="separator" />
371 <div class="notes">Redefinition of:</div>
372 <dl>
373 <dt><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></dt>
374 <dd>This function is compatible with the rest of the phpHtmllib API spec.</dd>
375 </dl>
376
377 </div>
378 <a name="methodset_selected" id="set_selected"><!-- --></a>
379 <div class="evenrow">
380
381 <div class="method-header">
382 <span class="method-title">set_selected</span> (line <span class="line-number">62</span>)
383 </div>
384
385 <!-- ========== Info from phpDoc block ========= -->
386 <p class="short-description">Set this text as the selected item</p>
387
388 <div class="method-signature">
389 <span class="method-result">void</span>
390 <span class="method-name">
391 set_selected
392 </span>
393 (<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
394 </div>
395
396 <ul class="parameters">
397 <li>
398 <span class="var-type">string</span>
399 <span class="var-name">$text</span><span class="var-description">: - the text item selected.</span> </li>
400 </ul>
401
402
403 </div>
404 <h4>Inherited Methods</h4>
405 <a name='inherited_methods'><!-- --></a>
406 <!-- =========== Summary =========== -->
407 <p>Inherited From <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p>
408 <blockquote>
409 <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></span><br>
410 <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></span><br>
411 <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></span><br>
412 <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></span><br>
413 <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></span><br>
414 <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></span><br>
415 <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></span><br>
416 <span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></span><br>
417 </blockquote>
418 <!-- =========== Summary =========== -->
419 <p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p>
420 <blockquote>
421 <span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br>
422 <span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br>
423 <span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br>
424 <span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br>
425 <span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_element">Container::get_element()</a></span><br>
426 <span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br>
427 <span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br>
428 <span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br>
429 <span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br>
430 <span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br>
431 <span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br>
432 <span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br>
433 </blockquote>
434
435 </div>
436 </div>
437
438
439 <p class="notes" id="credit">
440 Documentation generated on Thu, 1 Apr 2004 09:40:11 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a>
441 </p>
442 </div></body>
443 </html>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed