| 1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'> |
| 2 |
<!--NewPage--> |
| 3 |
<HTML> |
| 4 |
<HEAD> |
| 5 |
<!-- Generated by PhpDoc date: 'Mon, 25 Nov 2002 09:21:23 -0800' --> |
| 6 |
<TITLE>Docs For Class ActiveTab</TITLE> |
| 7 |
<LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'> |
| 8 |
</HEAD> |
| 9 |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
| 10 |
|
| 11 |
|
| 12 |
<!-- Links --> |
| 13 |
<a NAME="top"></A> |
| 14 |
<table WIDTH="100%" class="links"> |
| 15 |
<TR> |
| 16 |
<TD class="font10"> |
| 17 |
Links: |
| 18 |
<A HREF="#children_summary" class="links" title="Classes extended from ActiveTab">Child Classes</A> |
| 19 |
<A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A> |
| 20 |
<A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</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> |
| 23 |
<A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A> |
| 24 |
<A HREF="#function_detail" class="links" title="Method Detail">Method Detail</A> |
| 25 |
</TD> |
| 26 |
</TR> |
| 27 |
</TABLE> |
| 28 |
<BR> |
| 29 |
|
| 30 |
<!-- Start of Class Data --> |
| 31 |
<H2> |
| 32 |
Class ActiveTab |
| 33 |
</H2> |
| 34 |
|
| 35 |
<pre> |
| 36 |
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
| 37 |
| |
| 38 |
--<a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a> |
| 39 |
| |
| 40 |
--ActiveTab</pre> |
| 41 |
</pre> |
| 42 |
|
| 43 |
<A NAME="children_summary"</A> |
| 44 |
<H3> |
| 45 |
Classes extended from ActiveTab: <A HREF="#top" CLASS="links">^TOP</A> |
| 46 |
</H3> |
| 47 |
|
| 48 |
<p> |
| 49 |
<b><i>Located in File: Program_Root/widgets/ActiveTab.inc</i></b><br> |
| 50 |
</p> |
| 51 |
<hr> |
| 52 |
<!-- ========== Info from phpDoc block ========= --> |
| 53 |
|
| 54 |
<BR> |
| 55 |
|
| 56 |
|
| 57 |
<UL> |
| 58 |
|
| 59 |
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
| 60 |
|
| 61 |
</UL> |
| 62 |
|
| 63 |
<hr> |
| 64 |
<!-- =========== VAR SUMMARY =========== --> |
| 65 |
<A NAME='var_summary'><!-- --></A> |
| 66 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
| 67 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
| 68 |
<TD> |
| 69 |
<span CLASS="font12bold">Class Variable Summary</span> |
| 70 |
<A HREF="#top" CLASS="links">^TOP</A> |
| 71 |
</TD> |
| 72 |
</TR> |
| 73 |
|
| 74 |
|
| 75 |
<!-- =========== Summary =========== --> |
| 76 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 77 |
<TD> |
| 78 |
<CODE><B><A HREF='ActiveTab.html#$_hidden_background'>$_hidden_background</A></B></CODE> |
| 79 |
<BR> |
| 80 |
<blockquote> The hidden tab's background color </blockquote> |
| 81 |
<blockquote> Default Value: <CODE>->#e0e0e0<-</CODE> </blockquote> |
| 82 |
</TD> |
| 83 |
</TR> |
| 84 |
|
| 85 |
<!-- =========== Summary =========== --> |
| 86 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 87 |
<TD> |
| 88 |
<CODE><B><A HREF='ActiveTab.html#$_selected_background'>$_selected_background</A></B></CODE> |
| 89 |
<BR> |
| 90 |
<blockquote> The active tab's background color </blockquote> |
| 91 |
<blockquote> Default Value: <CODE>->#eeeeee<-</CODE> </blockquote> |
| 92 |
</TD> |
| 93 |
</TR> |
| 94 |
|
| 95 |
</TABLE> |
| 96 |
|
| 97 |
<hr> |
| 98 |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
| 99 |
<A NAME='var_inherited_summary'><!-- --></A> |
| 100 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
| 101 |
<TR CLASS='TableHeadingColor'> |
| 102 |
<TD> |
| 103 |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
| 104 |
<A HREF="#top" CLASS="links">^TOP</A> |
| 105 |
</TD> |
| 106 |
</TR> |
| 107 |
|
| 108 |
|
| 109 |
<!-- =========== Summary =========== --> |
| 110 |
<TR BGCOLOR='white'> |
| 111 |
<TD> |
| 112 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span> |
| 113 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
| 114 |
<tr CLASS="tableheadingcolor"> |
| 115 |
<th>Variable</th> |
| 116 |
<th>Default Value</th> |
| 117 |
<th>Description</th> |
| 118 |
</tr> |
| 119 |
|
| 120 |
<tr> |
| 121 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#$title'>$title</A></td> |
| 122 |
<td CLASS="font10" STYLE="white-space: nowrap">-><-</td> |
| 123 |
<td CLASS="font10">The title of the table.</td> |
| 124 |
</tr> |
| 125 |
|
| 126 |
<tr> |
| 127 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#$width'>$width</A></td> |
| 128 |
<td CLASS="font10" STYLE="white-space: nowrap">->100%<-</td> |
| 129 |
<td CLASS="font10">the width of the widget</td> |
| 130 |
</tr> |
| 131 |
|
| 132 |
</table> |
| 133 |
<BR> |
| 134 |
</TD> |
| 135 |
</TR> |
| 136 |
|
| 137 |
<!-- =========== Summary =========== --> |
| 138 |
<TR BGCOLOR='white'> |
| 139 |
<TD> |
| 140 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
| 141 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
| 142 |
<tr CLASS="tableheadingcolor"> |
| 143 |
<th>Variable</th> |
| 144 |
<th>Default Value</th> |
| 145 |
<th>Description</th> |
| 146 |
</tr> |
| 147 |
|
| 148 |
<tr> |
| 149 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$indent_flag'>$indent_flag</A></td> |
| 150 |
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
| 151 |
<td CLASS="font10">Flag for pretty (indented) output</td> |
| 152 |
</tr> |
| 153 |
|
| 154 |
<tr> |
| 155 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#$_newline_after_content_flag'>$_newline_after_content_flag</A></td> |
| 156 |
<td CLASS="font10" STYLE="white-space: nowrap">->TRUE<-</td> |
| 157 |
<td CLASS="font10">Do we render a newline after the |
| 158 |
contents has been rendered?</td> |
| 159 |
</tr> |
| 160 |
|
| 161 |
</table> |
| 162 |
<BR> |
| 163 |
</TD> |
| 164 |
</TR> |
| 165 |
|
| 166 |
</TABLE> |
| 167 |
|
| 168 |
<hr> |
| 169 |
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
| 170 |
<A NAME='functions_inherited'><!-- --></A> |
| 171 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
| 172 |
<TR CLASS='TableHeadingColor'> |
| 173 |
<TD> |
| 174 |
<span CLASS="font12bold">Inherited Method Summary</span> |
| 175 |
<A HREF="#top" CLASS="links">^TOP</A> |
| 176 |
</TD> |
| 177 |
</TR> |
| 178 |
|
| 179 |
|
| 180 |
<!-- =========== Summary =========== --> |
| 181 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 182 |
<TD> |
| 183 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span> |
| 184 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
| 185 |
<tr CLASS="tableheadingcolor"> |
| 186 |
<th>Function</th> |
| 187 |
<th>Description</th> |
| 188 |
</tr> |
| 189 |
|
| 190 |
<tr> |
| 191 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#get_align'>get_align ( )</A></td> |
| 192 |
<td CLASS="font10">This gets the alignment value |
| 193 |
for the outer table</td> |
| 194 |
|
| 195 |
<tr> |
| 196 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#get_css'>get_css ( )</A></td> |
| 197 |
<td CLASS="font10">This function provides the</td> |
| 198 |
|
| 199 |
<tr> |
| 200 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#get_javascript'>get_javascript ( )</A></td> |
| 201 |
<td CLASS="font10">Function for returning the raw javascript |
| 202 |
that is required for this widget.</td> |
| 203 |
|
| 204 |
<tr> |
| 205 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#get_title'>get_title ( )</A></td> |
| 206 |
<td CLASS="font10">Function for accessing the |
| 207 |
title of this widget</td> |
| 208 |
|
| 209 |
<tr> |
| 210 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#get_width'>get_width ( )</A></td> |
| 211 |
<td CLASS="font10">Function for getting the current |
| 212 |
widget width setting.</td> |
| 213 |
|
| 214 |
<tr> |
| 215 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#set_align'>set_align ( $align )</A></td> |
| 216 |
<td CLASS="font10">This function sets the align attribute |
| 217 |
for the outer table.</td> |
| 218 |
|
| 219 |
<tr> |
| 220 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#set_title'>set_title ( [$title = ] )</A></td> |
| 221 |
<td CLASS="font10">Set the title for the widget.</td> |
| 222 |
|
| 223 |
<tr> |
| 224 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/BaseWidget.html#set_width'>set_width ( $width )</A></td> |
| 225 |
<td CLASS="font10">Set the width for the widget.</td> |
| 226 |
|
| 227 |
</table> |
| 228 |
<br> |
| 229 |
</TD> |
| 230 |
</TR> |
| 231 |
|
| 232 |
<!-- =========== Summary =========== --> |
| 233 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 234 |
<TD> |
| 235 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
| 236 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
| 237 |
<tr CLASS="tableheadingcolor"> |
| 238 |
<th>Function</th> |
| 239 |
<th>Description</th> |
| 240 |
</tr> |
| 241 |
|
| 242 |
<tr> |
| 243 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#constructor Container'>constructor Container ( )</A></td> |
| 244 |
<td CLASS="font10">The constructor.</td> |
| 245 |
|
| 246 |
<tr> |
| 247 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add'>add ( )</A></td> |
| 248 |
<td CLASS="font10">add content onto content stack</td> |
| 249 |
|
| 250 |
<tr> |
| 251 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#add_reference'>add_reference ( &$content )</A></td> |
| 252 |
<td CLASS="font10">Add content onto content stack |
| 253 |
so you can change the item later.</td> |
| 254 |
|
| 255 |
<tr> |
| 256 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#count_content'>count_content ( )</A></td> |
| 257 |
<td CLASS="font10">counts the number of content objects</td> |
| 258 |
|
| 259 |
<tr> |
| 260 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#get_indent_flag'>get_indent_flag ( )</A></td> |
| 261 |
<td CLASS="font10">This flag gets the current value |
| 262 |
of the indent flag</td> |
| 263 |
|
| 264 |
<tr> |
| 265 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push'>push ( )</A></td> |
| 266 |
<td CLASS="font10">Same as add().</td> |
| 267 |
|
| 268 |
<tr> |
| 269 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#push_reference'>push_reference ( &$content )</A></td> |
| 270 |
<td CLASS="font10">Same as add_reference |
| 271 |
NOTE : only exists for compatibility with 1.1.x</td> |
| 272 |
|
| 273 |
<tr> |
| 274 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#render'>render ( [$indent_level = 1], [$output_debug = 0] )</A></td> |
| 275 |
<td CLASS="font10">This function is compatible with the |
| 276 |
rest of the phpHtmllib API spec.</td> |
| 277 |
|
| 278 |
<tr> |
| 279 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#reset_content'>reset_content ( )</A></td> |
| 280 |
<td CLASS="font10">destroy existing content and start with new content.</td> |
| 281 |
|
| 282 |
<tr> |
| 283 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_collapse'>set_collapse ( [$collapse = TRUE], [$indent = TRUE] )</A></td> |
| 284 |
<td CLASS="font10">This function turns on the collapse flag</td> |
| 285 |
|
| 286 |
<tr> |
| 287 |
<td CLASS="font10bold"><A HREF='../phpHtmlLib/Container.html#set_indent_flag'>set_indent_flag ( $flag )</A></td> |
| 288 |
<td CLASS="font10">function to set the indent flag</td> |
| 289 |
|
| 290 |
</table> |
| 291 |
<br> |
| 292 |
</TD> |
| 293 |
</TR> |
| 294 |
|
| 295 |
</TABLE> |
| 296 |
|
| 297 |
<hr> |
| 298 |
<!-- should have constructor at some point --> |
| 299 |
<!-- =========== Method SUMMARY =========== --> |
| 300 |
<A NAME='Method_summary'><!-- --></A> |
| 301 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
| 302 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
| 303 |
<TD> |
| 304 |
<span class="font12bold">Method Summary</span> |
| 305 |
<A HREF="#top" CLASS="links">^TOP</A> |
| 306 |
</TD> |
| 307 |
</TR> |
| 308 |
|
| 309 |
|
| 310 |
<!-- =========== Summary =========== --> |
| 311 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 312 |
<TD> |
| 313 |
<CODE><B><A HREF='ActiveTab.html#constructor ActiveTab'>void constructor ActiveTab ( [$width = "100%"], [$height = "300px"] )</A></B></CODE> |
| 314 |
<BR> |
| 315 |
<blockquote> </blockquote> |
| 316 |
</TD> |
| 317 |
</TR> |
| 318 |
|
| 319 |
<!-- =========== Summary =========== --> |
| 320 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 321 |
<TD> |
| 322 |
<CODE><B><A HREF='ActiveTab.html#add_tab'>void add_tab ( $title, $content, [$selected = FALSE], [$width = NULL] )</A></B></CODE> |
| 323 |
<BR> |
| 324 |
<blockquote> Add a tab </blockquote> |
| 325 |
</TD> |
| 326 |
</TR> |
| 327 |
|
| 328 |
<!-- =========== Summary =========== --> |
| 329 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 330 |
<TD> |
| 331 |
<CODE><B><A HREF='ActiveTab.html#build_content'>void build_content ( )</A></B></CODE> |
| 332 |
<BR> |
| 333 |
<blockquote> </blockquote> |
| 334 |
</TD> |
| 335 |
</TR> |
| 336 |
|
| 337 |
<!-- =========== Summary =========== --> |
| 338 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 339 |
<TD> |
| 340 |
<CODE><B><A HREF='ActiveTab.html#build_tabs'>void build_tabs ( )</A></B></CODE> |
| 341 |
<BR> |
| 342 |
<blockquote> </blockquote> |
| 343 |
</TD> |
| 344 |
</TR> |
| 345 |
|
| 346 |
<!-- =========== Summary =========== --> |
| 347 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 348 |
<TD> |
| 349 |
<CODE><B><A HREF='ActiveTab.html#get_javascript'>string get_javascript ( )</A></B></CODE> |
| 350 |
<BR> |
| 351 |
<blockquote> This function MUST be called AFTER ALL content |
| 352 |
has been added, in order for the js to work properly </blockquote> |
| 353 |
</TD> |
| 354 |
</TR> |
| 355 |
|
| 356 |
<!-- =========== Summary =========== --> |
| 357 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 358 |
<TD> |
| 359 |
<CODE><B><A HREF='ActiveTab.html#hidden_background'>void hidden_background ( $color )</A></B></CODE> |
| 360 |
<BR> |
| 361 |
<blockquote> Thie method is used to change the hidden tab's </blockquote> |
| 362 |
</TD> |
| 363 |
</TR> |
| 364 |
|
| 365 |
<!-- =========== Summary =========== --> |
| 366 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 367 |
<TD> |
| 368 |
<CODE><B><A HREF='ActiveTab.html#render'>void render ( [$indent_level = 1], [$output_debug = 0] )</A></B></CODE> |
| 369 |
<BR> |
| 370 |
<blockquote> </blockquote> |
| 371 |
</TD> |
| 372 |
</TR> |
| 373 |
|
| 374 |
<!-- =========== Summary =========== --> |
| 375 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 376 |
<TD> |
| 377 |
<CODE><B><A HREF='ActiveTab.html#selected_background'>void selected_background ( $color )</A></B></CODE> |
| 378 |
<BR> |
| 379 |
<blockquote> Thie method is used to change the selected tab's </blockquote> |
| 380 |
</TD> |
| 381 |
</TR> |
| 382 |
|
| 383 |
<!-- =========== Summary =========== --> |
| 384 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 385 |
<TD> |
| 386 |
<CODE><B><A HREF='ActiveTab.html#_build_tab_td'>void _build_tab_td ( $title, $selected, $width )</A></B></CODE> |
| 387 |
<BR> |
| 388 |
<blockquote> </blockquote> |
| 389 |
</TD> |
| 390 |
</TR> |
| 391 |
|
| 392 |
<!-- =========== Summary =========== --> |
| 393 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 394 |
<TD> |
| 395 |
<CODE><B><A HREF='ActiveTab.html#_end_td'>void _end_td ( )</A></B></CODE> |
| 396 |
<BR> |
| 397 |
<blockquote> </blockquote> |
| 398 |
</TD> |
| 399 |
</TR> |
| 400 |
|
| 401 |
<!-- =========== Summary =========== --> |
| 402 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 403 |
<TD> |
| 404 |
<CODE><B><A HREF='ActiveTab.html#_spacer_td'>void _spacer_td ( )</A></B></CODE> |
| 405 |
<BR> |
| 406 |
<blockquote> </blockquote> |
| 407 |
</TD> |
| 408 |
</TR> |
| 409 |
|
| 410 |
<!-- =========== Summary =========== --> |
| 411 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
| 412 |
<TD> |
| 413 |
<CODE><B><A HREF='ActiveTab.html#_tab_name'>void _tab_name ( $title )</A></B></CODE> |
| 414 |
<BR> |
| 415 |
<blockquote> </blockquote> |
| 416 |
</TD> |
| 417 |
</TR> |
| 418 |
|
| 419 |
</TABLE> |
| 420 |
|
| 421 |
<hr> |
| 422 |
<!-- ============ VARIABLE DETAIL =========== --> |
| 423 |
|
| 424 |
<A NAME='variable_detail'></A> |
| 425 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
| 426 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
| 427 |
<TD> |
| 428 |
<span CLASS="font12bold">Variable Detail</span> |
| 429 |
<A HREF="#top" CLASS="links">^TOP</A> |
| 430 |
</TD> |
| 431 |
</TR> |
| 432 |
</TABLE> |
| 433 |
|
| 434 |
|
| 435 |
<A NAME='$_hidden_background'><!-- --></A><H3>$_hidden_background</H3> |
| 436 |
<b>Data type:</b> mixed<br> |
| 437 |
<!-- ========== Info from phpDoc block ========= --> |
| 438 |
The hidden tab's background color |
| 439 |
<BR> |
| 440 |
|
| 441 |
|
| 442 |
<UL> |
| 443 |
|
| 444 |
</UL> |
| 445 |
|
| 446 |
<HR> |
| 447 |
|
| 448 |
<A NAME='$_selected_background'><!-- --></A><H3>$_selected_background</H3> |
| 449 |
<b>Data type:</b> mixed<br> |
| 450 |
<!-- ========== Info from phpDoc block ========= --> |
| 451 |
The active tab's background color |
| 452 |
<BR> |
| 453 |
|
| 454 |
|
| 455 |
<UL> |
| 456 |
|
| 457 |
</UL> |
| 458 |
|
| 459 |
<HR> |
| 460 |
|
| 461 |
|
| 462 |
<hr> |
| 463 |
<!-- ============ FUNCTION DETAIL =========== --> |
| 464 |
|
| 465 |
<A NAME='function_detail'></A> |
| 466 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
| 467 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
| 468 |
<TD> |
| 469 |
<span class="font12bold">Method Detail</span> |
| 470 |
<A HREF="#top" CLASS="links">^TOP</A> |
| 471 |
</TD> |
| 472 |
</TR> |
| 473 |
</TABLE> |
| 474 |
<BR> |
| 475 |
|
| 476 |
<DIV CLASS="function"> |
| 477 |
<A NAME='constructor ActiveTab'><!-- --></A> |
| 478 |
<SPAN CLASS="font12bold">constructor ActiveTab</SPAN> |
| 479 |
<BR> |
| 480 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 481 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
| 482 |
<span class="font10bold" style="color: #0000FF">constructor ActiveTab ( [$width = "100%"], [$height = "300px"] )</SPAN> |
| 483 |
<BR> |
| 484 |
|
| 485 |
<BR> |
| 486 |
<SPAN CLASS="font10bold">Description : </SPAN> |
| 487 |
<!-- ========== Info from phpDoc block ========= --> |
| 488 |
|
| 489 |
<BR> |
| 490 |
|
| 491 |
<DL> |
| 492 |
<DT class="font10bold">Function Parameters:</DT> |
| 493 |
|
| 494 |
|
| 495 |
<DT class="font10bold">Function Info:</DT> |
| 496 |
|
| 497 |
</DL> |
| 498 |
|
| 499 |
</DIV> |
| 500 |
<BR> |
| 501 |
|
| 502 |
<DIV CLASS="function"> |
| 503 |
<A NAME='add_tab'><!-- --></A> |
| 504 |
<SPAN CLASS="font12bold">add_tab</SPAN> |
| 505 |
<BR> |
| 506 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 507 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
| 508 |
<span class="font10bold" style="color: #0000FF">add_tab ( $title, $content, [$selected = FALSE], [$width = NULL] )</SPAN> |
| 509 |
<BR> |
| 510 |
|
| 511 |
<BR> |
| 512 |
<SPAN CLASS="font10bold">Description : </SPAN> |
| 513 |
<!-- ========== Info from phpDoc block ========= --> |
| 514 |
Add a tab |
| 515 |
<BR> |
| 516 |
|
| 517 |
<DL> |
| 518 |
<DT class="font10bold">Function Parameters:</DT> |
| 519 |
|
| 520 |
<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> |
| 521 |
|
| 522 |
<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> |
| 523 |
|
| 524 |
<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 |
| 525 |
the default selected tab?</DD> |
| 526 |
|
| 527 |
<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 |
| 528 |
defaults to 60</DD> |
| 529 |
|
| 530 |
|
| 531 |
<DT class="font10bold">Function Info:</DT> |
| 532 |
|
| 533 |
</DL> |
| 534 |
|
| 535 |
</DIV> |
| 536 |
<BR> |
| 537 |
|
| 538 |
<DIV CLASS="function"> |
| 539 |
<A NAME='build_content'><!-- --></A> |
| 540 |
<SPAN CLASS="font12bold">build_content</SPAN> |
| 541 |
<BR> |
| 542 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 543 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
| 544 |
<span class="font10bold" style="color: #0000FF">build_content ( )</SPAN> |
| 545 |
<BR> |
| 546 |
|
| 547 |
<BR> |
| 548 |
<SPAN CLASS="font10bold">Description : </SPAN> |
| 549 |
<!-- ========== Info from phpDoc block ========= --> |
| 550 |
|
| 551 |
<BR> |
| 552 |
|
| 553 |
<DL> |
| 554 |
<DT class="font10bold">Function Parameters:</DT> |
| 555 |
|
| 556 |
|
| 557 |
<DT class="font10bold">Function Info:</DT> |
| 558 |
|
| 559 |
</DL> |
| 560 |
|
| 561 |
</DIV> |
| 562 |
<BR> |
| 563 |
|
| 564 |
<DIV CLASS="function"> |
| 565 |
<A NAME='build_tabs'><!-- --></A> |
| 566 |
<SPAN CLASS="font12bold">build_tabs</SPAN> |
| 567 |
<BR> |
| 568 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 569 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
| 570 |
<span class="font10bold" style="color: #0000FF">build_tabs ( )</SPAN> |
| 571 |
<BR> |
| 572 |
|
| 573 |
<BR> |
| 574 |
<SPAN CLASS="font10bold">Description : </SPAN> |
| 575 |
<!-- ========== Info from phpDoc block ========= --> |
| 576 |
|
| 577 |
<BR> |
| 578 |
|
| 579 |
<DL> |
| 580 |
<DT class="font10bold">Function Parameters:</DT> |
| 581 |
|
| 582 |
|
| 583 |
<DT class="font10bold">Function Info:</DT> |
| 584 |
|
| 585 |
</DL> |
| 586 |
|
| 587 |
</DIV> |
| 588 |
<BR> |
| 589 |
|
| 590 |
<DIV CLASS="function"> |
| 591 |
<A NAME='get_javascript'><!-- --></A> |
| 592 |
<SPAN CLASS="font12bold">get_javascript</SPAN> |
| 593 |
<BR> |
| 594 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 595 |
<span class="font10bold" style="color: #FF0000">string</SPAN> |
| 596 |
<span class="font10bold" style="color: #0000FF">get_javascript ( )</SPAN> |
| 597 |
<BR> |
| 598 |
<span class="font10bold" style="padding-left: 10px;">Overrides :</span> <a href="../phpHtmlLib/BaseWidget.html#get_javascript">BaseWidget::get_javascript()</a> |
| 599 |
<BR> |
| 600 |
<SPAN CLASS="font10bold">Description : </SPAN> |
| 601 |
<!-- ========== Info from phpDoc block ========= --> |
| 602 |
This function MUST be called AFTER ALL content |
| 603 |
has been added, in order for the js to work properly |
| 604 |
<BR> |
| 605 |
|
| 606 |
<DL> |
| 607 |
<DT class="font10bold">Function Parameters:</DT> |
| 608 |
|
| 609 |
|
| 610 |
<DT class="font10bold">Function Info:</DT> |
| 611 |
|
| 612 |
</DL> |
| 613 |
|
| 614 |
</DIV> |
| 615 |
<BR> |
| 616 |
|
| 617 |
<DIV CLASS="function"> |
| 618 |
<A NAME='hidden_background'><!-- --></A> |
| 619 |
<SPAN CLASS="font12bold">hidden_background</SPAN> |
| 620 |
<BR> |
| 621 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 622 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
| 623 |
<span class="font10bold" style="color: #0000FF">hidden_background ( $color )</SPAN> |
| 624 |
<BR> |
| 625 |
|
| 626 |
<BR> |
| 627 |
<SPAN CLASS="font10bold">Description : </SPAN> |
| 628 |
<!-- ========== Info from phpDoc block ========= --> |
| 629 |
Thie method is used to change the hidden tab's |
| 630 |
<BR> |
| 631 |
background color |
| 632 |
<DL> |
| 633 |
<DT class="font10bold">Function Parameters:</DT> |
| 634 |
|
| 635 |
|
| 636 |
<DT class="font10bold">Function Info:</DT> |
| 637 |
|
| 638 |
</DL> |
| 639 |
|
| 640 |
</DIV> |
| 641 |
<BR> |
| 642 |
|
| 643 |
<DIV CLASS="function"> |
| 644 |
<A NAME='render'><!-- --></A> |
| 645 |
<SPAN CLASS="font12bold">render</SPAN> |
| 646 |
<BR> |
| 647 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 648 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
| 649 |
<span class="font10bold" style="color: #0000FF">render ( [$indent_level = 1], [$output_debug = 0] )</SPAN> |
| 650 |
<BR> |
| 651 |
|
| 652 |
<BR> |
| 653 |
<SPAN CLASS="font10bold">Description : </SPAN> |
| 654 |
<!-- ========== Info from phpDoc block ========= --> |
| 655 |
|
| 656 |
<BR> |
| 657 |
|
| 658 |
<DL> |
| 659 |
<DT class="font10bold">Function Parameters:</DT> |
| 660 |
|
| 661 |
|
| 662 |
<DT class="font10bold">Function Info:</DT> |
| 663 |
|
| 664 |
</DL> |
| 665 |
|
| 666 |
</DIV> |
| 667 |
<BR> |
| 668 |
|
| 669 |
<DIV CLASS="function"> |
| 670 |
<A NAME='selected_background'><!-- --></A> |
| 671 |
<SPAN CLASS="font12bold">selected_background</SPAN> |
| 672 |
<BR> |
| 673 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 674 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
| 675 |
<span class="font10bold" style="color: #0000FF">selected_background ( $color )</SPAN> |
| 676 |
<BR> |
| 677 |
|
| 678 |
<BR> |
| 679 |
<SPAN CLASS="font10bold">Description : </SPAN> |
| 680 |
<!-- ========== Info from phpDoc block ========= --> |
| 681 |
Thie method is used to change the selected tab's |
| 682 |
<BR> |
| 683 |
background color |
| 684 |
<DL> |
| 685 |
<DT class="font10bold">Function Parameters:</DT> |
| 686 |
|
| 687 |
|
| 688 |
<DT class="font10bold">Function Info:</DT> |
| 689 |
|
| 690 |
</DL> |
| 691 |
|
| 692 |
</DIV> |
| 693 |
<BR> |
| 694 |
|
| 695 |
<DIV CLASS="function"> |
| 696 |
<A NAME='_build_tab_td'><!-- --></A> |
| 697 |
<SPAN CLASS="font12bold">_build_tab_td</SPAN> |
| 698 |
<BR> |
| 699 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 700 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
| 701 |
<span class="font10bold" style="color: #0000FF">_build_tab_td ( $title, $selected, $width )</SPAN> |
| 702 |
<BR> |
| 703 |
|
| 704 |
<BR> |
| 705 |
<SPAN CLASS="font10bold">Description : </SPAN> |
| 706 |
<!-- ========== Info from phpDoc block ========= --> |
| 707 |
|
| 708 |
<BR> |
| 709 |
|
| 710 |
<DL> |
| 711 |
<DT class="font10bold">Function Parameters:</DT> |
| 712 |
|
| 713 |
|
| 714 |
<DT class="font10bold">Function Info:</DT> |
| 715 |
|
| 716 |
</DL> |
| 717 |
|
| 718 |
</DIV> |
| 719 |
<BR> |
| 720 |
|
| 721 |
<DIV CLASS="function"> |
| 722 |
<A NAME='_end_td'><!-- --></A> |
| 723 |
<SPAN CLASS="font12bold">_end_td</SPAN> |
| 724 |
<BR> |
| 725 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 726 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
| 727 |
<span class="font10bold" style="color: #0000FF">_end_td ( )</SPAN> |
| 728 |
<BR> |
| 729 |
|
| 730 |
<BR> |
| 731 |
<SPAN CLASS="font10bold">Description : </SPAN> |
| 732 |
<!-- ========== Info from phpDoc block ========= --> |
| 733 |
|
| 734 |
<BR> |
| 735 |
|
| 736 |
<DL> |
| 737 |
<DT class="font10bold">Function Parameters:</DT> |
| 738 |
|
| 739 |
|
| 740 |
<DT class="font10bold">Function Info:</DT> |
| 741 |
|
| 742 |
</DL> |
| 743 |
|
| 744 |
</DIV> |
| 745 |
<BR> |
| 746 |
|
| 747 |
<DIV CLASS="function"> |
| 748 |
<A NAME='_spacer_td'><!-- --></A> |
| 749 |
<SPAN CLASS="font12bold">_spacer_td</SPAN> |
| 750 |
<BR> |
| 751 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 752 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
| 753 |
<span class="font10bold" style="color: #0000FF">_spacer_td ( )</SPAN> |
| 754 |
<BR> |
| 755 |
|
| 756 |
<BR> |
| 757 |
<SPAN CLASS="font10bold">Description : </SPAN> |
| 758 |
<!-- ========== Info from phpDoc block ========= --> |
| 759 |
|
| 760 |
<BR> |
| 761 |
|
| 762 |
<DL> |
| 763 |
<DT class="font10bold">Function Parameters:</DT> |
| 764 |
|
| 765 |
|
| 766 |
<DT class="font10bold">Function Info:</DT> |
| 767 |
|
| 768 |
</DL> |
| 769 |
|
| 770 |
</DIV> |
| 771 |
<BR> |
| 772 |
|
| 773 |
<DIV CLASS="function"> |
| 774 |
<A NAME='_tab_name'><!-- --></A> |
| 775 |
<SPAN CLASS="font12bold">_tab_name</SPAN> |
| 776 |
<BR> |
| 777 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
| 778 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
| 779 |
<span class="font10bold" style="color: #0000FF">_tab_name ( $title )</SPAN> |
| 780 |
<BR> |
| 781 |
|
| 782 |
<BR> |
| 783 |
<SPAN CLASS="font10bold">Description : </SPAN> |
| 784 |
<!-- ========== Info from phpDoc block ========= --> |
| 785 |
|
| 786 |
<BR> |
| 787 |
|
| 788 |
<DL> |
| 789 |
<DT class="font10bold">Function Parameters:</DT> |
| 790 |
|
| 791 |
|
| 792 |
<DT class="font10bold">Function Info:</DT> |
| 793 |
|
| 794 |
</DL> |
| 795 |
|
| 796 |
</DIV> |
| 797 |
<BR> |
| 798 |
|
| 799 |
|
| 800 |
<hr> |
| 801 |
</HTML> |