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

Annotation of /nfo/php/libs/com.newsblob.phphtmllib/doc/phpHtmlLib/ActiveTab.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Sat Feb 22 20:56:10 2003 UTC (21 years, 6 months ago) by jonen
Branch: MAIN
Changes since 1.1: +319 -444 lines
File MIME type: text/html
+ updated whole lib to version 2.2.1 (new FormProcessing since 2.2.0!)

1 jonen 1.2 <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'>
2 jonen 1.1 <!--NewPage-->
3     <HTML>
4     <HEAD>
5 jonen 1.2 <!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:21:49 -0800' -->
6 jonen 1.1 <TITLE>Docs For Class ActiveTab</TITLE>
7 jonen 1.2 <LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'>
8 jonen 1.1 </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 jonen 1.2 <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 jonen 1.1 <A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A>
22 jonen 1.2 <A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A>
23 jonen 1.1 </TD>
24     </TR>
25     </TABLE>
26     <BR>
27     <!-- Start of Class Data -->
28     <H2>
29     Class ActiveTab
30 jonen 1.2 </H2> (line <span class="linenumber">20</span>)
31 jonen 1.1 <pre>
32 jonen 1.2 <a href="../phpHtmlLib/Container.html">Container</a>
33 jonen 1.1 |
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 jonen 1.2 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 jonen 1.1
44     <UL>
45 jonen 1.2 <LI><b>author</b> - <CODE>Walter A. Boring IV &lt;<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>&gt;</CODE></LI>
46     </UL>
47 jonen 1.1 <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 jonen 1.2 <!-- =========== Summary =========== -->
59 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
60     <TD>
61 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/ActiveTab.html#var$_hidden_background">$_hidden_background</A></B></CODE>
62 jonen 1.1 <BR>
63     <blockquote> The hidden tab's background color </blockquote>
64 jonen 1.2 <blockquote> Default Value: <CODE>->&nbsp;"#e0e0e0"<-</CODE> </blockquote>
65 jonen 1.1 </TD>
66     </TR>
67 jonen 1.2 <!-- =========== Summary =========== -->
68 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
69     <TD>
70 jonen 1.2 <CODE><B><A HREF="../phpHtmlLib/ActiveTab.html#var$_selected_background">$_selected_background</A></B></CODE>
71 jonen 1.1 <BR>
72     <blockquote> The active tab's background color </blockquote>
73 jonen 1.2 <blockquote> Default Value: <CODE>->&nbsp;"#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>->&nbsp;0<-</CODE> </blockquote>
83 jonen 1.1 </TD>
84     </TR>
85 jonen 1.2 </TABLE>
86 jonen 1.1 <hr>
87     <!-- =========== VAR INHERITED SUMMARY =========== -->
88     <A NAME='var_inherited_summary'><!-- --></A>
89     <TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border">
90 jonen 1.2 <TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
91 jonen 1.1 <TD>
92     <span CLASS="font12bold">Inherited Class Variable Summary</span>
93     <A HREF="#top" CLASS="links">^TOP</A>
94     </TD>
95     </TR>
96    
97 jonen 1.2 <!-- =========== Summary =========== -->
98 jonen 1.1 <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 jonen 1.2 <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 jonen 1.1 <td CLASS="font10">The title of the table.</td>
111     </tr>
112 jonen 1.2 <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 jonen 1.1 <td CLASS="font10">the width of the widget</td>
116     </tr>
117 jonen 1.2 </table>
118 jonen 1.1 <BR>
119     </TD>
120     </TR>
121 jonen 1.2 <!-- =========== Summary =========== -->
122 jonen 1.1 <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 jonen 1.2 <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 jonen 1.1 </tr>
136 jonen 1.2 </table>
137 jonen 1.1 <BR>
138     </TD>
139     </TR>
140 jonen 1.2 </TABLE>
141 jonen 1.1
142     <hr>
143 jonen 1.2 <!-- =========== METHOD SUMMARY =========== -->
144     <A NAME='method_summary'><!-- --></A>
145 jonen 1.1 <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 jonen 1.2 <!-- =========== Summary =========== -->
154 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
155     <TD>
156 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodActiveTab'>void constructor ActiveTab ( [$width = "100%"], [$height = "300px"], [$selected_tab = 0] )</A></B></CODE>
157 jonen 1.1 <BR>
158 jonen 1.2 <blockquote> This is the constructor for the ActiveTab object. </blockquote>
159 jonen 1.1 </TD>
160     </TR>
161 jonen 1.2 <!-- =========== Summary =========== -->
162 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
163     <TD>
164 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodadd_tab'>void add_tab ( $title, $content, [$selected = FALSE], [$width = NULL] )</A></B></CODE>
165 jonen 1.1 <BR>
166     <blockquote> Add a tab </blockquote>
167     </TD>
168     </TR>
169 jonen 1.2 <!-- =========== Summary =========== -->
170 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
171     <TD>
172 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodbuild_content'>void build_content ( )</A></B></CODE>
173 jonen 1.1 <BR>
174     <blockquote> </blockquote>
175     </TD>
176     </TR>
177 jonen 1.2 <!-- =========== Summary =========== -->
178 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
179     <TD>
180 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodbuild_tabs'>void build_tabs ( )</A></B></CODE>
181 jonen 1.1 <BR>
182     <blockquote> </blockquote>
183     </TD>
184     </TR>
185 jonen 1.2 <!-- =========== Summary =========== -->
186 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
187     <TD>
188 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodget_javascript'>string get_javascript ( )</A></B></CODE>
189 jonen 1.1 <BR>
190 jonen 1.2 <blockquote> This function MUST be called AFTER ALL content has been added, in order for the js to work properly </blockquote>
191 jonen 1.1 </TD>
192     </TR>
193 jonen 1.2 <!-- =========== Summary =========== -->
194 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
195     <TD>
196 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodhidden_background'>void hidden_background ( $color )</A></B></CODE>
197 jonen 1.1 <BR>
198     <blockquote> Thie method is used to change the hidden tab's </blockquote>
199     </TD>
200     </TR>
201 jonen 1.2 <!-- =========== Summary =========== -->
202 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
203     <TD>
204 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodrender'>void render ( [$indent_level = 1], [$output_debug = 0] )</A></B></CODE>
205 jonen 1.1 <BR>
206     <blockquote> </blockquote>
207     </TD>
208     </TR>
209 jonen 1.2 <!-- =========== Summary =========== -->
210 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
211     <TD>
212 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#methodselected_background'>void selected_background ( $color )</A></B></CODE>
213 jonen 1.1 <BR>
214     <blockquote> Thie method is used to change the selected tab's </blockquote>
215     </TD>
216     </TR>
217 jonen 1.2 <!-- =========== Summary =========== -->
218 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
219     <TD>
220 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#method_build_tab_td'>void _build_tab_td ( $title, $selected, $width )</A></B></CODE>
221 jonen 1.1 <BR>
222     <blockquote> </blockquote>
223     </TD>
224     </TR>
225 jonen 1.2 <!-- =========== Summary =========== -->
226 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
227     <TD>
228 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#method_end_td'>void _end_td ( )</A></B></CODE>
229 jonen 1.1 <BR>
230     <blockquote> </blockquote>
231     </TD>
232     </TR>
233 jonen 1.2 <!-- =========== Summary =========== -->
234 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
235     <TD>
236 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#method_spacer_td'>void _spacer_td ( )</A></B></CODE>
237 jonen 1.1 <BR>
238     <blockquote> </blockquote>
239     </TD>
240     </TR>
241 jonen 1.2 <!-- =========== Summary =========== -->
242 jonen 1.1 <TR BGCOLOR='white' CLASS='TableRowColor'>
243     <TD>
244 jonen 1.2 <CODE><B><A HREF='../phpHtmlLib/ActiveTab.html#method_tab_name'>void _tab_name ( $title )</A></B></CODE>
245 jonen 1.1 <BR>
246     <blockquote> </blockquote>
247     </TD>
248     </TR>
249 jonen 1.2 </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 jonen 1.1
260 jonen 1.2 <!-- =========== 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 jonen 1.1 <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 jonen 1.2 <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 jonen 1.1
364 jonen 1.2 <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 jonen 1.1
371     <UL>
372 jonen 1.2 </UL>
373 jonen 1.1 <HR>
374 jonen 1.2 <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 jonen 1.1
378     <UL>
379 jonen 1.2 </UL>
380 jonen 1.1 <HR>
381     <hr>
382 jonen 1.2 <!-- ============ METHOD DETAIL =========== -->
383 jonen 1.1
384 jonen 1.2 <A NAME='method_detail'></A>
385 jonen 1.1 <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 jonen 1.2 <A NAME='methodActiveTab'><!-- --></A>
396     <SPAN CLASS="font12bold">Constructor ActiveTab</SPAN> (line <span class="linenumber">56</span>)
397 jonen 1.1 <BR>
398 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
399 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
400 jonen 1.2 <span class="font10bold" style="color: #0000FF">ActiveTab(
401     [string
402     $width = "100%"], [string
403     $height = "300px"], int
404     $selected_tab)</SPAN>
405 jonen 1.1 <BR>
406    
407     <BR>
408     <SPAN CLASS="font10bold">Description : </SPAN>
409 jonen 1.2 This is the constructor for the ActiveTab object.
410     <br />
411 jonen 1.1
412     <DL>
413 jonen 1.2 <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 jonen 1.1 </DIV>
421     <BR>
422     <DIV CLASS="function">
423 jonen 1.2 <A NAME='methodadd_tab'><!-- --></A>
424     <SPAN CLASS="font12bold">add_tab</SPAN> (line <span class="linenumber">124</span>)
425 jonen 1.1 <BR>
426 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
427 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
428 jonen 1.2 <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 jonen 1.1 <BR>
435    
436     <BR>
437     <SPAN CLASS="font10bold">Description : </SPAN>
438     Add a tab
439 jonen 1.2 <br />
440 jonen 1.1
441     <DL>
442 jonen 1.2 <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 jonen 1.1 </DIV>
451     <BR>
452     <DIV CLASS="function">
453 jonen 1.2 <A NAME='methodbuild_content'><!-- --></A>
454     <SPAN CLASS="font12bold">build_content</SPAN> (line <span class="linenumber">163</span>)
455 jonen 1.1 <BR>
456 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
457 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
458 jonen 1.2 <span class="font10bold" style="color: #0000FF">build_content(
459     )</SPAN>
460 jonen 1.1 <BR>
461    
462     <BR>
463     <SPAN CLASS="font10bold">Description : </SPAN>
464    
465 jonen 1.2 <br />
466 jonen 1.1
467     <DL>
468    
469 jonen 1.2 <DT class="font10bold">Function Info:</DT>
470     </DL>
471 jonen 1.1 </DIV>
472     <BR>
473     <DIV CLASS="function">
474 jonen 1.2 <A NAME='methodbuild_tabs'><!-- --></A>
475     <SPAN CLASS="font12bold">build_tabs</SPAN> (line <span class="linenumber">134</span>)
476 jonen 1.1 <BR>
477 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
478 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
479 jonen 1.2 <span class="font10bold" style="color: #0000FF">build_tabs(
480     )</SPAN>
481 jonen 1.1 <BR>
482    
483     <BR>
484     <SPAN CLASS="font10bold">Description : </SPAN>
485    
486 jonen 1.2 <br />
487 jonen 1.1
488     <DL>
489    
490 jonen 1.2 <DT class="font10bold">Function Info:</DT>
491     </DL>
492 jonen 1.1 </DIV>
493     <BR>
494     <DIV CLASS="function">
495 jonen 1.2 <A NAME='methodget_javascript'><!-- --></A>
496     <SPAN CLASS="font12bold">get_javascript</SPAN> (line <span class="linenumber">81</span>)
497 jonen 1.1 <BR>
498 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
499 jonen 1.1 <span class="font10bold" style="color: #FF0000">string</SPAN>&nbsp;
500 jonen 1.2 <span class="font10bold" style="color: #0000FF">get_javascript(
501     )</SPAN>
502 jonen 1.1 <BR>
503 jonen 1.2
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 jonen 1.1 <BR>
506     <SPAN CLASS="font10bold">Description : </SPAN>
507 jonen 1.2 This function MUST be called AFTER ALL content has been added, in order for the js to work properly
508     <br />
509 jonen 1.1
510     <DL>
511    
512 jonen 1.2 <DT class="font10bold">Function Info:</DT>
513     </DL>
514 jonen 1.1 </DIV>
515     <BR>
516     <DIV CLASS="function">
517 jonen 1.2 <A NAME='methodhidden_background'><!-- --></A>
518     <SPAN CLASS="font12bold">hidden_background</SPAN> (line <span class="linenumber">236</span>)
519 jonen 1.1 <BR>
520 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
521 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
522 jonen 1.2 <span class="font10bold" style="color: #0000FF">hidden_background(
523     mixed
524     $color)</SPAN>
525 jonen 1.1 <BR>
526    
527     <BR>
528     <SPAN CLASS="font10bold">Description : </SPAN>
529     Thie method is used to change the hidden tab's
530 jonen 1.2 <br />
531     <p>background color</p>
532 jonen 1.1 <DL>
533    
534 jonen 1.2 <DT class="font10bold">Function Info:</DT>
535     </DL>
536 jonen 1.1 </DIV>
537     <BR>
538     <DIV CLASS="function">
539 jonen 1.2 <A NAME='methodrender'><!-- --></A>
540     <SPAN CLASS="font12bold">render</SPAN> (line <span class="linenumber">63</span>)
541 jonen 1.1 <BR>
542 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
543 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
544 jonen 1.2 <span class="font10bold" style="color: #0000FF">render(
545     [mixed
546     $indent_level = 1], mixed
547     $output_debug)</SPAN>
548 jonen 1.1 <BR>
549    
550     <BR>
551     <SPAN CLASS="font10bold">Description : </SPAN>
552    
553 jonen 1.2 <br />
554 jonen 1.1
555     <DL>
556    
557 jonen 1.2 <DT class="font10bold">Function Info:</DT>
558     </DL>
559 jonen 1.1 </DIV>
560     <BR>
561     <DIV CLASS="function">
562 jonen 1.2 <A NAME='methodselected_background'><!-- --></A>
563     <SPAN CLASS="font12bold">selected_background</SPAN> (line <span class="linenumber">228</span>)
564 jonen 1.1 <BR>
565 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
566 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
567 jonen 1.2 <span class="font10bold" style="color: #0000FF">selected_background(
568     mixed
569     $color)</SPAN>
570 jonen 1.1 <BR>
571    
572     <BR>
573     <SPAN CLASS="font10bold">Description : </SPAN>
574     Thie method is used to change the selected tab's
575 jonen 1.2 <br />
576     <p>background color</p>
577 jonen 1.1 <DL>
578    
579 jonen 1.2 <DT class="font10bold">Function Info:</DT>
580     </DL>
581 jonen 1.1 </DIV>
582     <BR>
583     <DIV CLASS="function">
584 jonen 1.2 <A NAME='method_build_tab_td'><!-- --></A>
585     <SPAN CLASS="font12bold">_build_tab_td</SPAN> (line <span class="linenumber">192</span>)
586 jonen 1.1 <BR>
587 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
588 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
589 jonen 1.2 <span class="font10bold" style="color: #0000FF">_build_tab_td(
590     mixed
591     $title, mixed
592     $selected, mixed
593     $width)</SPAN>
594 jonen 1.1 <BR>
595    
596     <BR>
597     <SPAN CLASS="font10bold">Description : </SPAN>
598    
599 jonen 1.2 <br />
600 jonen 1.1
601     <DL>
602    
603 jonen 1.2 <DT class="font10bold">Function Info:</DT>
604     </DL>
605 jonen 1.1 </DIV>
606     <BR>
607     <DIV CLASS="function">
608 jonen 1.2 <A NAME='method_end_td'><!-- --></A>
609     <SPAN CLASS="font12bold">_end_td</SPAN> (line <span class="linenumber">187</span>)
610 jonen 1.1 <BR>
611 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
612 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
613 jonen 1.2 <span class="font10bold" style="color: #0000FF">_end_td(
614     )</SPAN>
615 jonen 1.1 <BR>
616    
617     <BR>
618     <SPAN CLASS="font10bold">Description : </SPAN>
619    
620 jonen 1.2 <br />
621 jonen 1.1
622     <DL>
623    
624 jonen 1.2 <DT class="font10bold">Function Info:</DT>
625     </DL>
626 jonen 1.1 </DIV>
627     <BR>
628     <DIV CLASS="function">
629 jonen 1.2 <A NAME='method_spacer_td'><!-- --></A>
630     <SPAN CLASS="font12bold">_spacer_td</SPAN> (line <span class="linenumber">183</span>)
631 jonen 1.1 <BR>
632 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
633 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
634 jonen 1.2 <span class="font10bold" style="color: #0000FF">_spacer_td(
635     )</SPAN>
636 jonen 1.1 <BR>
637    
638     <BR>
639     <SPAN CLASS="font10bold">Description : </SPAN>
640    
641 jonen 1.2 <br />
642 jonen 1.1
643     <DL>
644    
645 jonen 1.2 <DT class="font10bold">Function Info:</DT>
646     </DL>
647 jonen 1.1 </DIV>
648     <BR>
649     <DIV CLASS="function">
650 jonen 1.2 <A NAME='method_tab_name'><!-- --></A>
651     <SPAN CLASS="font12bold">_tab_name</SPAN> (line <span class="linenumber">241</span>)
652 jonen 1.1 <BR>
653 jonen 1.2 <SPAN CLASS="font10bold">Usage : </SPAN>
654 jonen 1.1 <span class="font10bold" style="color: #FF0000">void</SPAN>&nbsp;
655 jonen 1.2 <span class="font10bold" style="color: #0000FF">_tab_name(
656     mixed
657     $title)</SPAN>
658 jonen 1.1 <BR>
659    
660     <BR>
661     <SPAN CLASS="font10bold">Description : </SPAN>
662    
663 jonen 1.2 <br />
664 jonen 1.1
665     <DL>
666    
667 jonen 1.2 <DT class="font10bold">Function Info:</DT>
668     </DL>
669 jonen 1.1 </DIV>
670     <BR>
671 jonen 1.2 <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>

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