1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'> |
2 |
<!--NewPage--> |
3 |
<HTML> |
4 |
<HEAD> |
5 |
<!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:21:49 -0800' --> |
6 |
<TITLE>Docs For Class ActiveTab</TITLE> |
7 |
<LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'> |
8 |
</HEAD> |
9 |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
10 |
<!-- Links --> |
11 |
<a NAME="top"></A> |
12 |
<table WIDTH="100%" class="links"> |
13 |
<TR> |
14 |
<TD class="font10"> |
15 |
Links: |
16 |
<A HREF="#children_summary" class="links" title="Classes extended from ActiveTab">Child Classes</A> |
17 |
<A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A> |
18 |
<A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A> |
19 |
<A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A> |
20 |
<A HREF="#method_summary" class="links" title="Method Summary">Methods</A> |
21 |
<A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A> |
22 |
<A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A> |
23 |
</TD> |
24 |
</TR> |
25 |
</TABLE> |
26 |
<BR> |
27 |
<!-- Start of Class Data --> |
28 |
<H2> |
29 |
Class ActiveTab |
30 |
</H2> (line <span class="linenumber">20</span>) |
31 |
<pre> |
32 |
<a href="../phpHtmlLib/Container.html">Container</a> |
33 |
| |
34 |
--<a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a> |
35 |
| |
36 |
--ActiveTab</pre> |
37 |
<p> |
38 |
<b><i>Located in File: Program_Root/widgets/ActiveTab.inc</i></b><br> |
39 |
</p> |
40 |
<hr> |
41 |
This class is used for creating a tab panel of content where the tabs can be switched on the fly w/ JS, thereby eliminating a page turn to see the other tab's content. |
42 |
<br /> |
43 |
|
44 |
<UL> |
45 |
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
46 |
</UL> |
47 |
<hr> |
48 |
<!-- =========== VAR SUMMARY =========== --> |
49 |
<A NAME='var_summary'><!-- --></A> |
50 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
51 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
52 |
<TD> |
53 |
<span CLASS="font12bold">Class Variable Summary</span> |
54 |
<A HREF="#top" CLASS="links">^TOP</A> |
55 |
</TD> |
56 |
</TR> |
57 |
|
58 |
<!-- =========== Summary =========== --> |
59 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
60 |
<TD> |
61 |
<CODE><B><A HREF="../phpHtmlLib/ActiveTab.html#var$_hidden_background">$_hidden_background</A></B></CODE> |
62 |
<BR> |
63 |
<blockquote> The hidden tab's background color </blockquote> |
64 |
<blockquote> Default Value: <CODE>-> "#e0e0e0"<-</CODE> </blockquote> |
65 |
</TD> |
66 |
</TR> |
67 |
<!-- =========== Summary =========== --> |
68 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
69 |
<TD> |
70 |
<CODE><B><A HREF="../phpHtmlLib/ActiveTab.html#var$_selected_background">$_selected_background</A></B></CODE> |
71 |
<BR> |
72 |
<blockquote> The active tab's background color </blockquote> |
73 |
<blockquote> Default Value: <CODE>-> "#eeeeee"<-</CODE> </blockquote> |
74 |
</TD> |
75 |
</TR> |
76 |
<!-- =========== Summary =========== --> |
77 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
78 |
<TD> |
79 |
<CODE><B><A HREF="../phpHtmlLib/ActiveTab.html#var$_selected_tab">$_selected_tab</A></B></CODE> |
80 |
<BR> |
81 |
<blockquote> The default selected tab </blockquote> |
82 |
<blockquote> Default Value: <CODE>-> 0<-</CODE> </blockquote> |
83 |
</TD> |
84 |
</TR> |
85 |
</TABLE> |
86 |
<hr> |
87 |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
88 |
<A NAME='var_inherited_summary'><!-- --></A> |
89 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
90 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
91 |
<TD> |
92 |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
93 |
<A HREF="#top" CLASS="links">^TOP</A> |
94 |
</TD> |
95 |
</TR> |
96 |
|
97 |
<!-- =========== Summary =========== --> |
98 |
<TR BGCOLOR='white'> |
99 |
<TD> |
100 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span> |
101 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
102 |
<tr CLASS="tableheadingcolor"> |
103 |
<th>Variable</th> |
104 |
<th>Default Value</th> |
105 |
<th>Description</th> |
106 |
</tr> |
107 |
<tr> |
108 |
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></td> |
109 |
<td CLASS="font10" STYLE="white-space: nowrap">->''<-</td> |
110 |
<td CLASS="font10">The title of the table.</td> |
111 |
</tr> |
112 |
<tr> |
113 |
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></td> |
114 |
<td CLASS="font10" STYLE="white-space: nowrap">->"100%"<-</td> |
115 |
<td CLASS="font10">the width of the widget</td> |
116 |
</tr> |
117 |
</table> |
118 |
<BR> |
119 |
</TD> |
120 |
</TR> |
121 |
<!-- =========== Summary =========== --> |
122 |
<TR BGCOLOR='white'> |
123 |
<TD> |
124 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
125 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
126 |
<tr CLASS="tableheadingcolor"> |
127 |
<th>Variable</th> |
128 |
<th>Default Value</th> |
129 |
<th>Description</th> |
130 |
</tr> |
131 |
<tr> |
132 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td> |
133 |
<td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td> |
134 |
<td CLASS="font10">The flags that tell us</td> |
135 |
</tr> |
136 |
</table> |
137 |
<BR> |
138 |
</TD> |
139 |
</TR> |
140 |
</TABLE> |
141 |
|
142 |
<hr> |
143 |
<!-- =========== METHOD SUMMARY =========== --> |
144 |
<A NAME='method_summary'><!-- --></A> |
145 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
146 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
147 |
<TD> |
148 |
<span class="font12bold">Method Summary</span> |
149 |
<A HREF="#top" CLASS="links">^TOP</A> |
150 |
</TD> |
151 |
</TR> |
152 |
|
153 |
<!-- =========== Summary =========== --> |
154 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
155 |
<TD> |
156 |
<CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodActiveTab'>void constructor ActiveTab ( [$width = "100%"], [$height = "300px"], [$selected_tab = 0] )</A></B></CODE> |
157 |
<BR> |
158 |
<blockquote> This is the constructor for the ActiveTab object. </blockquote> |
159 |
</TD> |
160 |
</TR> |
161 |
<!-- =========== Summary =========== --> |
162 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
163 |
<TD> |
164 |
<CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodadd_tab'>void add_tab ( $title, $content, [$selected = FALSE], [$width = NULL] )</A></B></CODE> |
165 |
<BR> |
166 |
<blockquote> Add a tab </blockquote> |
167 |
</TD> |
168 |
</TR> |
169 |
<!-- =========== Summary =========== --> |
170 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
171 |
<TD> |
172 |
<CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodbuild_content'>void build_content ( )</A></B></CODE> |
173 |
<BR> |
174 |
<blockquote> </blockquote> |
175 |
</TD> |
176 |
</TR> |
177 |
<!-- =========== Summary =========== --> |
178 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
179 |
<TD> |
180 |
<CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodbuild_tabs'>void build_tabs ( )</A></B></CODE> |
181 |
<BR> |
182 |
<blockquote> </blockquote> |
183 |
</TD> |
184 |
</TR> |
185 |
<!-- =========== Summary =========== --> |
186 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
187 |
<TD> |
188 |
<CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodget_javascript'>string get_javascript ( )</A></B></CODE> |
189 |
<BR> |
190 |
<blockquote> This function MUST be called AFTER ALL content has been added, in order for the js to work properly </blockquote> |
191 |
</TD> |
192 |
</TR> |
193 |
<!-- =========== Summary =========== --> |
194 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
195 |
<TD> |
196 |
<CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodhidden_background'>void hidden_background ( $color )</A></B></CODE> |
197 |
<BR> |
198 |
<blockquote> Thie method is used to change the hidden tab's </blockquote> |
199 |
</TD> |
200 |
</TR> |
201 |
<!-- =========== Summary =========== --> |
202 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
203 |
<TD> |
204 |
<CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodrender'>void render ( [$indent_level = 1], [$output_debug = 0] )</A></B></CODE> |
205 |
<BR> |
206 |
<blockquote> </blockquote> |
207 |
</TD> |
208 |
</TR> |
209 |
<!-- =========== Summary =========== --> |
210 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
211 |
<TD> |
212 |
<CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodselected_background'>void selected_background ( $color )</A></B></CODE> |
213 |
<BR> |
214 |
<blockquote> Thie method is used to change the selected tab's </blockquote> |
215 |
</TD> |
216 |
</TR> |
217 |
<!-- =========== Summary =========== --> |
218 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
219 |
<TD> |
220 |
<CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#method_build_tab_td'>void _build_tab_td ( $title, $selected, $width )</A></B></CODE> |
221 |
<BR> |
222 |
<blockquote> </blockquote> |
223 |
</TD> |
224 |
</TR> |
225 |
<!-- =========== Summary =========== --> |
226 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
227 |
<TD> |
228 |
<CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#method_end_td'>void _end_td ( )</A></B></CODE> |
229 |
<BR> |
230 |
<blockquote> </blockquote> |
231 |
</TD> |
232 |
</TR> |
233 |
<!-- =========== Summary =========== --> |
234 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
235 |
<TD> |
236 |
<CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#method_spacer_td'>void _spacer_td ( )</A></B></CODE> |
237 |
<BR> |
238 |
<blockquote> </blockquote> |
239 |
</TD> |
240 |
</TR> |
241 |
<!-- =========== Summary =========== --> |
242 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
243 |
<TD> |
244 |
<CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#method_tab_name'>void _tab_name ( $title )</A></B></CODE> |
245 |
<BR> |
246 |
<blockquote> </blockquote> |
247 |
</TD> |
248 |
</TR> |
249 |
</TABLE> |
250 |
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
251 |
<A NAME='functions_inherited'><!-- --></A> |
252 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
253 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
254 |
<TD> |
255 |
<span CLASS="font12bold">Inherited Method Summary</span> |
256 |
<A HREF="#top" CLASS="links">^TOP</A> |
257 |
</TD> |
258 |
</TR> |
259 |
|
260 |
<!-- =========== Summary =========== --> |
261 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
262 |
<TD> |
263 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span> |
264 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
265 |
<tr CLASS="tableheadingcolor"> |
266 |
<th>Function</th> |
267 |
<th>Description</th> |
268 |
</tr> |
269 |
<tr> |
270 |
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></td> |
271 |
<td CLASS="font10">This gets the alignment value for the outer table</td> |
272 |
<tr> |
273 |
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></td> |
274 |
<td CLASS="font10">This function provides the mechanism to build and return the css needed by this widget</td> |
275 |
<tr> |
276 |
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></td> |
277 |
<td CLASS="font10">Function for returning the raw javascript that is required for this widget.</td> |
278 |
<tr> |
279 |
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></td> |
280 |
<td CLASS="font10">Function for accessing the title of this widget</td> |
281 |
<tr> |
282 |
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></td> |
283 |
<td CLASS="font10">Function for getting the current widget width setting.</td> |
284 |
<tr> |
285 |
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></td> |
286 |
<td CLASS="font10">This function sets the align attribute for the outer table.</td> |
287 |
<tr> |
288 |
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></td> |
289 |
<td CLASS="font10">Set the title for the widget.</td> |
290 |
<tr> |
291 |
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></td> |
292 |
<td CLASS="font10">Set the width for the widget.</td> |
293 |
</table> |
294 |
<br> |
295 |
</TD> |
296 |
</TR> |
297 |
<!-- =========== Summary =========== --> |
298 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
299 |
<TD> |
300 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
301 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
302 |
<tr CLASS="tableheadingcolor"> |
303 |
<th>Function</th> |
304 |
<th>Description</th> |
305 |
</tr> |
306 |
<tr> |
307 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td> |
308 |
<td CLASS="font10">The constructor.</td> |
309 |
<tr> |
310 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td> |
311 |
<td CLASS="font10">add content onto content stack</td> |
312 |
<tr> |
313 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td> |
314 |
<td CLASS="font10">Add content onto content stack so you can change the item later.</td> |
315 |
<tr> |
316 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td> |
317 |
<td CLASS="font10">counts the number of content objects</td> |
318 |
<tr> |
319 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td> |
320 |
<td CLASS="font10">This flag gets the current value of the indent flag</td> |
321 |
<tr> |
322 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td> |
323 |
<td CLASS="font10">Same as add().</td> |
324 |
<tr> |
325 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td> |
326 |
<td CLASS="font10">Same as add_reference NOTE : only exists for compatibility with 1.1.x</td> |
327 |
<tr> |
328 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td> |
329 |
<td CLASS="font10">This function is compatible with the rest of the phpHtmllib API spec.</td> |
330 |
<tr> |
331 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td> |
332 |
<td CLASS="font10">destroy existing content and start with new content.</td> |
333 |
<tr> |
334 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td> |
335 |
<td CLASS="font10">This function turns on the collapse flag</td> |
336 |
<tr> |
337 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td> |
338 |
<td CLASS="font10">function to set the indent flag</td> |
339 |
<tr> |
340 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td> |
341 |
<td CLASS="font10">This method is used to set the bitmask flags for this tag. It tells the class how to render the tag.</td> |
342 |
</table> |
343 |
<br> |
344 |
</TD> |
345 |
</TR> |
346 |
</TABLE> |
347 |
<hr> |
348 |
<!-- ============ VARIABLE DETAIL =========== --> |
349 |
|
350 |
<A NAME='variable_detail'></A> |
351 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
352 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
353 |
<TD> |
354 |
<span CLASS="font12bold">Variable Detail</span> |
355 |
<A HREF="#top" CLASS="links">^TOP</A> |
356 |
</TD> |
357 |
</TR> |
358 |
</TABLE> |
359 |
|
360 |
<A NAME='var$_hidden_background'><!-- --></A><H3>$_hidden_background</H3> (line <span class="linenumber">40</span>)<br /> |
361 |
<b>Data type:</b> mixed<br>The hidden tab's background color |
362 |
<br /> |
363 |
|
364 |
<UL> |
365 |
</UL> |
366 |
<HR> |
367 |
<A NAME='var$_selected_background'><!-- --></A><H3>$_selected_background</H3> (line <span class="linenumber">35</span>)<br /> |
368 |
<b>Data type:</b> mixed<br>The active tab's background color |
369 |
<br /> |
370 |
|
371 |
<UL> |
372 |
</UL> |
373 |
<HR> |
374 |
<A NAME='var$_selected_tab'><!-- --></A><H3>$_selected_tab</H3> (line <span class="linenumber">45</span>)<br /> |
375 |
<b>Data type:</b> mixed<br>The default selected tab |
376 |
<br /> |
377 |
|
378 |
<UL> |
379 |
</UL> |
380 |
<HR> |
381 |
<hr> |
382 |
<!-- ============ METHOD DETAIL =========== --> |
383 |
|
384 |
<A NAME='method_detail'></A> |
385 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
386 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
387 |
<TD> |
388 |
<span class="font12bold">Method Detail</span> |
389 |
<A HREF="#top" CLASS="links">^TOP</A> |
390 |
</TD> |
391 |
</TR> |
392 |
</TABLE> |
393 |
<BR> |
394 |
<DIV CLASS="function"> |
395 |
<A NAME='methodActiveTab'><!-- --></A> |
396 |
<SPAN CLASS="font12bold">Constructor ActiveTab</SPAN> (line <span class="linenumber">56</span>) |
397 |
<BR> |
398 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
399 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
400 |
<span class="font10bold" style="color: #0000FF">ActiveTab( |
401 |
[string |
402 |
$width = "100%"], [string |
403 |
$height = "300px"], int |
404 |
$selected_tab)</SPAN> |
405 |
<BR> |
406 |
|
407 |
<BR> |
408 |
<SPAN CLASS="font10bold">Description : </SPAN> |
409 |
This is the constructor for the ActiveTab object. |
410 |
<br /> |
411 |
|
412 |
<DL> |
413 |
<DT class="font10bold">Function Parameters:</DT> |
414 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$width</SPAN></SPAN> - the width table</DD> |
415 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$height</SPAN></SPAN> - the height of the tab's contents</DD> |
416 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$selected_tab</SPAN></SPAN> - the selected tab.</DD> |
417 |
|
418 |
<DT class="font10bold">Function Info:</DT> |
419 |
</DL> |
420 |
</DIV> |
421 |
<BR> |
422 |
<DIV CLASS="function"> |
423 |
<A NAME='methodadd_tab'><!-- --></A> |
424 |
<SPAN CLASS="font12bold">add_tab</SPAN> (line <span class="linenumber">124</span>) |
425 |
<BR> |
426 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
427 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
428 |
<span class="font10bold" style="color: #0000FF">add_tab( |
429 |
string |
430 |
$title, mixed |
431 |
$content, [boolean |
432 |
$selected = FALSE], [int |
433 |
$width = NULL])</SPAN> |
434 |
<BR> |
435 |
|
436 |
<BR> |
437 |
<SPAN CLASS="font10bold">Description : </SPAN> |
438 |
Add a tab |
439 |
<br /> |
440 |
|
441 |
<DL> |
442 |
<DT class="font10bold">Function Parameters:</DT> |
443 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$title</SPAN></SPAN> - the title of the tab</DD> |
444 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">$content</SPAN></SPAN> - the conetnts for the tab</DD> |
445 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$selected</SPAN></SPAN> - should this tab be the default selected tab?</DD> |
446 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$width</SPAN></SPAN> - the width of the tab in pixels defaults to 60</DD> |
447 |
|
448 |
<DT class="font10bold">Function Info:</DT> |
449 |
</DL> |
450 |
</DIV> |
451 |
<BR> |
452 |
<DIV CLASS="function"> |
453 |
<A NAME='methodbuild_content'><!-- --></A> |
454 |
<SPAN CLASS="font12bold">build_content</SPAN> (line <span class="linenumber">163</span>) |
455 |
<BR> |
456 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
457 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
458 |
<span class="font10bold" style="color: #0000FF">build_content( |
459 |
)</SPAN> |
460 |
<BR> |
461 |
|
462 |
<BR> |
463 |
<SPAN CLASS="font10bold">Description : </SPAN> |
464 |
|
465 |
<br /> |
466 |
|
467 |
<DL> |
468 |
|
469 |
<DT class="font10bold">Function Info:</DT> |
470 |
</DL> |
471 |
</DIV> |
472 |
<BR> |
473 |
<DIV CLASS="function"> |
474 |
<A NAME='methodbuild_tabs'><!-- --></A> |
475 |
<SPAN CLASS="font12bold">build_tabs</SPAN> (line <span class="linenumber">134</span>) |
476 |
<BR> |
477 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
478 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
479 |
<span class="font10bold" style="color: #0000FF">build_tabs( |
480 |
)</SPAN> |
481 |
<BR> |
482 |
|
483 |
<BR> |
484 |
<SPAN CLASS="font10bold">Description : </SPAN> |
485 |
|
486 |
<br /> |
487 |
|
488 |
<DL> |
489 |
|
490 |
<DT class="font10bold">Function Info:</DT> |
491 |
</DL> |
492 |
</DIV> |
493 |
<BR> |
494 |
<DIV CLASS="function"> |
495 |
<A NAME='methodget_javascript'><!-- --></A> |
496 |
<SPAN CLASS="font12bold">get_javascript</SPAN> (line <span class="linenumber">81</span>) |
497 |
<BR> |
498 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
499 |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
500 |
<span class="font10bold" style="color: #0000FF">get_javascript( |
501 |
)</SPAN> |
502 |
<BR> |
503 |
|
504 |
<span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a> Function for returning the raw javascript that is required for this widget. |
505 |
<BR> |
506 |
<SPAN CLASS="font10bold">Description : </SPAN> |
507 |
This function MUST be called AFTER ALL content has been added, in order for the js to work properly |
508 |
<br /> |
509 |
|
510 |
<DL> |
511 |
|
512 |
<DT class="font10bold">Function Info:</DT> |
513 |
</DL> |
514 |
</DIV> |
515 |
<BR> |
516 |
<DIV CLASS="function"> |
517 |
<A NAME='methodhidden_background'><!-- --></A> |
518 |
<SPAN CLASS="font12bold">hidden_background</SPAN> (line <span class="linenumber">236</span>) |
519 |
<BR> |
520 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
521 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
522 |
<span class="font10bold" style="color: #0000FF">hidden_background( |
523 |
mixed |
524 |
$color)</SPAN> |
525 |
<BR> |
526 |
|
527 |
<BR> |
528 |
<SPAN CLASS="font10bold">Description : </SPAN> |
529 |
Thie method is used to change the hidden tab's |
530 |
<br /> |
531 |
<p>background color</p> |
532 |
<DL> |
533 |
|
534 |
<DT class="font10bold">Function Info:</DT> |
535 |
</DL> |
536 |
</DIV> |
537 |
<BR> |
538 |
<DIV CLASS="function"> |
539 |
<A NAME='methodrender'><!-- --></A> |
540 |
<SPAN CLASS="font12bold">render</SPAN> (line <span class="linenumber">63</span>) |
541 |
<BR> |
542 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
543 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
544 |
<span class="font10bold" style="color: #0000FF">render( |
545 |
[mixed |
546 |
$indent_level = 1], mixed |
547 |
$output_debug)</SPAN> |
548 |
<BR> |
549 |
|
550 |
<BR> |
551 |
<SPAN CLASS="font10bold">Description : </SPAN> |
552 |
|
553 |
<br /> |
554 |
|
555 |
<DL> |
556 |
|
557 |
<DT class="font10bold">Function Info:</DT> |
558 |
</DL> |
559 |
</DIV> |
560 |
<BR> |
561 |
<DIV CLASS="function"> |
562 |
<A NAME='methodselected_background'><!-- --></A> |
563 |
<SPAN CLASS="font12bold">selected_background</SPAN> (line <span class="linenumber">228</span>) |
564 |
<BR> |
565 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
566 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
567 |
<span class="font10bold" style="color: #0000FF">selected_background( |
568 |
mixed |
569 |
$color)</SPAN> |
570 |
<BR> |
571 |
|
572 |
<BR> |
573 |
<SPAN CLASS="font10bold">Description : </SPAN> |
574 |
Thie method is used to change the selected tab's |
575 |
<br /> |
576 |
<p>background color</p> |
577 |
<DL> |
578 |
|
579 |
<DT class="font10bold">Function Info:</DT> |
580 |
</DL> |
581 |
</DIV> |
582 |
<BR> |
583 |
<DIV CLASS="function"> |
584 |
<A NAME='method_build_tab_td'><!-- --></A> |
585 |
<SPAN CLASS="font12bold">_build_tab_td</SPAN> (line <span class="linenumber">192</span>) |
586 |
<BR> |
587 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
588 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
589 |
<span class="font10bold" style="color: #0000FF">_build_tab_td( |
590 |
mixed |
591 |
$title, mixed |
592 |
$selected, mixed |
593 |
$width)</SPAN> |
594 |
<BR> |
595 |
|
596 |
<BR> |
597 |
<SPAN CLASS="font10bold">Description : </SPAN> |
598 |
|
599 |
<br /> |
600 |
|
601 |
<DL> |
602 |
|
603 |
<DT class="font10bold">Function Info:</DT> |
604 |
</DL> |
605 |
</DIV> |
606 |
<BR> |
607 |
<DIV CLASS="function"> |
608 |
<A NAME='method_end_td'><!-- --></A> |
609 |
<SPAN CLASS="font12bold">_end_td</SPAN> (line <span class="linenumber">187</span>) |
610 |
<BR> |
611 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
612 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
613 |
<span class="font10bold" style="color: #0000FF">_end_td( |
614 |
)</SPAN> |
615 |
<BR> |
616 |
|
617 |
<BR> |
618 |
<SPAN CLASS="font10bold">Description : </SPAN> |
619 |
|
620 |
<br /> |
621 |
|
622 |
<DL> |
623 |
|
624 |
<DT class="font10bold">Function Info:</DT> |
625 |
</DL> |
626 |
</DIV> |
627 |
<BR> |
628 |
<DIV CLASS="function"> |
629 |
<A NAME='method_spacer_td'><!-- --></A> |
630 |
<SPAN CLASS="font12bold">_spacer_td</SPAN> (line <span class="linenumber">183</span>) |
631 |
<BR> |
632 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
633 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
634 |
<span class="font10bold" style="color: #0000FF">_spacer_td( |
635 |
)</SPAN> |
636 |
<BR> |
637 |
|
638 |
<BR> |
639 |
<SPAN CLASS="font10bold">Description : </SPAN> |
640 |
|
641 |
<br /> |
642 |
|
643 |
<DL> |
644 |
|
645 |
<DT class="font10bold">Function Info:</DT> |
646 |
</DL> |
647 |
</DIV> |
648 |
<BR> |
649 |
<DIV CLASS="function"> |
650 |
<A NAME='method_tab_name'><!-- --></A> |
651 |
<SPAN CLASS="font12bold">_tab_name</SPAN> (line <span class="linenumber">241</span>) |
652 |
<BR> |
653 |
<SPAN CLASS="font10bold">Usage : </SPAN> |
654 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
655 |
<span class="font10bold" style="color: #0000FF">_tab_name( |
656 |
mixed |
657 |
$title)</SPAN> |
658 |
<BR> |
659 |
|
660 |
<BR> |
661 |
<SPAN CLASS="font10bold">Description : </SPAN> |
662 |
|
663 |
<br /> |
664 |
|
665 |
<DL> |
666 |
|
667 |
<DT class="font10bold">Function Info:</DT> |
668 |
</DL> |
669 |
</DIV> |
670 |
<BR> |
671 |
<div id="credit"> |
672 |
<hr> |
673 |
Documention generated on Thu, 20 Feb 2003 16:21:49 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
674 |
</div> |
675 |
</body> |
676 |
</html> |