1 |
jonen |
1.3 |
<?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 TextCSSNav</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 TextCSSNav</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 builds a simple text navigational widget.</p> |
26 |
|
|
<ul class="tags"> |
27 |
|
|
<li><span class="field">author:</span> <p>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></p></li> |
28 |
|
|
</ul> |
29 |
|
|
<p class="notes"> |
30 |
|
|
Located in <a class="field" href="_widgets_TextCSSNav_inc.html">Program_Root/widgets/TextCSSNav.inc</a> (line <span class="field">24</span>) |
31 |
|
|
</p> |
32 |
|
|
|
33 |
|
|
|
34 |
|
|
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
35 |
jonen |
1.1 |
| |
36 |
|
|
--<a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a> |
37 |
|
|
| |
38 |
|
|
--TextCSSNav</pre> |
39 |
jonen |
1.3 |
|
40 |
|
|
</div> |
41 |
|
|
</div> |
42 |
|
|
|
43 |
|
|
|
44 |
|
|
<a name="sec-var-summary"></a> |
45 |
|
|
<div class="info-box"> |
46 |
|
|
<div class="info-box-title">Variable Summary</span></div> |
47 |
|
|
<div class="nav-bar"> |
48 |
|
|
<a href="#sec-description">Description</a> | |
49 |
|
|
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) |
50 |
|
|
| |
51 |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
52 |
|
|
|
53 |
|
|
</div> |
54 |
|
|
<div class="info-box-body"> |
55 |
|
|
<div class="var-summary"> |
56 |
|
|
<div class="var-title"> |
57 |
|
|
<span class="var-type">mixed</span> |
58 |
|
|
<a href="#$_highlight_selected" title="details" class="var-name">$_highlight_selected</a> |
59 |
|
|
</div> |
60 |
|
|
<div class="var-title"> |
61 |
|
|
<span class="var-type">mixed</span> |
62 |
|
|
<a href="#$_query_prefix" title="details" class="var-name">$_query_prefix</a> |
63 |
|
|
</div> |
64 |
|
|
<div class="var-title"> |
65 |
|
|
<span class="var-type">mixed</span> |
66 |
|
|
<a href="#$_selected" title="details" class="var-name">$_selected</a> |
67 |
|
|
</div> |
68 |
|
|
</div> |
69 |
|
|
</div> |
70 |
|
|
</div> |
71 |
|
|
|
72 |
|
|
<a name="sec-method-summary"></a> |
73 |
|
|
<div class="info-box"> |
74 |
|
|
<div class="info-box-title">Method Summary</span></div> |
75 |
|
|
<div class="nav-bar"> |
76 |
|
|
<a href="#sec-description">Description</a> | |
77 |
|
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
78 |
|
|
|
79 |
|
|
| |
80 |
|
|
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
81 |
|
|
</div> |
82 |
|
|
<div class="info-box-body"> |
83 |
|
|
<div class="method-summary"> |
84 |
|
|
|
85 |
|
|
<div class="method-definition"> |
86 |
|
|
<span class="method-result">void</span> |
87 |
|
|
<a href="#TextCSSNav" title="details" class="method-name">TextCSSNav</a> |
88 |
|
|
([<span class="var-type">mixed</span> <span class="var-name">$highlight_selected</span> = <span class="var-default">FALSE</span>], <span class="var-type">int</span> <span class="var-name">$width</span>) |
89 |
|
|
</div> |
90 |
|
|
|
91 |
|
|
<div class="method-definition"> |
92 |
|
|
<span class="method-result">void</span> |
93 |
|
|
<a href="#add" title="details" class="method-name">add</a> |
94 |
|
|
(<span class="var-type">string</span> <span class="var-name">$url</span>, <span class="var-type">string</span> <span class="var-name">$text</span>, [<span class="var-type">string</span> <span class="var-name">$title</span> = <span class="var-default">""</span>], [<span class="var-type">string</span> <span class="var-name">$target</span> = <span class="var-default">""</span>], [<span class="var-type">mixed</span> <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="#add_blank" title="details" class="method-name">add_blank</a> |
100 |
|
|
([<span class="var-type">int</span> <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="#add_text" title="details" class="method-name">add_text</a> |
106 |
|
|
(<span class="var-type">string</span> <span class="var-name">$text</span>) |
107 |
|
|
</div> |
108 |
|
|
|
109 |
|
|
<div class="method-definition"> |
110 |
|
|
<span class="method-result">void</span> |
111 |
|
|
<a href="#push" title="details" class="method-name">push</a> |
112 |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$url</span>, <span class="var-type">mixed</span> <span class="var-name">$text</span>, [<span class="var-type">mixed</span> <span class="var-name">$title</span> = <span class="var-default">""</span>], [<span class="var-type">mixed</span> <span class="var-name">$target</span> = <span class="var-default">""</span>]) |
113 |
|
|
</div> |
114 |
|
|
|
115 |
|
|
<div class="method-definition"> |
116 |
|
|
<span class="method-result">void</span> |
117 |
|
|
<a href="#push_blank" title="details" class="method-name">push_blank</a> |
118 |
|
|
([<span class="var-type">mixed</span> <span class="var-name">$num</span> = <span class="var-default">1</span>]) |
119 |
|
|
</div> |
120 |
|
|
|
121 |
|
|
<div class="method-definition"> |
122 |
|
|
<span class="method-result">void</span> |
123 |
|
|
<a href="#push_text" title="details" class="method-name">push_text</a> |
124 |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$text</span>) |
125 |
|
|
</div> |
126 |
|
|
|
127 |
|
|
<div class="method-definition"> |
128 |
|
|
<span class="method-result">string</span> |
129 |
|
|
<a href="#render" title="details" class="method-name">render</a> |
130 |
|
|
([<span class="var-type">int</span> <span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">int</span> <span class="var-name">$output_debug</span>) |
131 |
|
|
</div> |
132 |
|
|
|
133 |
|
|
<div class="method-definition"> |
134 |
|
|
<span class="method-result">void</span> |
135 |
|
|
<a href="#set_prefix" title="details" class="method-name">set_prefix</a> |
136 |
|
|
(<span class="var-type">string</span> <span class="var-name">$prefix</span>) |
137 |
|
|
</div> |
138 |
|
|
|
139 |
|
|
<div class="method-definition"> |
140 |
|
|
<span class="method-result">Container</span> |
141 |
|
|
<a href="#_build_links" title="details" class="method-name">_build_links</a> |
142 |
|
|
() |
143 |
|
|
</div> |
144 |
|
|
</div> |
145 |
|
|
</div> |
146 |
|
|
</div> |
147 |
|
|
|
148 |
|
|
<a name="sec-vars"></a> |
149 |
|
|
<div class="info-box"> |
150 |
|
|
<div class="info-box-title">Variables</div> |
151 |
|
|
<div class="nav-bar"> |
152 |
|
|
<a href="#sec-description">Description</a> | |
153 |
|
|
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
154 |
|
|
|
155 |
|
|
|
156 |
|
|
| |
157 |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
158 |
|
|
|
159 |
|
|
</div> |
160 |
|
|
<div class="info-box-body"> |
161 |
|
|
<a name="var$_highlight_selected" id="$_highlight_selected"><!-- --></A> |
162 |
|
|
<div class="oddrow"> |
163 |
|
|
|
164 |
|
|
<div class="var-header"> |
165 |
|
|
<span class="var-title"> |
166 |
|
|
<span class="var-type">mixed</span> |
167 |
|
|
<span class="var-name">$_highlight_selected</span> |
168 |
|
|
= <span class="var-default"> FALSE</span> (line <span class="line-number">33</span>) |
169 |
|
|
</span> |
170 |
|
|
</div> |
171 |
|
|
|
172 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
173 |
|
|
<p class="short-description">Flag to tell us that we can highlight (css) the selected link.</p> |
174 |
|
|
<p class="description"><p>This is off by default</p></p> |
175 |
|
|
|
176 |
|
|
|
177 |
|
|
|
178 |
|
|
|
179 |
|
|
|
180 |
|
|
</div> |
181 |
|
|
<a name="var$_query_prefix" id="$_query_prefix"><!-- --></A> |
182 |
|
|
<div class="evenrow"> |
183 |
|
|
|
184 |
|
|
<div class="var-header"> |
185 |
|
|
<span class="var-title"> |
186 |
|
|
<span class="var-type">mixed</span> |
187 |
|
|
<span class="var-name">$_query_prefix</span> |
188 |
|
|
= <span class="var-default"> ""</span> (line <span class="line-number">47</span>) |
189 |
|
|
</span> |
190 |
jonen |
1.2 |
</div> |
191 |
jonen |
1.3 |
|
192 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
193 |
|
|
<p class="short-description">the prefix for the query string var</p> |
194 |
|
|
<p class="description"><p>so we can have multiple widgets on the same page and have them operate independantly</p></p> |
195 |
|
|
|
196 |
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
|
|
</div> |
201 |
|
|
<a name="var$_selected" id="$_selected"><!-- --></A> |
202 |
|
|
<div class="oddrow"> |
203 |
|
|
|
204 |
|
|
<div class="var-header"> |
205 |
|
|
<span class="var-title"> |
206 |
|
|
<span class="var-type">mixed</span> |
207 |
|
|
<span class="var-name">$_selected</span> |
208 |
|
|
= <span class="var-default"> 0</span> (line <span class="line-number">39</span>) |
209 |
|
|
</span> |
210 |
|
|
</div> |
211 |
|
|
|
212 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
213 |
|
|
<p class="short-description">Holds which one is auto selected</p> |
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
|
219 |
|
|
</div> |
220 |
|
|
<h4>Inherited Variables</h4> |
221 |
|
|
<A NAME='inherited_vars'><!-- --></A> |
222 |
|
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
223 |
|
|
<blockquote> |
224 |
|
|
<span class="var-title"> |
225 |
|
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></span><br> |
226 |
|
|
</span> |
227 |
|
|
<span class="var-title"> |
228 |
|
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></span><br> |
229 |
|
|
</span> |
230 |
|
|
</blockquote> |
231 |
|
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
232 |
|
|
<blockquote> |
233 |
|
|
<span class="var-title"> |
234 |
|
|
<span class="var-name"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></span><br> |
235 |
|
|
</span> |
236 |
|
|
</blockquote> |
237 |
|
|
|
238 |
|
|
</div> |
239 |
|
|
</div> |
240 |
|
|
|
241 |
|
|
<a name="sec-methods"></a> |
242 |
|
|
<div class="info-box"> |
243 |
|
|
<div class="info-box-title">Methods</div> |
244 |
|
|
<div class="nav-bar"> |
245 |
|
|
<a href="#sec-description">Description</a> | |
246 |
|
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
247 |
|
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
248 |
|
|
|
249 |
|
|
</div> |
250 |
|
|
<div class="info-box-body"> |
251 |
|
|
<A NAME='method_detail'></A> |
252 |
|
|
<a name="methodTextCSSNav" id="TextCSSNav"><!-- --></a> |
253 |
|
|
<div class="evenrow"> |
254 |
|
|
|
255 |
|
|
<div class="method-header"> |
256 |
|
|
<span class="method-title">Constructor TextCSSNav</span> (line <span class="line-number">57</span>) |
257 |
|
|
</div> |
258 |
|
|
|
259 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
260 |
|
|
<p class="short-description">Constructor for this class It just sets the width for the widget.</p> |
261 |
|
|
|
262 |
|
|
<div class="method-signature"> |
263 |
|
|
<span class="method-result">void</span> |
264 |
|
|
<span class="method-name"> |
265 |
|
|
TextCSSNav |
266 |
|
|
</span> |
267 |
|
|
([<span class="var-type">mixed</span> <span class="var-name">$highlight_selected</span> = <span class="var-default">FALSE</span>], <span class="var-type">int</span> <span class="var-name">$width</span>) |
268 |
|
|
</div> |
269 |
|
|
|
270 |
|
|
<ul class="parameters"> |
271 |
|
|
<li> |
272 |
|
|
<span class="var-type">int</span> |
273 |
|
|
<span class="var-name">$width</span><span class="var-description">: <p>- the width of the widget</p></span> </li> |
274 |
|
|
</ul> |
275 |
|
|
|
276 |
|
|
|
277 |
|
|
</div> |
278 |
|
|
<a name="methodadd" id="add"><!-- --></a> |
279 |
|
|
<div class="oddrow"> |
280 |
|
|
|
281 |
|
|
<div class="method-header"> |
282 |
|
|
<span class="method-title">add</span> (line <span class="line-number">103</span>) |
283 |
|
|
</div> |
284 |
|
|
|
285 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
286 |
|
|
<p class="short-description">this function adds a clickable link.</p> |
287 |
|
|
<p class="description"><p>It automatically adds the link based on $url, with $text as the viewable text.</p></p> |
288 |
|
|
|
289 |
|
|
<div class="method-signature"> |
290 |
|
|
<span class="method-result">void</span> |
291 |
|
|
<span class="method-name"> |
292 |
|
|
add |
293 |
|
|
</span> |
294 |
|
|
(<span class="var-type">string</span> <span class="var-name">$url</span>, <span class="var-type">string</span> <span class="var-name">$text</span>, [<span class="var-type">string</span> <span class="var-name">$title</span> = <span class="var-default">""</span>], [<span class="var-type">string</span> <span class="var-name">$target</span> = <span class="var-default">""</span>], [<span class="var-type">mixed</span> <span class="var-name">$selected</span> = <span class="var-default">FALSE</span>]) |
295 |
|
|
</div> |
296 |
|
|
|
297 |
|
|
<ul class="parameters"> |
298 |
|
|
<li> |
299 |
|
|
<span class="var-type">string</span> |
300 |
|
|
<span class="var-name">$url</span><span class="var-description">: <p>- the url for the link</p></span> </li> |
301 |
|
|
<li> |
302 |
|
|
<span class="var-type">string</span> |
303 |
|
|
<span class="var-name">$text</span><span class="var-description">: <p>- the link text</p></span> </li> |
304 |
|
|
<li> |
305 |
|
|
<span class="var-type">string</span> |
306 |
|
|
<span class="var-name">$title</span><span class="var-description">: <p>- the title text</p></span> </li> |
307 |
|
|
<li> |
308 |
|
|
<span class="var-type">string</span> |
309 |
|
|
<span class="var-name">$target</span><span class="var-description">: <p>- the link target</p></span> </li> |
310 |
|
|
</ul> |
311 |
|
|
|
312 |
|
|
<hr class="separator" /> |
313 |
|
|
<div class="notes">Redefinition of:</div> |
314 |
|
|
<dl> |
315 |
|
|
<dt><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></dt> |
316 |
|
|
<dd>add content onto content stack</dd> |
317 |
|
|
</dl> |
318 |
|
|
|
319 |
|
|
</div> |
320 |
|
|
<a name="methodadd_blank" id="add_blank"><!-- --></a> |
321 |
|
|
<div class="evenrow"> |
322 |
|
|
|
323 |
|
|
<div class="method-header"> |
324 |
|
|
<span class="method-title">add_blank</span> (line <span class="line-number">124</span>) |
325 |
|
|
</div> |
326 |
|
|
|
327 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
328 |
|
|
<p class="short-description">This lets you add a blank entry between 2 links</p> |
329 |
|
|
|
330 |
|
|
<div class="method-signature"> |
331 |
|
|
<span class="method-result">void</span> |
332 |
|
|
<span class="method-name"> |
333 |
|
|
add_blank |
334 |
|
|
</span> |
335 |
|
|
([<span class="var-type">int</span> <span class="var-name">$num</span> = <span class="var-default">1</span>]) |
336 |
|
|
</div> |
337 |
|
|
|
338 |
|
|
<ul class="parameters"> |
339 |
|
|
<li> |
340 |
|
|
<span class="var-type">int</span> |
341 |
|
|
<span class="var-name">$num</span><span class="var-description">: <p>- the # of blank lines to insert</p></span> </li> |
342 |
|
|
</ul> |
343 |
|
|
|
344 |
|
|
|
345 |
|
|
</div> |
346 |
|
|
<a name="methodadd_text" id="add_text"><!-- --></a> |
347 |
|
|
<div class="oddrow"> |
348 |
|
|
|
349 |
|
|
<div class="method-header"> |
350 |
|
|
<span class="method-title">add_text</span> (line <span class="line-number">143</span>) |
351 |
|
|
</div> |
352 |
|
|
|
353 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
354 |
|
|
<p class="short-description">this adds a text item in the nav</p> |
355 |
|
|
|
356 |
|
|
<div class="method-signature"> |
357 |
|
|
<span class="method-result">void</span> |
358 |
|
|
<span class="method-name"> |
359 |
|
|
add_text |
360 |
|
|
</span> |
361 |
|
|
(<span class="var-type">string</span> <span class="var-name">$text</span>) |
362 |
|
|
</div> |
363 |
|
|
|
364 |
|
|
<ul class="parameters"> |
365 |
|
|
<li> |
366 |
|
|
<span class="var-type">string</span> |
367 |
|
|
<span class="var-name">$text</span><span class="var-description">: <p>- the text to display</p></span> </li> |
368 |
|
|
</ul> |
369 |
|
|
|
370 |
|
|
|
371 |
|
|
</div> |
372 |
|
|
<a name="methodpush" id="push"><!-- --></a> |
373 |
|
|
<div class="evenrow"> |
374 |
|
|
|
375 |
|
|
<div class="method-header"> |
376 |
|
|
<span class="method-title">push</span> (line <span class="line-number">114</span>) |
377 |
|
|
</div> |
378 |
|
|
|
379 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
380 |
|
|
<p class="short-description">depricated version of add()</p> |
381 |
|
|
<ul class="tags"> |
382 |
|
|
<li><span class="field">deprecated:</span> <p>- use add() instead</p></li> |
383 |
|
|
</ul> |
384 |
|
|
|
385 |
|
|
<div class="method-signature"> |
386 |
|
|
<span class="method-result">void</span> |
387 |
|
|
<span class="method-name"> |
388 |
|
|
push |
389 |
|
|
</span> |
390 |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$url</span>, <span class="var-type">mixed</span> <span class="var-name">$text</span>, [<span class="var-type">mixed</span> <span class="var-name">$title</span> = <span class="var-default">""</span>], [<span class="var-type">mixed</span> <span class="var-name">$target</span> = <span class="var-default">""</span>]) |
391 |
|
|
</div> |
392 |
|
|
|
393 |
|
|
|
394 |
|
|
<hr class="separator" /> |
395 |
|
|
<div class="notes">Redefinition of:</div> |
396 |
|
|
<dl> |
397 |
|
|
<dt><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></dt> |
398 |
|
|
<dd>Same as add().</dd> |
399 |
|
|
</dl> |
400 |
|
|
|
401 |
|
|
</div> |
402 |
|
|
<a name="methodpush_blank" id="push_blank"><!-- --></a> |
403 |
|
|
<div class="oddrow"> |
404 |
|
|
|
405 |
|
|
<div class="method-header"> |
406 |
|
|
<span class="method-title">push_blank</span> (line <span class="line-number">134</span>) |
407 |
|
|
</div> |
408 |
|
|
|
409 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
410 |
|
|
<p class="short-description">depricated version of add_blank()</p> |
411 |
|
|
<ul class="tags"> |
412 |
|
|
<li><span class="field">deprecated:</span> <p>- use add_blank() instead</p></li> |
413 |
|
|
</ul> |
414 |
|
|
|
415 |
|
|
<div class="method-signature"> |
416 |
|
|
<span class="method-result">void</span> |
417 |
|
|
<span class="method-name"> |
418 |
|
|
push_blank |
419 |
|
|
</span> |
420 |
|
|
([<span class="var-type">mixed</span> <span class="var-name">$num</span> = <span class="var-default">1</span>]) |
421 |
|
|
</div> |
422 |
|
|
|
423 |
|
|
|
424 |
|
|
|
425 |
|
|
</div> |
426 |
|
|
<a name="methodpush_text" id="push_text"><!-- --></a> |
427 |
|
|
<div class="evenrow"> |
428 |
|
|
|
429 |
|
|
<div class="method-header"> |
430 |
|
|
<span class="method-title">push_text</span> (line <span class="line-number">152</span>) |
431 |
|
|
</div> |
432 |
|
|
|
433 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
434 |
|
|
<p class="short-description">depricated version of add_text()</p> |
435 |
|
|
<ul class="tags"> |
436 |
|
|
<li><span class="field">deprecated:</span> <p>- use add_text() instead</p></li> |
437 |
|
|
</ul> |
438 |
|
|
|
439 |
|
|
<div class="method-signature"> |
440 |
|
|
<span class="method-result">void</span> |
441 |
|
|
<span class="method-name"> |
442 |
|
|
push_text |
443 |
|
|
</span> |
444 |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$text</span>) |
445 |
|
|
</div> |
446 |
|
|
|
447 |
|
|
|
448 |
|
|
|
449 |
|
|
</div> |
450 |
|
|
<a name="methodrender" id="render"><!-- --></a> |
451 |
|
|
<div class="oddrow"> |
452 |
|
|
|
453 |
|
|
<div class="method-header"> |
454 |
|
|
<span class="method-title">render</span> (line <span class="line-number">71</span>) |
455 |
|
|
</div> |
456 |
|
|
|
457 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
458 |
|
|
<p class="short-description">function that will render the widget.</p> |
459 |
|
|
<ul class="tags"> |
460 |
|
|
<li><span class="field">return:</span> <p>the raw html output.</p></li> |
461 |
|
|
</ul> |
462 |
|
|
|
463 |
|
|
<div class="method-signature"> |
464 |
|
|
<span class="method-result">string</span> |
465 |
|
|
<span class="method-name"> |
466 |
|
|
render |
467 |
|
|
</span> |
468 |
|
|
([<span class="var-type">int</span> <span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">int</span> <span class="var-name">$output_debug</span>) |
469 |
|
|
</div> |
470 |
|
|
|
471 |
|
|
<ul class="parameters"> |
472 |
|
|
<li> |
473 |
|
|
<span class="var-type">int</span> |
474 |
|
|
<span class="var-name">$indent_level</span><span class="var-description">: <p>- the indentation level for the container.</p></span> </li> |
475 |
|
|
<li> |
476 |
|
|
<span class="var-type">int</span> |
477 |
|
|
<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> |
478 |
|
|
</ul> |
479 |
|
|
|
480 |
|
|
<hr class="separator" /> |
481 |
|
|
<div class="notes">Redefinition of:</div> |
482 |
|
|
<dl> |
483 |
|
|
<dt><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></dt> |
484 |
|
|
<dd>This function is compatible with the rest of the phpHtmllib API spec.</dd> |
485 |
|
|
</dl> |
486 |
|
|
|
487 |
|
|
</div> |
488 |
|
|
<a name="methodset_prefix" id="set_prefix"><!-- --></a> |
489 |
|
|
<div class="evenrow"> |
490 |
|
|
|
491 |
|
|
<div class="method-header"> |
492 |
|
|
<span class="method-title">set_prefix</span> (line <span class="line-number">86</span>) |
493 |
|
|
</div> |
494 |
|
|
|
495 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
496 |
|
|
<p class="short-description">This method is used to set the prefix for</p> |
497 |
|
|
<p class="description"><p>the widget so someone can have multiple widgets on the same page and have them operate independantly</p></p> |
498 |
|
|
|
499 |
|
|
<div class="method-signature"> |
500 |
|
|
<span class="method-result">void</span> |
501 |
|
|
<span class="method-name"> |
502 |
|
|
set_prefix |
503 |
|
|
</span> |
504 |
|
|
(<span class="var-type">string</span> <span class="var-name">$prefix</span>) |
505 |
|
|
</div> |
506 |
|
|
|
507 |
|
|
<ul class="parameters"> |
508 |
|
|
<li> |
509 |
|
|
<span class="var-type">string</span> |
510 |
|
|
<span class="var-name">$prefix</span><span class="var-description">: <p>- the prefix for the query var</p></span> </li> |
511 |
|
|
</ul> |
512 |
|
|
|
513 |
|
|
|
514 |
|
|
</div> |
515 |
|
|
<a name="method_build_links" id="_build_links"><!-- --></a> |
516 |
|
|
<div class="oddrow"> |
517 |
|
|
|
518 |
|
|
<div class="method-header"> |
519 |
|
|
<span class="method-title">_build_links</span> (line <span class="line-number">163</span>) |
520 |
|
|
</div> |
521 |
|
|
|
522 |
|
|
<!-- ========== Info from phpDoc block ========= --> |
523 |
|
|
<p class="short-description">This function is used to build the links to click on</p> |
524 |
|
|
|
525 |
|
|
<div class="method-signature"> |
526 |
|
|
<span class="method-result">Container</span> |
527 |
|
|
<span class="method-name"> |
528 |
|
|
_build_links |
529 |
|
|
</span> |
530 |
|
|
() |
531 |
|
|
</div> |
532 |
|
|
|
533 |
|
|
|
534 |
|
|
|
535 |
|
|
</div> |
536 |
|
|
<h4>Inherited Methods</h4> |
537 |
|
|
<a name='inherited_methods'><!-- --></a> |
538 |
|
|
<!-- =========== Summary =========== --> |
539 |
|
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
540 |
|
|
<blockquote> |
541 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></span><br> |
542 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></span><br> |
543 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></span><br> |
544 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></span><br> |
545 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></span><br> |
546 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></span><br> |
547 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></span><br> |
548 |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></span><br> |
549 |
|
|
</blockquote> |
550 |
|
|
<!-- =========== Summary =========== --> |
551 |
|
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
552 |
|
|
<blockquote> |
553 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br> |
554 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br> |
555 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br> |
556 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br> |
557 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br> |
558 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br> |
559 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br> |
560 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br> |
561 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br> |
562 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br> |
563 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br> |
564 |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></span><br> |
565 |
|
|
</blockquote> |
566 |
|
|
|
567 |
|
|
</div> |
568 |
|
|
</div> |
569 |
|
|
|
570 |
|
|
<p class="notes" id="credit"> |
571 |
|
|
Documention generated on Thu, 31 Jul 2003 18:33:51 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0</a> |
572 |
|
|
</p> |
573 |
|
|
</div></body> |
574 |
jonen |
1.2 |
</html> |