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