1 |
<?xml version="1.0" encoding="iso-8859-1"?> |
<?xml version="1.0" encoding="iso-8859-1"?> |
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
4 |
<head> |
<head> |
5 |
<!-- template designed by Marco Von Ballmoos --> |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<title>Docs For Class ActiveTab</title> |
<title>Docs For Class ActiveTab</title> |
7 |
<link rel="stylesheet" href="../media/stylesheet.css" /> |
<link rel="stylesheet" href="../media/stylesheet.css" /> |
8 |
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
9 |
</head> |
</head> |
10 |
<body> |
<body> |
11 |
<div class="page-body"> |
<div class="page-body"> |
12 |
<h2 class="class-name">Class ActiveTab</h2> |
<h2 class="class-name">Class ActiveTab</h2> |
13 |
|
|
14 |
<a name="sec-description"></a> |
<a name="sec-description"></a> |
15 |
<div class="info-box"> |
<div class="info-box"> |
16 |
<div class="info-box-title">Description</div> |
<div class="info-box-title">Description</div> |
17 |
<div class="nav-bar"> |
<div class="nav-bar"> |
18 |
<span class="disabled">Description</span> | |
<span class="disabled">Description</span> | |
19 |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
20 |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
21 |
|
|
22 |
</div> |
</div> |
23 |
<div class="info-box-body"> |
<div class="info-box-body"> |
24 |
<!-- ========== Info from phpDoc block ========= --> |
<!-- ========== Info from phpDoc block ========= --> |
25 |
<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> |
<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 |
<ul class="tags"> |
<ul class="tags"> |
27 |
<li><span class="field">author:</span> <p>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></p></li> |
<li><span class="field">author:</span> Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></li> |
28 |
</ul> |
</ul> |
29 |
<p class="notes"> |
<p class="notes"> |
30 |
Located in <a class="field" href="_widgets_ActiveTab_inc.html">Program_Root/widgets/ActiveTab.inc</a> (line <span class="field">20</span>) |
Located in <a class="field" href="_widgets_ActiveTab_inc.html">/widgets/ActiveTab.inc</a> (line <span class="field">20</span>) |
31 |
</p> |
</p> |
32 |
|
|
33 |
|
|
34 |
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
<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 |
| |
| |
|
--ActiveTab</pre> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<a name="sec-var-summary"></a> |
|
|
<div class="info-box"> |
|
|
<div class="info-box-title">Variable Summary</span></div> |
|
|
<div class="nav-bar"> |
|
|
<a href="#sec-description">Description</a> | |
|
|
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) |
|
|
| |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
|
|
|
|
|
</div> |
|
|
<div class="info-box-body"> |
|
|
<div class="var-summary"> |
|
|
<div class="var-title"> |
|
|
<span class="var-type">mixed</span> |
|
|
<a href="#$_hidden_background" title="details" class="var-name">$_hidden_background</a> |
|
|
</div> |
|
|
<div class="var-title"> |
|
|
<span class="var-type">mixed</span> |
|
|
<a href="#$_selected_background" title="details" class="var-name">$_selected_background</a> |
|
|
</div> |
|
|
<div class="var-title"> |
|
|
<span class="var-type">mixed</span> |
|
|
<a href="#$_selected_tab" title="details" class="var-name">$_selected_tab</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<a name="sec-method-summary"></a> |
|
|
<div class="info-box"> |
|
|
<div class="info-box-title">Method Summary</span></div> |
|
|
<div class="nav-bar"> |
|
|
<a href="#sec-description">Description</a> | |
|
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
|
|
|
|
|
| |
|
|
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
|
|
</div> |
|
|
<div class="info-box-body"> |
|
|
<div class="method-summary"> |
|
|
|
|
|
<div class="method-definition"> |
|
|
<span class="method-result">void</span> |
|
|
<a href="#ActiveTab" title="details" class="method-name">ActiveTab</a> |
|
|
([<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>) |
|
|
</div> |
|
|
|
|
|
<div class="method-definition"> |
|
|
<span class="method-result">void</span> |
|
|
<a href="#add_tab" title="details" class="method-name">add_tab</a> |
|
|
(<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>]) |
|
|
</div> |
|
|
|
|
|
<div class="method-definition"> |
|
|
<span class="method-result">void</span> |
|
|
<a href="#build_content" title="details" class="method-name">build_content</a> |
|
|
() |
|
|
</div> |
|
|
|
|
|
<div class="method-definition"> |
|
|
<span class="method-result">void</span> |
|
|
<a href="#build_tabs" title="details" class="method-name">build_tabs</a> |
|
|
() |
|
|
</div> |
|
|
|
|
|
<div class="method-definition"> |
|
|
<span class="method-result">string</span> |
|
|
<a href="#get_javascript" title="details" class="method-name">get_javascript</a> |
|
|
() |
|
|
</div> |
|
|
|
|
|
<div class="method-definition"> |
|
|
<span class="method-result">void</span> |
|
|
<a href="#hidden_background" title="details" class="method-name">hidden_background</a> |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$color</span>) |
|
|
</div> |
|
|
|
|
|
<div class="method-definition"> |
|
|
<span class="method-result">void</span> |
|
|
<a href="#render" title="details" class="method-name">render</a> |
|
|
([<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>) |
|
|
</div> |
|
|
|
|
|
<div class="method-definition"> |
|
|
<span class="method-result">void</span> |
|
|
<a href="#selected_background" title="details" class="method-name">selected_background</a> |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$color</span>) |
|
|
</div> |
|
|
|
|
|
<div class="method-definition"> |
|
|
<span class="method-result">void</span> |
|
|
<a href="#_build_tab_td" title="details" class="method-name">_build_tab_td</a> |
|
|
(<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>) |
|
|
</div> |
|
|
|
|
|
<div class="method-definition"> |
|
|
<span class="method-result">void</span> |
|
|
<a href="#_end_td" title="details" class="method-name">_end_td</a> |
|
|
() |
|
|
</div> |
|
|
|
|
|
<div class="method-definition"> |
|
|
<span class="method-result">void</span> |
|
|
<a href="#_spacer_td" title="details" class="method-name">_spacer_td</a> |
|
|
() |
|
|
</div> |
|
|
|
|
|
<div class="method-definition"> |
|
|
<span class="method-result">void</span> |
|
|
<a href="#_tab_name" title="details" class="method-name">_tab_name</a> |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$title</span>) |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<a name="sec-vars"></a> |
|
|
<div class="info-box"> |
|
|
<div class="info-box-title">Variables</div> |
|
|
<div class="nav-bar"> |
|
|
<a href="#sec-description">Description</a> | |
|
|
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
|
|
|
|
|
|
|
|
| |
|
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
|
|
|
|
|
</div> |
|
|
<div class="info-box-body"> |
|
|
<a name="var$_hidden_background" id="$_hidden_background"><!-- --></A> |
|
|
<div class="evenrow"> |
|
|
|
|
|
<div class="var-header"> |
|
|
<span class="var-title"> |
|
|
<span class="var-type">mixed</span> |
|
|
<span class="var-name">$_hidden_background</span> |
|
|
= <span class="var-default"> "#e0e0e0"</span> (line <span class="line-number">40</span>) |
|
|
</span> |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
<p class="short-description">The hidden tab's background color</p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
<a name="var$_selected_background" id="$_selected_background"><!-- --></A> |
|
|
<div class="oddrow"> |
|
|
|
|
|
<div class="var-header"> |
|
|
<span class="var-title"> |
|
|
<span class="var-type">mixed</span> |
|
|
<span class="var-name">$_selected_background</span> |
|
|
= <span class="var-default"> "#eeeeee"</span> (line <span class="line-number">35</span>) |
|
|
</span> |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
<p class="short-description">The active tab's background color</p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
<a name="var$_selected_tab" id="$_selected_tab"><!-- --></A> |
|
|
<div class="evenrow"> |
|
|
|
|
|
<div class="var-header"> |
|
|
<span class="var-title"> |
|
|
<span class="var-type">mixed</span> |
|
|
<span class="var-name">$_selected_tab</span> |
|
|
= <span class="var-default"> 0</span> (line <span class="line-number">45</span>) |
|
|
</span> |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
<p class="short-description">The default selected tab</p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
<h4>Inherited Variables</h4> |
|
|
<A NAME='inherited_vars'><!-- --></A> |
|
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
|
|
<blockquote> |
|
|
<span class="var-title"> |
|
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></span><br> |
|
|
</span> |
|
|
<span class="var-title"> |
|
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></span><br> |
|
|
</span> |
|
|
</blockquote> |
|
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
|
|
<blockquote> |
|
|
<span class="var-title"> |
|
|
<span class="var-name"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></span><br> |
|
|
</span> |
|
|
</blockquote> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<a name="sec-methods"></a> |
|
|
<div class="info-box"> |
|
|
<div class="info-box-title">Methods</div> |
|
|
<div class="nav-bar"> |
|
|
<a href="#sec-description">Description</a> | |
|
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
|
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
|
|
|
|
|
</div> |
|
|
<div class="info-box-body"> |
|
|
<A NAME='method_detail'></A> |
|
|
<a name="methodActiveTab" id="ActiveTab"><!-- --></a> |
|
|
<div class="oddrow"> |
|
|
|
|
|
<div class="method-header"> |
|
|
<span class="method-title">Constructor ActiveTab</span> (line <span class="line-number">56</span>) |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
<p class="short-description">This is the constructor for the ActiveTab object.</p> |
|
|
|
|
|
<div class="method-signature"> |
|
|
<span class="method-result">void</span> |
|
|
<span class="method-name"> |
|
|
ActiveTab |
|
|
</span> |
|
|
([<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>) |
|
|
</div> |
|
|
|
|
|
<ul class="parameters"> |
|
|
<li> |
|
|
<span class="var-type">string</span> |
|
|
<span class="var-name">$width</span><span class="var-description">: <p>- the width table</p></span> </li> |
|
|
<li> |
|
|
<span class="var-type">string</span> |
|
|
<span class="var-name">$height</span><span class="var-description">: <p>- the height of the tab's contents</p></span> </li> |
|
|
<li> |
|
|
<span class="var-type">int</span> |
|
|
<span class="var-name">$selected_tab</span><span class="var-description">: <p>- the selected tab.</p></span> </li> |
|
|
</ul> |
|
|
|
|
|
|
|
|
</div> |
|
|
<a name="methodadd_tab" id="add_tab"><!-- --></a> |
|
|
<div class="evenrow"> |
|
|
|
|
|
<div class="method-header"> |
|
|
<span class="method-title">add_tab</span> (line <span class="line-number">124</span>) |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
<p class="short-description">Add a tab</p> |
|
|
|
|
|
<div class="method-signature"> |
|
|
<span class="method-result">void</span> |
|
|
<span class="method-name"> |
|
|
add_tab |
|
|
</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>]) |
|
|
</div> |
|
|
|
|
|
<ul class="parameters"> |
|
|
<li> |
|
|
<span class="var-type">string</span> |
|
|
<span class="var-name">$title</span><span class="var-description">: <p>- the title of the tab</p></span> </li> |
|
|
<li> |
|
|
<span class="var-type">mixed</span> |
|
|
<span class="var-name">$content</span><span class="var-description">: <p>- the conetnts for the tab</p></span> </li> |
|
|
<li> |
|
|
<span class="var-type">boolean</span> |
|
|
<span class="var-name">$selected</span><span class="var-description">: <p>- should this tab be the default selected tab?</p></span> </li> |
|
|
<li> |
|
|
<span class="var-type">int</span> |
|
|
<span class="var-name">$width</span><span class="var-description">: <p>- the width of the tab in pixels defaults to 60</p></span> </li> |
|
|
</ul> |
|
|
|
|
|
|
|
|
</div> |
|
|
<a name="methodbuild_content" id="build_content"><!-- --></a> |
|
|
<div class="oddrow"> |
|
|
|
|
|
<div class="method-header"> |
|
|
<span class="method-title">build_content</span> (line <span class="line-number">163</span>) |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
|
|
<div class="method-signature"> |
|
|
<span class="method-result">void</span> |
|
|
<span class="method-name"> |
|
|
build_content |
|
|
</span> |
|
|
() |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
<a name="methodbuild_tabs" id="build_tabs"><!-- --></a> |
|
|
<div class="evenrow"> |
|
|
|
|
|
<div class="method-header"> |
|
|
<span class="method-title">build_tabs</span> (line <span class="line-number">134</span>) |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
|
|
<div class="method-signature"> |
|
|
<span class="method-result">void</span> |
|
|
<span class="method-name"> |
|
|
build_tabs |
|
|
</span> |
|
|
() |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
<a name="methodget_javascript" id="get_javascript"><!-- --></a> |
|
|
<div class="oddrow"> |
|
|
|
|
|
<div class="method-header"> |
|
|
<span class="method-title">get_javascript</span> (line <span class="line-number">81</span>) |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
<p class="short-description">This function MUST be called AFTER ALL content has been added, in order for the js to work properly</p> |
|
|
|
|
|
<div class="method-signature"> |
|
|
<span class="method-result">string</span> |
|
|
<span class="method-name"> |
|
|
get_javascript |
|
|
</span> |
|
|
() |
|
|
</div> |
|
|
|
|
|
|
|
|
<hr class="separator" /> |
|
|
<div class="notes">Redefinition of:</div> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></dt> |
|
|
<dd>Function for returning the raw javascript that is required for this widget.</dd> |
|
|
</dl> |
|
|
|
|
|
</div> |
|
|
<a name="methodhidden_background" id="hidden_background"><!-- --></a> |
|
|
<div class="evenrow"> |
|
|
|
|
|
<div class="method-header"> |
|
|
<span class="method-title">hidden_background</span> (line <span class="line-number">236</span>) |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
<p class="short-description">Thie method is used to change the hidden tab's</p> |
|
|
<p class="description"><p>background color</p></p> |
|
|
|
|
|
<div class="method-signature"> |
|
|
<span class="method-result">void</span> |
|
|
<span class="method-name"> |
|
|
hidden_background |
|
|
</span> |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$color</span>) |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
<a name="methodrender" id="render"><!-- --></a> |
|
|
<div class="oddrow"> |
|
|
|
|
|
<div class="method-header"> |
|
|
<span class="method-title">render</span> (line <span class="line-number">63</span>) |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
|
|
<div class="method-signature"> |
|
|
<span class="method-result">void</span> |
|
|
<span class="method-name"> |
|
|
render |
|
|
</span> |
|
|
([<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>) |
|
|
</div> |
|
|
|
|
|
|
|
|
<hr class="separator" /> |
|
|
<div class="notes">Redefinition of:</div> |
|
|
<dl> |
|
|
<dt><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></dt> |
|
|
<dd>This function is compatible with the rest of the phpHtmllib API spec.</dd> |
|
|
</dl> |
|
|
|
|
|
</div> |
|
|
<a name="methodselected_background" id="selected_background"><!-- --></a> |
|
|
<div class="evenrow"> |
|
|
|
|
|
<div class="method-header"> |
|
|
<span class="method-title">selected_background</span> (line <span class="line-number">228</span>) |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
<p class="short-description">Thie method is used to change the selected tab's</p> |
|
|
<p class="description"><p>background color</p></p> |
|
|
|
|
|
<div class="method-signature"> |
|
|
<span class="method-result">void</span> |
|
|
<span class="method-name"> |
|
|
selected_background |
|
|
</span> |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$color</span>) |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
<a name="method_build_tab_td" id="_build_tab_td"><!-- --></a> |
|
|
<div class="oddrow"> |
|
|
|
|
|
<div class="method-header"> |
|
|
<span class="method-title">_build_tab_td</span> (line <span class="line-number">192</span>) |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
|
|
<div class="method-signature"> |
|
|
<span class="method-result">void</span> |
|
|
<span class="method-name"> |
|
|
_build_tab_td |
|
|
</span> |
|
|
(<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>) |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
<a name="method_end_td" id="_end_td"><!-- --></a> |
|
|
<div class="evenrow"> |
|
|
|
|
|
<div class="method-header"> |
|
|
<span class="method-title">_end_td</span> (line <span class="line-number">187</span>) |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
|
|
<div class="method-signature"> |
|
|
<span class="method-result">void</span> |
|
|
<span class="method-name"> |
|
|
_end_td |
|
|
</span> |
|
|
() |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
<a name="method_spacer_td" id="_spacer_td"><!-- --></a> |
|
|
<div class="oddrow"> |
|
|
|
|
|
<div class="method-header"> |
|
|
<span class="method-title">_spacer_td</span> (line <span class="line-number">183</span>) |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
|
|
<div class="method-signature"> |
|
|
<span class="method-result">void</span> |
|
|
<span class="method-name"> |
|
|
_spacer_td |
|
|
</span> |
|
|
() |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
<a name="method_tab_name" id="_tab_name"><!-- --></a> |
|
|
<div class="evenrow"> |
|
|
|
|
|
<div class="method-header"> |
|
|
<span class="method-title">_tab_name</span> (line <span class="line-number">241</span>) |
|
|
</div> |
|
|
|
|
|
<!-- ========== Info from phpDoc block ========= --> |
|
|
|
|
|
<div class="method-signature"> |
|
|
<span class="method-result">void</span> |
|
|
<span class="method-name"> |
|
|
_tab_name |
|
|
</span> |
|
|
(<span class="var-type">mixed</span> <span class="var-name">$title</span>) |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
<h4>Inherited Methods</h4> |
|
|
<a name='inherited_methods'><!-- --></a> |
|
|
<!-- =========== Summary =========== --> |
|
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
|
|
<blockquote> |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></span><br> |
|
|
</blockquote> |
|
|
<!-- =========== Summary =========== --> |
|
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
|
|
<blockquote> |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br> |
|
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></span><br> |
|
|
</blockquote> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<p class="notes" id="credit"> |
|
|
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> |
|
|
</p> |
|
|
</div></body> |
|
|
</html> |
|
38 |
|
--ActiveTab</pre> |
39 |
|
|
40 |
|
</div> |
41 |
|
</div> |
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
<a name="sec-var-summary"></a> |
46 |
|
<div class="info-box"> |
47 |
|
<div class="info-box-title">Variable Summary</span></div> |
48 |
|
<div class="nav-bar"> |
49 |
|
<a href="#sec-description">Description</a> | |
50 |
|
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) |
51 |
|
| |
52 |
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
53 |
|
|
54 |
|
</div> |
55 |
|
<div class="info-box-body"> |
56 |
|
<div class="var-summary"> |
57 |
|
<div class="var-title"> |
58 |
|
<span class="var-type">mixed</span> |
59 |
|
<a href="#$_hidden_background" title="details" class="var-name">$_hidden_background</a> |
60 |
|
</div> |
61 |
|
<div class="var-title"> |
62 |
|
<span class="var-type">mixed</span> |
63 |
|
<a href="#$_selected_background" title="details" class="var-name">$_selected_background</a> |
64 |
|
</div> |
65 |
|
<div class="var-title"> |
66 |
|
<span class="var-type">mixed</span> |
67 |
|
<a href="#$_selected_tab" title="details" class="var-name">$_selected_tab</a> |
68 |
|
</div> |
69 |
|
</div> |
70 |
|
</div> |
71 |
|
</div> |
72 |
|
|
73 |
|
<a name="sec-method-summary"></a> |
74 |
|
<div class="info-box"> |
75 |
|
<div class="info-box-title">Method Summary</span></div> |
76 |
|
<div class="nav-bar"> |
77 |
|
<a href="#sec-description">Description</a> | |
78 |
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
79 |
|
|
80 |
|
| |
81 |
|
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
82 |
|
</div> |
83 |
|
<div class="info-box-body"> |
84 |
|
<div class="method-summary"> |
85 |
|
|
86 |
|
<div class="method-definition"> |
87 |
|
<span class="method-result">ActiveTab</span> |
88 |
|
<a href="#ActiveTab" title="details" class="method-name">ActiveTab</a> |
89 |
|
([<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 |
|
</div> |
91 |
|
|
92 |
|
<div class="method-definition"> |
93 |
|
<span class="method-result">void</span> |
94 |
|
<a href="#add_tab" title="details" class="method-name">add_tab</a> |
95 |
|
(<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 |
|
</div> |
97 |
|
|
98 |
|
<div class="method-definition"> |
99 |
|
<span class="method-result">void</span> |
100 |
|
<a href="#build_content" title="details" class="method-name">build_content</a> |
101 |
|
() |
102 |
|
</div> |
103 |
|
|
104 |
|
<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 |
|
() |
108 |
|
</div> |
109 |
|
|
110 |
|
<div class="method-definition"> |
111 |
|
<span class="method-result">string</span> |
112 |
|
<a href="#get_javascript" title="details" class="method-name">get_javascript</a> |
113 |
|
() |
114 |
|
</div> |
115 |
|
|
116 |
|
<div class="method-definition"> |
117 |
|
<span class="method-result">void</span> |
118 |
|
<a href="#hidden_background" title="details" class="method-name">hidden_background</a> |
119 |
|
(<span class="var-type">mixed</span> <span class="var-name">$color</span>) |
120 |
|
</div> |
121 |
|
|
122 |
|
<div class="method-definition"> |
123 |
|
<span class="method-result">strint</span> |
124 |
|
<a href="#name" title="details" class="method-name">name</a> |
125 |
|
(<span class="var-type">string</span> <span class="var-name">$title</span>) |
126 |
|
</div> |
127 |
|
|
128 |
|
<div class="method-definition"> |
129 |
|
<span class="method-result">void</span> |
130 |
|
<a href="#render" title="details" class="method-name">render</a> |
131 |
|
([<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 |
|
</div> |
133 |
|
|
134 |
|
<div class="method-definition"> |
135 |
|
<span class="method-result">void</span> |
136 |
|
<a href="#selected_background" title="details" class="method-name">selected_background</a> |
137 |
|
(<span class="var-type">mixed</span> <span class="var-name">$color</span>) |
138 |
|
</div> |
139 |
|
|
140 |
|
<div class="method-definition"> |
141 |
|
<span class="method-result">void</span> |
142 |
|
<a href="#_build_tab_td" title="details" class="method-name">_build_tab_td</a> |
143 |
|
(<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 |
|
</div> |
145 |
|
|
146 |
|
<div class="method-definition"> |
147 |
|
<span class="method-result">void</span> |
148 |
|
<a href="#_end_td" title="details" class="method-name">_end_td</a> |
149 |
|
() |
150 |
|
</div> |
151 |
|
|
152 |
|
<div class="method-definition"> |
153 |
|
<span class="method-result">void</span> |
154 |
|
<a href="#_spacer_td" title="details" class="method-name">_spacer_td</a> |
155 |
|
() |
156 |
|
</div> |
157 |
|
|
158 |
|
<div class="method-definition"> |
159 |
|
<span class="method-result">void</span> |
160 |
|
<a href="#_tab_name" title="details" class="method-name">_tab_name</a> |
161 |
|
(<span class="var-type">mixed</span> <span class="var-name">$title</span>) |
162 |
|
</div> |
163 |
|
</div> |
164 |
|
</div> |
165 |
|
</div> |
166 |
|
|
167 |
|
<a name="sec-vars"></a> |
168 |
|
<div class="info-box"> |
169 |
|
<div class="info-box-title">Variables</div> |
170 |
|
<div class="nav-bar"> |
171 |
|
<a href="#sec-description">Description</a> | |
172 |
|
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
173 |
|
|
174 |
|
|
175 |
|
| |
176 |
|
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
177 |
|
|
178 |
|
</div> |
179 |
|
<div class="info-box-body"> |
180 |
|
<a name="var$_hidden_background" id="$_hidden_background"><!-- --></A> |
181 |
|
<div class="evenrow"> |
182 |
|
|
183 |
|
<div class="var-header"> |
184 |
|
<span class="var-title"> |
185 |
|
<span class="var-type">mixed</span> |
186 |
|
<span class="var-name">$_hidden_background</span> |
187 |
|
= <span class="var-default"> "#e0e0e0"</span> (line <span class="line-number">40</span>) |
188 |
|
</span> |
189 |
|
</div> |
190 |
|
|
191 |
|
<!-- ========== Info from phpDoc block ========= --> |
192 |
|
<p class="short-description">The hidden tab's background color</p> |
193 |
|
|
194 |
|
|
195 |
|
|
196 |
|
|
197 |
|
|
198 |
|
</div> |
199 |
|
<a name="var$_selected_background" id="$_selected_background"><!-- --></A> |
200 |
|
<div class="oddrow"> |
201 |
|
|
202 |
|
<div class="var-header"> |
203 |
|
<span class="var-title"> |
204 |
|
<span class="var-type">mixed</span> |
205 |
|
<span class="var-name">$_selected_background</span> |
206 |
|
= <span class="var-default"> "#eeeeee"</span> (line <span class="line-number">35</span>) |
207 |
|
</span> |
208 |
|
</div> |
209 |
|
|
210 |
|
<!-- ========== Info from phpDoc block ========= --> |
211 |
|
<p class="short-description">The active tab's background color</p> |
212 |
|
|
213 |
|
|
214 |
|
|
215 |
|
|
216 |
|
|
217 |
|
</div> |
218 |
|
<a name="var$_selected_tab" id="$_selected_tab"><!-- --></A> |
219 |
|
<div class="evenrow"> |
220 |
|
|
221 |
|
<div class="var-header"> |
222 |
|
<span class="var-title"> |
223 |
|
<span class="var-type">mixed</span> |
224 |
|
<span class="var-name">$_selected_tab</span> |
225 |
|
= <span class="var-default"> null</span> (line <span class="line-number">48</span>) |
226 |
|
</span> |
227 |
|
</div> |
228 |
|
|
229 |
|
<!-- ========== Info from phpDoc block ========= --> |
230 |
|
<p class="short-description">The default selected tab this is a tab name</p> |
231 |
|
<p class="description"><p>ActiveTab::name("Title of Tab");</p></p> |
232 |
|
|
233 |
|
|
234 |
|
|
235 |
|
|
236 |
|
|
237 |
|
</div> |
238 |
|
<h4>Inherited Variables</h4> |
239 |
|
<A NAME='inherited_vars'><!-- --></A> |
240 |
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
241 |
|
<blockquote> |
242 |
|
<span class="var-title"> |
243 |
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></span><br> |
244 |
|
</span> |
245 |
|
<span class="var-title"> |
246 |
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></span><br> |
247 |
|
</span> |
248 |
|
</blockquote> |
249 |
|
|
250 |
|
</div> |
251 |
|
</div> |
252 |
|
|
253 |
|
<a name="sec-methods"></a> |
254 |
|
<div class="info-box"> |
255 |
|
<div class="info-box-title">Methods</div> |
256 |
|
<div class="nav-bar"> |
257 |
|
<a href="#sec-description">Description</a> | |
258 |
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
259 |
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
260 |
|
|
261 |
|
</div> |
262 |
|
<div class="info-box-body"> |
263 |
|
<A NAME='method_detail'></A> |
264 |
|
<a name="methodActiveTab" id="ActiveTab"><!-- --></a> |
265 |
|
<div class="oddrow"> |
266 |
|
|
267 |
|
<div class="method-header"> |
268 |
|
<span class="method-title">Constructor ActiveTab</span> (line <span class="line-number">62</span>) |
269 |
|
</div> |
270 |
|
|
271 |
|
<!-- ========== Info from phpDoc block ========= --> |
272 |
|
<p class="short-description">This is the constructor for the ActiveTab object.</p> |
273 |
|
|
274 |
|
<div class="method-signature"> |
275 |
|
<span class="method-result">ActiveTab</span> |
276 |
|
<span class="method-name"> |
277 |
|
ActiveTab |
278 |
|
</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 |
|
</div> |
281 |
|
|
282 |
|
<ul class="parameters"> |
283 |
|
<li> |
284 |
|
<span class="var-type">string</span> |
285 |
|
<span class="var-name">$width</span><span class="var-description">: - the width table</span> </li> |
286 |
|
<li> |
287 |
|
<span class="var-type">string</span> |
288 |
|
<span class="var-name">$height</span><span class="var-description">: - the height of the tab's contents</span> </li> |
289 |
|
<li> |
290 |
|
<span class="var-type">string</span> |
291 |
|
<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 |
|
|
294 |
|
|
295 |
|
</div> |
296 |
|
<a name="methodadd_tab" id="add_tab"><!-- --></a> |
297 |
|
<div class="evenrow"> |
298 |
|
|
299 |
|
<div class="method-header"> |
300 |
|
<span class="method-title">add_tab</span> (line <span class="line-number">135</span>) |
301 |
|
</div> |
302 |
|
|
303 |
|
<!-- ========== Info from phpDoc block ========= --> |
304 |
|
<p class="short-description">Add a tab</p> |
305 |
|
|
306 |
|
<div class="method-signature"> |
307 |
|
<span class="method-result">void</span> |
308 |
|
<span class="method-name"> |
309 |
|
add_tab |
310 |
|
</span> |
311 |
|
(<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 |
|
</div> |
313 |
|
|
314 |
|
<ul class="parameters"> |
315 |
|
<li> |
316 |
|
<span class="var-type">string</span> |
317 |
|
<span class="var-name">$title</span><span class="var-description">: - the title of the tab</span> </li> |
318 |
|
<li> |
319 |
|
<span class="var-type">mixed</span> |
320 |
|
<span class="var-name">$content</span><span class="var-description">: - the conetnts for the tab</span> </li> |
321 |
|
<li> |
322 |
|
<span class="var-type">boolean</span> |
323 |
|
<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 |
|
<li> |
325 |
|
<span class="var-type">int</span> |
326 |
|
<span class="var-name">$width</span><span class="var-description">: - the width of the tab in pixels defaults to 60</span> </li> |
327 |
|
</ul> |
328 |
|
|
329 |
|
|
330 |
|
</div> |
331 |
|
<a name="methodbuild_content" id="build_content"><!-- --></a> |
332 |
|
<div class="oddrow"> |
333 |
|
|
334 |
|
<div class="method-header"> |
335 |
|
<span class="method-title">build_content</span> (line <span class="line-number">177</span>) |
336 |
|
</div> |
337 |
|
|
338 |
|
<!-- ========== Info from phpDoc block ========= --> |
339 |
|
|
340 |
|
<div class="method-signature"> |
341 |
|
<span class="method-result">void</span> |
342 |
|
<span class="method-name"> |
343 |
|
build_content |
344 |
|
</span> |
345 |
|
() |
346 |
|
</div> |
347 |
|
|
348 |
|
|
349 |
|
|
350 |
|
</div> |
351 |
|
<a name="methodbuild_tabs" id="build_tabs"><!-- --></a> |
352 |
|
<div class="evenrow"> |
353 |
|
|
354 |
|
<div class="method-header"> |
355 |
|
<span class="method-title">build_tabs</span> (line <span class="line-number">148</span>) |
356 |
|
</div> |
357 |
|
|
358 |
|
<!-- ========== Info from phpDoc block ========= --> |
359 |
|
|
360 |
|
<div class="method-signature"> |
361 |
|
<span class="method-result">void</span> |
362 |
|
<span class="method-name"> |
363 |
|
build_tabs |
364 |
|
</span> |
365 |
|
() |
366 |
|
</div> |
367 |
|
|
368 |
|
|
369 |
|
|
370 |
|
</div> |
371 |
|
<a name="methodget_javascript" id="get_javascript"><!-- --></a> |
372 |
|
<div class="oddrow"> |
373 |
|
|
374 |
|
<div class="method-header"> |
375 |
|
<span class="method-title">get_javascript</span> (line <span class="line-number">87</span>) |
376 |
|
</div> |
377 |
|
|
378 |
|
<!-- ========== Info from phpDoc block ========= --> |
379 |
|
<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 |
|
<div class="method-signature"> |
382 |
|
<span class="method-result">string</span> |
383 |
|
<span class="method-name"> |
384 |
|
get_javascript |
385 |
|
</span> |
386 |
|
() |
387 |
|
</div> |
388 |
|
|
389 |
|
|
390 |
|
<hr class="separator" /> |
391 |
|
<div class="notes">Redefinition of:</div> |
392 |
|
<dl> |
393 |
|
<dt><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></dt> |
394 |
|
<dd>Function for returning the raw javascript that is required for this widget.</dd> |
395 |
|
</dl> |
396 |
|
|
397 |
|
</div> |
398 |
|
<a name="methodhidden_background" id="hidden_background"><!-- --></a> |
399 |
|
<div class="evenrow"> |
400 |
|
|
401 |
|
<div class="method-header"> |
402 |
|
<span class="method-title">hidden_background</span> (line <span class="line-number">250</span>) |
403 |
|
</div> |
404 |
|
|
405 |
|
<!-- ========== Info from phpDoc block ========= --> |
406 |
|
<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 |
|
|
409 |
|
<div class="method-signature"> |
410 |
|
<span class="method-result">void</span> |
411 |
|
<span class="method-name"> |
412 |
|
hidden_background |
413 |
|
</span> |
414 |
|
(<span class="var-type">mixed</span> <span class="var-name">$color</span>) |
415 |
|
</div> |
416 |
|
|
417 |
|
|
418 |
|
|
419 |
|
</div> |
420 |
|
<a name="methodname" id="name"><!-- --></a> |
421 |
|
<div class="oddrow"> |
422 |
|
|
423 |
|
<div class="method-header"> |
424 |
|
<span class="method-title">name</span> (line <span class="line-number">263</span>) |
425 |
|
</div> |
426 |
|
|
427 |
|
<!-- ========== Info from phpDoc block ========= --> |
428 |
|
<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 |
|
<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 |
|
<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 |
|
|
434 |
|
<div class="method-signature"> |
435 |
|
<span class="method-result">strint</span> |
436 |
|
<span class="method-name"> |
437 |
|
name |
438 |
|
</span> |
439 |
|
(<span class="var-type">string</span> <span class="var-name">$title</span>) |
440 |
|
</div> |
441 |
|
|
442 |
|
<ul class="parameters"> |
443 |
|
<li> |
444 |
|
<span class="var-type">string</span> |
445 |
|
<span class="var-name">$title</span> </li> |
446 |
|
</ul> |
447 |
|
|
448 |
|
|
449 |
|
</div> |
450 |
|
<a name="methodrender" id="render"><!-- --></a> |
451 |
|
<div class="evenrow"> |
452 |
|
|
453 |
|
<div class="method-header"> |
454 |
|
<span class="method-title">render</span> (line <span class="line-number">69</span>) |
455 |
|
</div> |
456 |
|
|
457 |
|
<!-- ========== Info from phpDoc block ========= --> |
458 |
|
|
459 |
|
<div class="method-signature"> |
460 |
|
<span class="method-result">void</span> |
461 |
|
<span class="method-name"> |
462 |
|
render |
463 |
|
</span> |
464 |
|
([<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 |
|
</div> |
466 |
|
|
467 |
|
|
468 |
|
<hr class="separator" /> |
469 |
|
<div class="notes">Redefinition of:</div> |
470 |
|
<dl> |
471 |
|
<dt><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></dt> |
472 |
|
<dd>This function is compatible with the rest of the phpHtmllib API spec.</dd> |
473 |
|
</dl> |
474 |
|
|
475 |
|
</div> |
476 |
|
<a name="methodselected_background" id="selected_background"><!-- --></a> |
477 |
|
<div class="oddrow"> |
478 |
|
|
479 |
|
<div class="method-header"> |
480 |
|
<span class="method-title">selected_background</span> (line <span class="line-number">242</span>) |
481 |
|
</div> |
482 |
|
|
483 |
|
<!-- ========== Info from phpDoc block ========= --> |
484 |
|
<p class="short-description">Thie method is used to change the selected tab's</p> |
485 |
|
<p class="description"><p>background color</p></p> |
486 |
|
|
487 |
|
<div class="method-signature"> |
488 |
|
<span class="method-result">void</span> |
489 |
|
<span class="method-name"> |
490 |
|
selected_background |
491 |
|
</span> |
492 |
|
(<span class="var-type">mixed</span> <span class="var-name">$color</span>) |
493 |
|
</div> |
494 |
|
|
495 |
|
|
496 |
|
|
497 |
|
</div> |
498 |
|
<a name="method_build_tab_td" id="_build_tab_td"><!-- --></a> |
499 |
|
<div class="evenrow"> |
500 |
|
|
501 |
|
<div class="method-header"> |
502 |
|
<span class="method-title">_build_tab_td</span> (line <span class="line-number">206</span>) |
503 |
|
</div> |
504 |
|
|
505 |
|
<!-- ========== Info from phpDoc block ========= --> |
506 |
|
|
507 |
|
<div class="method-signature"> |
508 |
|
<span class="method-result">void</span> |
509 |
|
<span class="method-name"> |
510 |
|
_build_tab_td |
511 |
|
</span> |
512 |
|
(<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 |
|
</div> |
514 |
|
|
515 |
|
|
516 |
|
|
517 |
|
</div> |
518 |
|
<a name="method_end_td" id="_end_td"><!-- --></a> |
519 |
|
<div class="oddrow"> |
520 |
|
|
521 |
|
<div class="method-header"> |
522 |
|
<span class="method-title">_end_td</span> (line <span class="line-number">201</span>) |
523 |
|
</div> |
524 |
|
|
525 |
|
<!-- ========== Info from phpDoc block ========= --> |
526 |
|
|
527 |
|
<div class="method-signature"> |
528 |
|
<span class="method-result">void</span> |
529 |
|
<span class="method-name"> |
530 |
|
_end_td |
531 |
|
</span> |
532 |
|
() |
533 |
|
</div> |
534 |
|
|
535 |
|
|
536 |
|
|
537 |
|
</div> |
538 |
|
<a name="method_spacer_td" id="_spacer_td"><!-- --></a> |
539 |
|
<div class="evenrow"> |
540 |
|
|
541 |
|
<div class="method-header"> |
542 |
|
<span class="method-title">_spacer_td</span> (line <span class="line-number">197</span>) |
543 |
|
</div> |
544 |
|
|
545 |
|
<!-- ========== Info from phpDoc block ========= --> |
546 |
|
|
547 |
|
<div class="method-signature"> |
548 |
|
<span class="method-result">void</span> |
549 |
|
<span class="method-name"> |
550 |
|
_spacer_td |
551 |
|
</span> |
552 |
|
() |
553 |
|
</div> |
554 |
|
|
555 |
|
|
556 |
|
|
557 |
|
</div> |
558 |
|
<a name="method_tab_name" id="_tab_name"><!-- --></a> |
559 |
|
<div class="oddrow"> |
560 |
|
|
561 |
|
<div class="method-header"> |
562 |
|
<span class="method-title">_tab_name</span> (line <span class="line-number">267</span>) |
563 |
|
</div> |
564 |
|
|
565 |
|
<!-- ========== Info from phpDoc block ========= --> |
566 |
|
|
567 |
|
<div class="method-signature"> |
568 |
|
<span class="method-result">void</span> |
569 |
|
<span class="method-name"> |
570 |
|
_tab_name |
571 |
|
</span> |
572 |
|
(<span class="var-type">mixed</span> <span class="var-name">$title</span>) |
573 |
|
</div> |
574 |
|
|
575 |
|
|
576 |
|
|
577 |
|
</div> |
578 |
|
<h4>Inherited Methods</h4> |
579 |
|
<a name='inherited_methods'><!-- --></a> |
580 |
|
<!-- =========== Summary =========== --> |
581 |
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
582 |
|
<blockquote> |
583 |
|
<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 |
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></span><br> |
586 |
|
<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 |
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></span><br> |
589 |
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></span><br> |
590 |
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></span><br> |
591 |
|
</blockquote> |
592 |
|
<!-- =========== Summary =========== --> |
593 |
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
594 |
|
<blockquote> |
595 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br> |
596 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br> |
597 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br> |
598 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br> |
599 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_element">Container::get_element()</a></span><br> |
600 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br> |
601 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br> |
602 |
|
<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 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br> |
605 |
|
<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 |
|
|
609 |
|
</div> |
610 |
|
</div> |
611 |
|
|
612 |
|
|
613 |
|
<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 |
|
</p> |
616 |
|
</div></body> |
617 |
|
</html> |