/[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.3 - (show annotations)
Sat Sep 20 00:24:04 2003 UTC (20 years, 11 months ago) by jonen
Branch: MAIN
Changes since 1.2: +436 -555 lines
File MIME type: text/html
+ updated whole phphtmllib to v2.3.0

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

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