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