1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'> |
<?xml version="1.0" encoding="iso-8859-1"?> |
2 |
<!--NewPage--> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<HTML> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
4 |
<HEAD> |
<head> |
5 |
<!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:23:02 -0800' --> |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<TITLE>Docs For Class InfoTable</TITLE> |
<title>Docs For Class InfoTable</title> |
7 |
<LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'> |
<link rel="stylesheet" href="../media/stylesheet.css" /> |
8 |
</HEAD> |
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
9 |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
</head> |
10 |
<!-- Links --> |
<body> |
11 |
<a NAME="top"></A> |
<div class="page-body"> |
12 |
<table WIDTH="100%" class="links"> |
<h2 class="class-name">Class InfoTable</h2> |
13 |
<TR> |
|
14 |
<TD class="font10"> |
<a name="sec-description"></a> |
15 |
Links: |
<div class="info-box"> |
16 |
<A HREF="#children_summary" class="links" title="Classes extended from InfoTable">Child Classes</A> |
<div class="info-box-title">Description</div> |
17 |
<A HREF="#var_summary" class="links" title="Class Variable Summary">Variables</A> |
<div class="nav-bar"> |
18 |
<A HREF="#var_inherited_summary" class="links" title="Inherited Class Variable Summary">Inherited Variables</A> |
<span class="disabled">Description</span> | |
19 |
<A HREF="#functions_inherited" class="links" title="Inherited Method Summary">Inherited Methods</A> |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
20 |
<A HREF="#method_summary" class="links" title="Method Summary">Methods</A> |
| <a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
21 |
<A HREF="#variable_detail" class="links" title="Variable Detail">Variable Detail</A> |
|
22 |
<A HREF="#method_detail" class="links" title="Method Detail">Method Detail</A> |
</div> |
23 |
</TD> |
<div class="info-box-body"> |
24 |
</TR> |
<!-- ========== Info from phpDoc block ========= --> |
25 |
</TABLE> |
<p class="short-description">This is a widget class that can build and render data in a nicely formated table with a title, column headers and data</p> |
26 |
<BR> |
<ul class="tags"> |
27 |
<!-- Start of Class Data --> |
<li><span class="field">author:</span> <p>Walter A. Boring IV</p></li> |
28 |
<H2> |
</ul> |
29 |
Class InfoTable |
<p class="notes"> |
30 |
</H2> (line <span class="linenumber">23</span>) |
Located in <a class="field" href="_widgets_InfoTable_inc.html">Program_Root/widgets/InfoTable.inc</a> (line <span class="field">23</span>) |
31 |
<pre> |
</p> |
32 |
<a href="../phpHtmlLib/Container.html">Container</a> |
|
33 |
|
|
34 |
|
<pre><a href="../phpHtmlLib/Container.html">Container</a> |
35 |
| |
| |
36 |
--<a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a> |
--<a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a> |
37 |
| |
| |
38 |
--InfoTable</pre> |
--InfoTable</pre> |
39 |
<p> |
|
40 |
<b><i>Located in File: Program_Root/widgets/InfoTable.inc</i></b><br> |
</div> |
41 |
</p> |
</div> |
42 |
<hr> |
|
43 |
This is a widget class that can build and render data in a nicely formated table with a title, column headers and data |
|
44 |
<br /> |
<a name="sec-var-summary"></a> |
45 |
|
<div class="info-box"> |
46 |
<UL> |
<div class="info-box-title">Variable Summary</span></div> |
47 |
<LI><b>author</b> - <CODE>Walter A. Boring IV</CODE></LI> |
<div class="nav-bar"> |
48 |
</UL> |
<a href="#sec-description">Description</a> | |
49 |
<hr> |
<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>) |
50 |
<!-- =========== VAR SUMMARY =========== --> |
| |
51 |
<A NAME='var_summary'><!-- --></A> |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
52 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
53 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
</div> |
54 |
<TD> |
<div class="info-box-body"> |
55 |
<span CLASS="font12bold">Class Variable Summary</span> |
<div class="var-summary"> |
56 |
<A HREF="#top" CLASS="links">^TOP</A> |
<div class="var-title"> |
57 |
</TD> |
<span class="var-type">mixed</span> |
58 |
</TR> |
<a href="#$_cellpadding" title="details" class="var-name">$_cellpadding</a> |
59 |
|
</div> |
60 |
<!-- =========== Summary =========== --> |
<div class="var-title"> |
61 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<span class="var-type">mixed</span> |
62 |
<TD> |
<a href="#$_cellspacing" title="details" class="var-name">$_cellspacing</a> |
63 |
<CODE><B><A HREF="../phpHtmlLib/InfoTable.html#var$_cellpadding">$_cellpadding</A></B></CODE> |
</div> |
64 |
<BR> |
<div class="var-title"> |
65 |
<blockquote> this holds the default cellpadding </blockquote> |
<span class="var-type">mixed</span> |
66 |
<blockquote> Default Value: <CODE>->2<-</CODE> </blockquote> |
<a href="#$_headers" title="details" class="var-name">$_headers</a> |
67 |
</TD> |
</div> |
68 |
</TR> |
<div class="var-title"> |
69 |
<!-- =========== Summary =========== --> |
<span class="var-type">mixed</span> |
70 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<a href="#$_show_vertical_cellborder" title="details" class="var-name">$_show_vertical_cellborder</a> |
71 |
<TD> |
</div> |
72 |
<CODE><B><A HREF="../phpHtmlLib/InfoTable.html#var$_cellspacing">$_cellspacing</A></B></CODE> |
<div class="var-title"> |
73 |
<BR> |
<span class="var-type">mixed</span> |
74 |
<blockquote> This holds the default cellspacing </blockquote> |
<a href="#$_title_css_class" title="details" class="var-name">$_title_css_class</a> |
75 |
<blockquote> Default Value: <CODE>->0<-</CODE> </blockquote> |
</div> |
76 |
</TD> |
<div class="var-title"> |
77 |
</TR> |
<span class="var-type">mixed</span> |
78 |
<!-- =========== Summary =========== --> |
<a href="#$_title_text_align" title="details" class="var-name">$_title_text_align</a> |
79 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
</div> |
80 |
<TD> |
</div> |
81 |
<CODE><B><A HREF="../phpHtmlLib/InfoTable.html#var$_headers">$_headers</A></B></CODE> |
</div> |
82 |
<BR> |
</div> |
83 |
<blockquote> this holds the column header titles. </blockquote> |
|
84 |
<blockquote> Default Value: <CODE>->array()<-</CODE> </blockquote> |
<a name="sec-method-summary"></a> |
85 |
</TD> |
<div class="info-box"> |
86 |
</TR> |
<div class="info-box-title">Method Summary</span></div> |
87 |
<!-- =========== Summary =========== --> |
<div class="nav-bar"> |
88 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<a href="#sec-description">Description</a> | |
89 |
<TD> |
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
90 |
<CODE><B><A HREF="../phpHtmlLib/InfoTable.html#var$_show_vertical_cellborder">$_show_vertical_cellborder</A></B></CODE> |
|
91 |
<BR> |
| |
92 |
<blockquote> Flag to tell the class to render </blockquote> |
<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>) |
93 |
<blockquote> Default Value: <CODE>-> TRUE<-</CODE> </blockquote> |
</div> |
94 |
</TD> |
<div class="info-box-body"> |
95 |
</TR> |
<div class="method-summary"> |
96 |
<!-- =========== Summary =========== --> |
|
97 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<div class="method-definition"> |
98 |
<TD> |
<span class="method-result">void</span> |
99 |
<CODE><B><A HREF="../phpHtmlLib/InfoTable.html#var$_title_css_class">$_title_css_class</A></B></CODE> |
<a href="#InfoTable" title="details" class="method-name">InfoTable</a> |
100 |
<BR> |
(<span class="var-type">string</span> <span class="var-name">$title</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">$align</span> = <span class="var-default">NULL</span>]) |
101 |
<blockquote> The default class used for the </blockquote> |
</div> |
102 |
<blockquote> Default Value: <CODE>-> "title"<-</CODE> </blockquote> |
|
103 |
</TD> |
<div class="method-definition"> |
104 |
</TR> |
<span class="method-result">void</span> |
105 |
<!-- =========== Summary =========== --> |
<a href="#add_column_header" title="details" class="method-name">add_column_header</a> |
106 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
(<span class="var-type">string</span> <span class="var-name">$title</span>, <span class="var-type">string</span> <span class="var-name">$width</span>, [<span class="var-type">mixed</span> <span class="var-name">$align</span> = <span class="var-default">"center"</span>]) |
107 |
<TD> |
</div> |
108 |
<CODE><B><A HREF="../phpHtmlLib/InfoTable.html#var$_title_text_align">$_title_text_align</A></B></CODE> |
|
109 |
<BR> |
<div class="method-definition"> |
110 |
<blockquote> The default alignment for the title text in the caption. </blockquote> |
<span class="method-result">void</span> |
111 |
<blockquote> Default Value: <CODE>-> "left"<-</CODE> </blockquote> |
<a href="#add_row" title="details" class="method-name">add_row</a> |
112 |
</TD> |
(<span class="var-type">mixed</span> <span class="var-name">0</span>) |
113 |
</TR> |
</div> |
114 |
</TABLE> |
|
115 |
<hr> |
<div class="method-definition"> |
116 |
<!-- =========== VAR INHERITED SUMMARY =========== --> |
<span class="method-result">int</span> |
117 |
<A NAME='var_inherited_summary'><!-- --></A> |
<a href="#get_cellpadding" title="details" class="method-name">get_cellpadding</a> |
118 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
() |
119 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
</div> |
120 |
<TD> |
|
121 |
<span CLASS="font12bold">Inherited Class Variable Summary</span> |
<div class="method-definition"> |
122 |
<A HREF="#top" CLASS="links">^TOP</A> |
<span class="method-result">int</span> |
123 |
</TD> |
<a href="#get_cellspacing" title="details" class="method-name">get_cellspacing</a> |
124 |
</TR> |
() |
125 |
|
</div> |
126 |
<!-- =========== Summary =========== --> |
|
127 |
<TR BGCOLOR='white'> |
<div class="method-definition"> |
128 |
<TD> |
<span class="method-result">string</span> |
129 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span> |
<a href="#get_title_text_align" title="details" class="method-name">get_title_text_align</a> |
130 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
() |
131 |
<tr CLASS="tableheadingcolor"> |
</div> |
132 |
<th>Variable</th> |
|
133 |
<th>Default Value</th> |
<div class="method-definition"> |
134 |
<th>Description</th> |
<span class="method-result">string</span> |
135 |
</tr> |
<a href="#get_vertical_cellborder" title="details" class="method-name">get_vertical_cellborder</a> |
136 |
<tr> |
() |
137 |
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></td> |
</div> |
138 |
<td CLASS="font10" STYLE="white-space: nowrap">->''<-</td> |
|
139 |
<td CLASS="font10">The title of the table.</td> |
<div class="method-definition"> |
140 |
</tr> |
<span class="method-result">string</span> |
141 |
<tr> |
<a href="#render" title="details" class="method-name">render</a> |
142 |
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></td> |
([<span class="var-type">int</span> <span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">int</span> <span class="var-name">$output_debug</span>) |
143 |
<td CLASS="font10" STYLE="white-space: nowrap">->"100%"<-</td> |
</div> |
144 |
<td CLASS="font10">the width of the widget</td> |
|
145 |
</tr> |
<div class="method-definition"> |
146 |
</table> |
<span class="method-result">void</span> |
147 |
<BR> |
<a href="#set_cellpadding" title="details" class="method-name">set_cellpadding</a> |
148 |
</TD> |
(<span class="var-type">int</span> <span class="var-name">$pad</span>) |
149 |
</TR> |
</div> |
150 |
<!-- =========== Summary =========== --> |
|
151 |
<TR BGCOLOR='white'> |
<div class="method-definition"> |
152 |
<TD> |
<span class="method-result">void</span> |
153 |
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
<a href="#set_cellspacing" title="details" class="method-name">set_cellspacing</a> |
154 |
<table CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
(<span class="var-type">int</span> <span class="var-name">$spacing</span>) |
155 |
<tr CLASS="tableheadingcolor"> |
</div> |
156 |
<th>Variable</th> |
|
157 |
<th>Default Value</th> |
<div class="method-definition"> |
158 |
<th>Description</th> |
<span class="method-result">void</span> |
159 |
</tr> |
<a href="#set_title_text_align" title="details" class="method-name">set_title_text_align</a> |
160 |
<tr> |
([<span class="var-type">string</span> <span class="var-name">$align</span> = <span class="var-default">"left"</span>]) |
161 |
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></td> |
</div> |
162 |
<td CLASS="font10" STYLE="white-space: nowrap">-> _NEWLINEAFTERCONTENT<-</td> |
|
163 |
<td CLASS="font10">The flags that tell us</td> |
<div class="method-definition"> |
164 |
</tr> |
<span class="method-result">void</span> |
165 |
</table> |
<a href="#set_vertical_cellborder" title="details" class="method-name">set_vertical_cellborder</a> |
166 |
<BR> |
([<span class="var-type">boolean</span> <span class="var-name">$flag</span> = <span class="var-default">TRUE</span>]) |
167 |
</TD> |
</div> |
168 |
</TR> |
|
169 |
</TABLE> |
<div class="method-definition"> |
170 |
|
<span class="method-result"><a href="../phpHtmlLib/TRtag.html">TRtag</a></span> |
171 |
<hr> |
<a href="#_build_header" title="details" class="method-name">_build_header</a> |
172 |
<!-- =========== METHOD SUMMARY =========== --> |
() |
173 |
<A NAME='method_summary'><!-- --></A> |
</div> |
174 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
|
175 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<div class="method-definition"> |
176 |
<TD> |
<span class="method-result"><a href="../phpHtmlLib/TDtag.html">TDtag</a></span> |
177 |
<span class="font12bold">Method Summary</span> |
<a href="#_build_td" title="details" class="method-name">_build_td</a> |
178 |
<A HREF="#top" CLASS="links">^TOP</A> |
([<span class="var-type">int</span> <span class="var-name">$width</span> = <span class="var-default">""</span>], [<span class="var-type">string</span> <span class="var-name">$align</span> = <span class="var-default">""</span>], <span class="var-type">int</span> <span class="var-name">$col_num</span>, <span class="var-type">int</span> <span class="var-name">$total_cols</span>) |
179 |
</TD> |
</div> |
180 |
</TR> |
|
181 |
|
<div class="method-definition"> |
182 |
<!-- =========== Summary =========== --> |
<span class="method-result"><a href="../phpHtmlLib/CAPTIONtag.html">CAPTIONtag</a></span> |
183 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<a href="#_build_title" title="details" class="method-name">_build_title</a> |
184 |
<TD> |
() |
185 |
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#methodInfoTable'>void constructor InfoTable ( $title, [$width = "100%"], [$align = NULL] )</A></B></CODE> |
</div> |
186 |
<BR> |
</div> |
187 |
<blockquote> The constructor </blockquote> |
</div> |
188 |
</TD> |
</div> |
189 |
</TR> |
|
190 |
<!-- =========== Summary =========== --> |
<a name="sec-vars"></a> |
191 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<div class="info-box"> |
192 |
<TD> |
<div class="info-box-title">Variables</div> |
193 |
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#methodadd_column_header'>void add_column_header ( $title, $width, [$align = "center"] )</A></B></CODE> |
<div class="nav-bar"> |
194 |
<BR> |
<a href="#sec-description">Description</a> | |
195 |
<blockquote> This function is used to set the column header text for each column </blockquote> |
<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>) |
196 |
</TD> |
|
197 |
</TR> |
|
198 |
<!-- =========== Summary =========== --> |
| |
199 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>) |
200 |
<TD> |
|
201 |
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#methodadd_row'>void add_row ( )</A></B></CODE> |
</div> |
202 |
<BR> |
<div class="info-box-body"> |
203 |
<blockquote> This function is used to add a row to the table </blockquote> |
<a name="var$_cellpadding" id="$_cellpadding"><!-- --></A> |
204 |
</TD> |
<div class="evenrow"> |
205 |
</TR> |
|
206 |
<!-- =========== Summary =========== --> |
<div class="var-header"> |
207 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<span class="var-title"> |
208 |
<TD> |
<span class="var-type">mixed</span> |
209 |
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#methodget_cellpadding'>int get_cellpadding ( )</A></B></CODE> |
<span class="var-name">$_cellpadding</span> |
210 |
<BR> |
= <span class="var-default">2</span> (line <span class="line-number">34</span>) |
211 |
<blockquote> This gets the current value of the cellpadding </blockquote> |
</span> |
212 |
</TD> |
</div> |
213 |
</TR> |
|
214 |
<!-- =========== Summary =========== --> |
<!-- ========== Info from phpDoc block ========= --> |
215 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<p class="short-description">this holds the default cellpadding</p> |
216 |
<TD> |
|
217 |
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#methodget_cellspacing'>int get_cellspacing ( )</A></B></CODE> |
|
218 |
<BR> |
|
219 |
<blockquote> This gets the current value of the cellspacing </blockquote> |
|
220 |
</TD> |
|
221 |
</TR> |
</div> |
222 |
<!-- =========== Summary =========== --> |
<a name="var$_cellspacing" id="$_cellspacing"><!-- --></A> |
223 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<div class="oddrow"> |
224 |
<TD> |
|
225 |
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#methodget_title_text_align'>string get_title_text_align ( )</A></B></CODE> |
<div class="var-header"> |
226 |
<BR> |
<span class="var-title"> |
227 |
<blockquote> this function lets gets the default css class for the title </blockquote> |
<span class="var-type">mixed</span> |
228 |
</TD> |
<span class="var-name">$_cellspacing</span> |
229 |
</TR> |
(line <span class="line-number">39</span>) |
230 |
<!-- =========== Summary =========== --> |
</span> |
231 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
</div> |
232 |
<TD> |
|
233 |
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#methodget_vertical_cellborder'>string get_vertical_cellborder ( )</A></B></CODE> |
<!-- ========== Info from phpDoc block ========= --> |
234 |
<BR> |
<p class="short-description">This holds the default cellspacing</p> |
235 |
<blockquote> this function lets gets the default css class for the title </blockquote> |
|
236 |
</TD> |
|
237 |
</TR> |
|
238 |
<!-- =========== Summary =========== --> |
|
239 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
240 |
<TD> |
</div> |
241 |
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#methodrender'>string render ( [$indent_level = 1], [$output_debug = 0] )</A></B></CODE> |
<a name="var$_headers" id="$_headers"><!-- --></A> |
242 |
<BR> |
<div class="evenrow"> |
243 |
<blockquote> This function renders the object. </blockquote> |
|
244 |
</TD> |
<div class="var-header"> |
245 |
</TR> |
<span class="var-title"> |
246 |
<!-- =========== Summary =========== --> |
<span class="var-type">mixed</span> |
247 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<span class="var-name">$_headers</span> |
248 |
<TD> |
= <span class="var-default">array()</span> (line <span class="line-number">29</span>) |
249 |
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#methodset_cellpadding'>void set_cellpadding ( [$pad = 0] )</A></B></CODE> |
</span> |
|
<BR> |
|
|
<blockquote> This sets the cellpadding attribute for this object. </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#methodset_cellspacing'>void set_cellspacing ( [$spacing = 0] )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> This sets the cellspacing attribute for this object. </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#methodset_title_text_align'>void set_title_text_align ( [$align = "left"] )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> this function lets you change the text alignment of the text in the title </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#methodset_vertical_cellborder'>void set_vertical_cellborder ( [$flag = TRUE] )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> this function sets the flag to tell the object to render (or not) the vertical cell borders </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#method_build_header'><a href="../phpHtmlLib/TRtag.html">TRtag</a> _build_header ( )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> This function builds the table header </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#method_build_td'><a href="../phpHtmlLib/TDtag.html">TDtag</a> _build_td ( [$width = ""], [$align = ""], $col_num, $total_cols )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> this function builds a TD tag with the border styles set appropriatly </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<CODE><B><A HREF='../phpHtmlLib/InfoTable.html#method_build_title'><a href="../phpHtmlLib/CAPTIONtag.html">CAPTIONtag</a> _build_title ( )</A></B></CODE> |
|
|
<BR> |
|
|
<blockquote> This function builds the title container </blockquote> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<!-- =========== INHERITED METHOD SUMMARY =========== --> |
|
|
<A NAME='functions_inherited'><!-- --></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Inherited Method Summary</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
|
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
|
<tr CLASS="tableheadingcolor"> |
|
|
<th>Function</th> |
|
|
<th>Description</th> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></td> |
|
|
<td CLASS="font10">This gets the alignment value for the outer table</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></td> |
|
|
<td CLASS="font10">This function provides the mechanism to build and return the css needed by this widget</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></td> |
|
|
<td CLASS="font10">Function for returning the raw javascript that is required for this widget.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></td> |
|
|
<td CLASS="font10">Function for accessing the title of this widget</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></td> |
|
|
<td CLASS="font10">Function for getting the current widget width setting.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></td> |
|
|
<td CLASS="font10">This function sets the align attribute for the outer table.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></td> |
|
|
<td CLASS="font10">Set the title for the widget.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></td> |
|
|
<td CLASS="font10">Set the width for the widget.</td> |
|
|
</table> |
|
|
<br> |
|
|
</TD> |
|
|
</TR> |
|
|
<!-- =========== Summary =========== --> |
|
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD> |
|
|
<span CLASS="font10bold">Inherited From Class <a href="../phpHtmlLib/Container.html">Container</a></span> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='95%' CLASS="border" ALIGN="center"> |
|
|
<tr CLASS="tableheadingcolor"> |
|
|
<th>Function</th> |
|
|
<th>Description</th> |
|
|
</tr> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></td> |
|
|
<td CLASS="font10">The constructor.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></td> |
|
|
<td CLASS="font10">add content onto content stack</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></td> |
|
|
<td CLASS="font10">Add content onto content stack so you can change the item later.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></td> |
|
|
<td CLASS="font10">counts the number of content objects</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></td> |
|
|
<td CLASS="font10">This flag gets the current value of the indent flag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></td> |
|
|
<td CLASS="font10">Same as add().</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></td> |
|
|
<td CLASS="font10">Same as add_reference NOTE : only exists for compatibility with 1.1.x</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></td> |
|
|
<td CLASS="font10">This function is compatible with the rest of the phpHtmllib API spec.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></td> |
|
|
<td CLASS="font10">destroy existing content and start with new content.</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></td> |
|
|
<td CLASS="font10">This function turns on the collapse flag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></td> |
|
|
<td CLASS="font10">function to set the indent flag</td> |
|
|
<tr> |
|
|
<td CLASS="font10bold"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></td> |
|
|
<td CLASS="font10">This method is used to set the bitmask flags for this tag. It tells the class how to render the tag.</td> |
|
|
</table> |
|
|
<br> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<hr> |
|
|
<!-- ============ VARIABLE DETAIL =========== --> |
|
|
|
|
|
<A NAME='variable_detail'></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span CLASS="font12bold">Variable Detail</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
|
|
|
<A NAME='var$_cellpadding'><!-- --></A><H3>$_cellpadding</H3> (line <span class="linenumber">34</span>)<br /> |
|
|
<b>Data type:</b> mixed<br>this holds the default cellpadding |
|
|
<br /> |
|
|
|
|
|
<UL> |
|
|
</UL> |
|
|
<HR> |
|
|
<A NAME='var$_cellspacing'><!-- --></A><H3>$_cellspacing</H3> (line <span class="linenumber">39</span>)<br /> |
|
|
<b>Data type:</b> mixed<br>This holds the default cellspacing |
|
|
<br /> |
|
|
|
|
|
<UL> |
|
|
</UL> |
|
|
<HR> |
|
|
<A NAME='var$_headers'><!-- --></A><H3>$_headers</H3> (line <span class="linenumber">29</span>)<br /> |
|
|
<b>Data type:</b> mixed<br>this holds the column header titles. |
|
|
<br /> |
|
|
|
|
|
<UL> |
|
|
</UL> |
|
|
<HR> |
|
|
<A NAME='var$_show_vertical_cellborder'><!-- --></A><H3>$_show_vertical_cellborder</H3> (line <span class="linenumber">57</span>)<br /> |
|
|
<b>Data type:</b> mixed<br>Flag to tell the class to render |
|
|
<br /> |
|
|
<p>the vertical cell border</p> |
|
|
<UL> |
|
|
</UL> |
|
|
<HR> |
|
|
<A NAME='var$_title_css_class'><!-- --></A><H3>$_title_css_class</H3> (line <span class="linenumber">45</span>)<br /> |
|
|
<b>Data type:</b> mixed<br>The default class used for the |
|
|
<br /> |
|
|
<p>title</p> |
|
|
<UL> |
|
|
</UL> |
|
|
<HR> |
|
|
<A NAME='var$_title_text_align'><!-- --></A><H3>$_title_text_align</H3> (line <span class="linenumber">51</span>)<br /> |
|
|
<b>Data type:</b> mixed<br>The default alignment for the title text in the caption. |
|
|
<br /> |
|
|
|
|
|
<UL> |
|
|
</UL> |
|
|
<HR> |
|
|
<hr> |
|
|
<!-- ============ METHOD DETAIL =========== --> |
|
|
|
|
|
<A NAME='method_detail'></A> |
|
|
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
|
|
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
|
|
<TD> |
|
|
<span class="font12bold">Method Detail</span> |
|
|
<A HREF="#top" CLASS="links">^TOP</A> |
|
|
</TD> |
|
|
</TR> |
|
|
</TABLE> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodInfoTable'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">Constructor InfoTable</SPAN> (line <span class="linenumber">68</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">InfoTable( |
|
|
string |
|
|
$title, [string |
|
|
$width = "100%"], [string |
|
|
$align = NULL])</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
The constructor |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$title</SPAN></SPAN> - the title</DD> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$width</SPAN></SPAN> - the width of the table</DD> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$align</SPAN></SPAN> - the alignment</DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodadd_column_header'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">add_column_header</SPAN> (line <span class="linenumber">131</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">add_column_header( |
|
|
string |
|
|
$title, string |
|
|
$width, [mixed |
|
|
$align = "center"])</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This function is used to set the column header text for each column |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$title</SPAN></SPAN> - the title for the column</DD> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$width</SPAN></SPAN> - the alignment of the title</DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodadd_row'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">add_row</SPAN> (line <span class="linenumber">142</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">add_row( |
|
|
mixed |
|
|
0)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This function is used to add a row to the table |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">0</SPAN></SPAN> - n number of items to push</DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodget_cellpadding'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">get_cellpadding</SPAN> (line <span class="linenumber">168</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">int</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">get_cellpadding( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This gets the current value of the cellpadding |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - - the current cellpadding</DD> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodget_cellspacing'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">get_cellspacing</SPAN> (line <span class="linenumber">188</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">int</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">get_cellspacing( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This gets the current value of the cellspacing |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - - the current cellspacing</DD> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodget_title_text_align'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">get_title_text_align</SPAN> (line <span class="linenumber">208</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">string</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">get_title_text_align( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
this function lets gets the default css class for the title |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - - the css class to use</DD> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodget_vertical_cellborder'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">get_vertical_cellborder</SPAN> (line <span class="linenumber">229</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">string</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">get_vertical_cellborder( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
this function lets gets the default css class for the title |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - - the css class to use</DD> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodrender'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">render</SPAN> (line <span class="linenumber">84</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">string</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">render( |
|
|
[int |
|
|
$indent_level = 1], int |
|
|
$output_debug)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This function renders the object. |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$indent_level</SPAN></SPAN> - the indentation level for the container.</DD> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$output_debug</SPAN></SPAN> - the output debug flag to maintain compatibility w/ the API.</DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - the raw html output.</DD> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodset_cellpadding'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">set_cellpadding</SPAN> (line <span class="linenumber">158</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">set_cellpadding( |
|
|
int |
|
|
$pad)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This sets the cellpadding attribute for this object. |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$pad</SPAN></SPAN> - the cellpadding value</DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodset_cellspacing'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">set_cellspacing</SPAN> (line <span class="linenumber">178</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">set_cellspacing( |
|
|
int |
|
|
$spacing)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This sets the cellspacing attribute for this object. |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$spacing</SPAN></SPAN> - the cellspacing value</DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodset_title_text_align'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">set_title_text_align</SPAN> (line <span class="linenumber">198</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">set_title_text_align( |
|
|
[string |
|
|
$align = "left"])</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
this function lets you change the text alignment of the text in the title |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$align</SPAN></SPAN> - the alignment.</DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='methodset_vertical_cellborder'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">set_vertical_cellborder</SPAN> (line <span class="linenumber">219</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000">void</SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">set_vertical_cellborder( |
|
|
[boolean |
|
|
$flag = TRUE])</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
this function sets the flag to tell the object to render (or not) the vertical cell borders |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">boolean</SPAN> <span style="color: #0000FF;font-weight:bold">$flag</SPAN></SPAN> </DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='method_build_header'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">_build_header</SPAN> (line <span class="linenumber">258</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/TRtag.html">TRtag</a></SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">_build_header( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This function builds the table header |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object</DD> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='method_build_td'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">_build_td</SPAN> (line <span class="linenumber">292</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/TDtag.html">TDtag</a></SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">_build_td( |
|
|
[int |
|
|
$width = ""], [string |
|
|
$align = ""], int |
|
|
$col_num, int |
|
|
$total_cols)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
this function builds a TD tag with the border styles set appropriatly |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
<DT class="font10bold">Function Parameters:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$width</SPAN></SPAN> - the width</DD> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$align</SPAN></SPAN> - the alignment</DD> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$col_num</SPAN></SPAN> - the current col #</DD> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">int</SPAN> <span style="color: #0000FF;font-weight:bold">$total_cols</SPAN></SPAN> - the max cols</DD> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object.</DD> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<DIV CLASS="function"> |
|
|
<A NAME='method_build_title'><!-- --></A> |
|
|
<SPAN CLASS="font12bold">_build_title</SPAN> (line <span class="linenumber">246</span>) |
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Usage : </SPAN> |
|
|
<span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/CAPTIONtag.html">CAPTIONtag</a></SPAN> |
|
|
<span class="font10bold" style="color: #0000FF">_build_title( |
|
|
)</SPAN> |
|
|
<BR> |
|
|
|
|
|
<BR> |
|
|
<SPAN CLASS="font10bold">Description : </SPAN> |
|
|
This function builds the title container |
|
|
<br /> |
|
|
|
|
|
<DL> |
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object</DD> |
|
|
</DL> |
|
|
</DIV> |
|
|
<BR> |
|
|
<div id="credit"> |
|
|
<hr> |
|
|
Documention generated on Thu, 20 Feb 2003 16:23:02 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
|
250 |
</div> |
</div> |
251 |
</body> |
|
252 |
|
<!-- ========== Info from phpDoc block ========= --> |
253 |
|
<p class="short-description">this holds the column header titles.</p> |
254 |
|
|
255 |
|
|
256 |
|
|
257 |
|
|
258 |
|
|
259 |
|
</div> |
260 |
|
<a name="var$_show_vertical_cellborder" id="$_show_vertical_cellborder"><!-- --></A> |
261 |
|
<div class="oddrow"> |
262 |
|
|
263 |
|
<div class="var-header"> |
264 |
|
<span class="var-title"> |
265 |
|
<span class="var-type">mixed</span> |
266 |
|
<span class="var-name">$_show_vertical_cellborder</span> |
267 |
|
= <span class="var-default"> TRUE</span> (line <span class="line-number">57</span>) |
268 |
|
</span> |
269 |
|
</div> |
270 |
|
|
271 |
|
<!-- ========== Info from phpDoc block ========= --> |
272 |
|
<p class="short-description">Flag to tell the class to render</p> |
273 |
|
<p class="description"><p>the vertical cell border</p></p> |
274 |
|
|
275 |
|
|
276 |
|
|
277 |
|
|
278 |
|
|
279 |
|
</div> |
280 |
|
<a name="var$_title_css_class" id="$_title_css_class"><!-- --></A> |
281 |
|
<div class="evenrow"> |
282 |
|
|
283 |
|
<div class="var-header"> |
284 |
|
<span class="var-title"> |
285 |
|
<span class="var-type">mixed</span> |
286 |
|
<span class="var-name">$_title_css_class</span> |
287 |
|
= <span class="var-default"> "title"</span> (line <span class="line-number">45</span>) |
288 |
|
</span> |
289 |
|
</div> |
290 |
|
|
291 |
|
<!-- ========== Info from phpDoc block ========= --> |
292 |
|
<p class="short-description">The default class used for the</p> |
293 |
|
<p class="description"><p>title</p></p> |
294 |
|
|
295 |
|
|
296 |
|
|
297 |
|
|
298 |
|
|
299 |
|
</div> |
300 |
|
<a name="var$_title_text_align" id="$_title_text_align"><!-- --></A> |
301 |
|
<div class="oddrow"> |
302 |
|
|
303 |
|
<div class="var-header"> |
304 |
|
<span class="var-title"> |
305 |
|
<span class="var-type">mixed</span> |
306 |
|
<span class="var-name">$_title_text_align</span> |
307 |
|
= <span class="var-default"> "left"</span> (line <span class="line-number">51</span>) |
308 |
|
</span> |
309 |
|
</div> |
310 |
|
|
311 |
|
<!-- ========== Info from phpDoc block ========= --> |
312 |
|
<p class="short-description">The default alignment for the title text in the caption.</p> |
313 |
|
|
314 |
|
|
315 |
|
|
316 |
|
|
317 |
|
|
318 |
|
</div> |
319 |
|
<h4>Inherited Variables</h4> |
320 |
|
<A NAME='inherited_vars'><!-- --></A> |
321 |
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
322 |
|
<blockquote> |
323 |
|
<span class="var-title"> |
324 |
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$title">BaseWidget::$title</a></span><br> |
325 |
|
</span> |
326 |
|
<span class="var-title"> |
327 |
|
<span class="var-name"><a href="../phpHtmlLib/BaseWidget.html#var$width">BaseWidget::$width</a></span><br> |
328 |
|
</span> |
329 |
|
</blockquote> |
330 |
|
<p>Inherited from <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
331 |
|
<blockquote> |
332 |
|
<span class="var-title"> |
333 |
|
<span class="var-name"><a href="../phpHtmlLib/Container.html#var$_flags">Container::$_flags</a></span><br> |
334 |
|
</span> |
335 |
|
</blockquote> |
336 |
|
|
337 |
|
</div> |
338 |
|
</div> |
339 |
|
|
340 |
|
<a name="sec-methods"></a> |
341 |
|
<div class="info-box"> |
342 |
|
<div class="info-box-title">Methods</div> |
343 |
|
<div class="nav-bar"> |
344 |
|
<a href="#sec-description">Description</a> | |
345 |
|
<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>) |
346 |
|
<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>) |
347 |
|
|
348 |
|
</div> |
349 |
|
<div class="info-box-body"> |
350 |
|
<A NAME='method_detail'></A> |
351 |
|
<a name="methodInfoTable" id="InfoTable"><!-- --></a> |
352 |
|
<div class="evenrow"> |
353 |
|
|
354 |
|
<div class="method-header"> |
355 |
|
<span class="method-title">Constructor InfoTable</span> (line <span class="line-number">68</span>) |
356 |
|
</div> |
357 |
|
|
358 |
|
<!-- ========== Info from phpDoc block ========= --> |
359 |
|
<p class="short-description">The constructor</p> |
360 |
|
|
361 |
|
<div class="method-signature"> |
362 |
|
<span class="method-result">void</span> |
363 |
|
<span class="method-name"> |
364 |
|
InfoTable |
365 |
|
</span> |
366 |
|
(<span class="var-type">string</span> <span class="var-name">$title</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">$align</span> = <span class="var-default">NULL</span>]) |
367 |
|
</div> |
368 |
|
|
369 |
|
<ul class="parameters"> |
370 |
|
<li> |
371 |
|
<span class="var-type">string</span> |
372 |
|
<span class="var-name">$title</span><span class="var-description">: <p>- the title</p></span> </li> |
373 |
|
<li> |
374 |
|
<span class="var-type">string</span> |
375 |
|
<span class="var-name">$width</span><span class="var-description">: <p>- the width of the table</p></span> </li> |
376 |
|
<li> |
377 |
|
<span class="var-type">string</span> |
378 |
|
<span class="var-name">$align</span><span class="var-description">: <p>- the alignment</p></span> </li> |
379 |
|
</ul> |
380 |
|
|
381 |
|
|
382 |
|
</div> |
383 |
|
<a name="methodadd_column_header" id="add_column_header"><!-- --></a> |
384 |
|
<div class="oddrow"> |
385 |
|
|
386 |
|
<div class="method-header"> |
387 |
|
<span class="method-title">add_column_header</span> (line <span class="line-number">131</span>) |
388 |
|
</div> |
389 |
|
|
390 |
|
<!-- ========== Info from phpDoc block ========= --> |
391 |
|
<p class="short-description">This function is used to set the column header text for each column</p> |
392 |
|
|
393 |
|
<div class="method-signature"> |
394 |
|
<span class="method-result">void</span> |
395 |
|
<span class="method-name"> |
396 |
|
add_column_header |
397 |
|
</span> |
398 |
|
(<span class="var-type">string</span> <span class="var-name">$title</span>, <span class="var-type">string</span> <span class="var-name">$width</span>, [<span class="var-type">mixed</span> <span class="var-name">$align</span> = <span class="var-default">"center"</span>]) |
399 |
|
</div> |
400 |
|
|
401 |
|
<ul class="parameters"> |
402 |
|
<li> |
403 |
|
<span class="var-type">string</span> |
404 |
|
<span class="var-name">$title</span><span class="var-description">: <p>- the title for the column</p></span> </li> |
405 |
|
<li> |
406 |
|
<span class="var-type">string</span> |
407 |
|
<span class="var-name">$width</span><span class="var-description">: <p>- the alignment of the title</p></span> </li> |
408 |
|
</ul> |
409 |
|
|
410 |
|
|
411 |
|
</div> |
412 |
|
<a name="methodadd_row" id="add_row"><!-- --></a> |
413 |
|
<div class="evenrow"> |
414 |
|
|
415 |
|
<div class="method-header"> |
416 |
|
<span class="method-title">add_row</span> (line <span class="line-number">142</span>) |
417 |
|
</div> |
418 |
|
|
419 |
|
<!-- ========== Info from phpDoc block ========= --> |
420 |
|
<p class="short-description">This function is used to add a row to the table</p> |
421 |
|
|
422 |
|
<div class="method-signature"> |
423 |
|
<span class="method-result">void</span> |
424 |
|
<span class="method-name"> |
425 |
|
add_row |
426 |
|
</span> |
427 |
|
(<span class="var-type">mixed</span> <span class="var-name">0</span>) |
428 |
|
</div> |
429 |
|
|
430 |
|
<ul class="parameters"> |
431 |
|
<li> |
432 |
|
<span class="var-type">mixed</span> |
433 |
|
<span class="var-name">0</span><span class="var-description">: <p>- n number of items to push</p></span> </li> |
434 |
|
</ul> |
435 |
|
|
436 |
|
|
437 |
|
</div> |
438 |
|
<a name="methodget_cellpadding" id="get_cellpadding"><!-- --></a> |
439 |
|
<div class="oddrow"> |
440 |
|
|
441 |
|
<div class="method-header"> |
442 |
|
<span class="method-title">get_cellpadding</span> (line <span class="line-number">168</span>) |
443 |
|
</div> |
444 |
|
|
445 |
|
<!-- ========== Info from phpDoc block ========= --> |
446 |
|
<p class="short-description">This gets the current value of the cellpadding</p> |
447 |
|
<ul class="tags"> |
448 |
|
<li><span class="field">return:</span> <p>- the current cellpadding</p></li> |
449 |
|
</ul> |
450 |
|
|
451 |
|
<div class="method-signature"> |
452 |
|
<span class="method-result">int</span> |
453 |
|
<span class="method-name"> |
454 |
|
get_cellpadding |
455 |
|
</span> |
456 |
|
() |
457 |
|
</div> |
458 |
|
|
459 |
|
|
460 |
|
|
461 |
|
</div> |
462 |
|
<a name="methodget_cellspacing" id="get_cellspacing"><!-- --></a> |
463 |
|
<div class="evenrow"> |
464 |
|
|
465 |
|
<div class="method-header"> |
466 |
|
<span class="method-title">get_cellspacing</span> (line <span class="line-number">188</span>) |
467 |
|
</div> |
468 |
|
|
469 |
|
<!-- ========== Info from phpDoc block ========= --> |
470 |
|
<p class="short-description">This gets the current value of the cellspacing</p> |
471 |
|
<ul class="tags"> |
472 |
|
<li><span class="field">return:</span> <p>- the current cellspacing</p></li> |
473 |
|
</ul> |
474 |
|
|
475 |
|
<div class="method-signature"> |
476 |
|
<span class="method-result">int</span> |
477 |
|
<span class="method-name"> |
478 |
|
get_cellspacing |
479 |
|
</span> |
480 |
|
() |
481 |
|
</div> |
482 |
|
|
483 |
|
|
484 |
|
|
485 |
|
</div> |
486 |
|
<a name="methodget_title_text_align" id="get_title_text_align"><!-- --></a> |
487 |
|
<div class="oddrow"> |
488 |
|
|
489 |
|
<div class="method-header"> |
490 |
|
<span class="method-title">get_title_text_align</span> (line <span class="line-number">208</span>) |
491 |
|
</div> |
492 |
|
|
493 |
|
<!-- ========== Info from phpDoc block ========= --> |
494 |
|
<p class="short-description">this function lets gets the default css class for the title</p> |
495 |
|
<ul class="tags"> |
496 |
|
<li><span class="field">return:</span> <p>- the css class to use</p></li> |
497 |
|
</ul> |
498 |
|
|
499 |
|
<div class="method-signature"> |
500 |
|
<span class="method-result">string</span> |
501 |
|
<span class="method-name"> |
502 |
|
get_title_text_align |
503 |
|
</span> |
504 |
|
() |
505 |
|
</div> |
506 |
|
|
507 |
|
|
508 |
|
|
509 |
|
</div> |
510 |
|
<a name="methodget_vertical_cellborder" id="get_vertical_cellborder"><!-- --></a> |
511 |
|
<div class="evenrow"> |
512 |
|
|
513 |
|
<div class="method-header"> |
514 |
|
<span class="method-title">get_vertical_cellborder</span> (line <span class="line-number">229</span>) |
515 |
|
</div> |
516 |
|
|
517 |
|
<!-- ========== Info from phpDoc block ========= --> |
518 |
|
<p class="short-description">this function lets gets the default css class for the title</p> |
519 |
|
<ul class="tags"> |
520 |
|
<li><span class="field">return:</span> <p>- the css class to use</p></li> |
521 |
|
</ul> |
522 |
|
|
523 |
|
<div class="method-signature"> |
524 |
|
<span class="method-result">string</span> |
525 |
|
<span class="method-name"> |
526 |
|
get_vertical_cellborder |
527 |
|
</span> |
528 |
|
() |
529 |
|
</div> |
530 |
|
|
531 |
|
|
532 |
|
|
533 |
|
</div> |
534 |
|
<a name="methodrender" id="render"><!-- --></a> |
535 |
|
<div class="oddrow"> |
536 |
|
|
537 |
|
<div class="method-header"> |
538 |
|
<span class="method-title">render</span> (line <span class="line-number">84</span>) |
539 |
|
</div> |
540 |
|
|
541 |
|
<!-- ========== Info from phpDoc block ========= --> |
542 |
|
<p class="short-description">This function renders the object.</p> |
543 |
|
<ul class="tags"> |
544 |
|
<li><span class="field">return:</span> <p>the raw html output.</p></li> |
545 |
|
</ul> |
546 |
|
|
547 |
|
<div class="method-signature"> |
548 |
|
<span class="method-result">string</span> |
549 |
|
<span class="method-name"> |
550 |
|
render |
551 |
|
</span> |
552 |
|
([<span class="var-type">int</span> <span class="var-name">$indent_level</span> = <span class="var-default">1</span>], <span class="var-type">int</span> <span class="var-name">$output_debug</span>) |
553 |
|
</div> |
554 |
|
|
555 |
|
<ul class="parameters"> |
556 |
|
<li> |
557 |
|
<span class="var-type">int</span> |
558 |
|
<span class="var-name">$indent_level</span><span class="var-description">: <p>- the indentation level for the container.</p></span> </li> |
559 |
|
<li> |
560 |
|
<span class="var-type">int</span> |
561 |
|
<span class="var-name">$output_debug</span><span class="var-description">: <p>- the output debug flag to maintain compatibility w/ the API.</p></span> </li> |
562 |
|
</ul> |
563 |
|
|
564 |
|
<hr class="separator" /> |
565 |
|
<div class="notes">Redefinition of:</div> |
566 |
|
<dl> |
567 |
|
<dt><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></dt> |
568 |
|
<dd>This function is compatible with the rest of the phpHtmllib API spec.</dd> |
569 |
|
</dl> |
570 |
|
|
571 |
|
</div> |
572 |
|
<a name="methodset_cellpadding" id="set_cellpadding"><!-- --></a> |
573 |
|
<div class="evenrow"> |
574 |
|
|
575 |
|
<div class="method-header"> |
576 |
|
<span class="method-title">set_cellpadding</span> (line <span class="line-number">158</span>) |
577 |
|
</div> |
578 |
|
|
579 |
|
<!-- ========== Info from phpDoc block ========= --> |
580 |
|
<p class="short-description">This sets the cellpadding attribute for this object.</p> |
581 |
|
|
582 |
|
<div class="method-signature"> |
583 |
|
<span class="method-result">void</span> |
584 |
|
<span class="method-name"> |
585 |
|
set_cellpadding |
586 |
|
</span> |
587 |
|
(<span class="var-type">int</span> <span class="var-name">$pad</span>) |
588 |
|
</div> |
589 |
|
|
590 |
|
<ul class="parameters"> |
591 |
|
<li> |
592 |
|
<span class="var-type">int</span> |
593 |
|
<span class="var-name">$pad</span><span class="var-description">: <p>- the cellpadding value</p></span> </li> |
594 |
|
</ul> |
595 |
|
|
596 |
|
|
597 |
|
</div> |
598 |
|
<a name="methodset_cellspacing" id="set_cellspacing"><!-- --></a> |
599 |
|
<div class="oddrow"> |
600 |
|
|
601 |
|
<div class="method-header"> |
602 |
|
<span class="method-title">set_cellspacing</span> (line <span class="line-number">178</span>) |
603 |
|
</div> |
604 |
|
|
605 |
|
<!-- ========== Info from phpDoc block ========= --> |
606 |
|
<p class="short-description">This sets the cellspacing attribute for this object.</p> |
607 |
|
|
608 |
|
<div class="method-signature"> |
609 |
|
<span class="method-result">void</span> |
610 |
|
<span class="method-name"> |
611 |
|
set_cellspacing |
612 |
|
</span> |
613 |
|
(<span class="var-type">int</span> <span class="var-name">$spacing</span>) |
614 |
|
</div> |
615 |
|
|
616 |
|
<ul class="parameters"> |
617 |
|
<li> |
618 |
|
<span class="var-type">int</span> |
619 |
|
<span class="var-name">$spacing</span><span class="var-description">: <p>- the cellspacing value</p></span> </li> |
620 |
|
</ul> |
621 |
|
|
622 |
|
|
623 |
|
</div> |
624 |
|
<a name="methodset_title_text_align" id="set_title_text_align"><!-- --></a> |
625 |
|
<div class="evenrow"> |
626 |
|
|
627 |
|
<div class="method-header"> |
628 |
|
<span class="method-title">set_title_text_align</span> (line <span class="line-number">198</span>) |
629 |
|
</div> |
630 |
|
|
631 |
|
<!-- ========== Info from phpDoc block ========= --> |
632 |
|
<p class="short-description">this function lets you change the text alignment of the text in the title</p> |
633 |
|
|
634 |
|
<div class="method-signature"> |
635 |
|
<span class="method-result">void</span> |
636 |
|
<span class="method-name"> |
637 |
|
set_title_text_align |
638 |
|
</span> |
639 |
|
([<span class="var-type">string</span> <span class="var-name">$align</span> = <span class="var-default">"left"</span>]) |
640 |
|
</div> |
641 |
|
|
642 |
|
<ul class="parameters"> |
643 |
|
<li> |
644 |
|
<span class="var-type">string</span> |
645 |
|
<span class="var-name">$align</span><span class="var-description">: <p>- the alignment.</p></span> </li> |
646 |
|
</ul> |
647 |
|
|
648 |
|
|
649 |
|
</div> |
650 |
|
<a name="methodset_vertical_cellborder" id="set_vertical_cellborder"><!-- --></a> |
651 |
|
<div class="oddrow"> |
652 |
|
|
653 |
|
<div class="method-header"> |
654 |
|
<span class="method-title">set_vertical_cellborder</span> (line <span class="line-number">219</span>) |
655 |
|
</div> |
656 |
|
|
657 |
|
<!-- ========== Info from phpDoc block ========= --> |
658 |
|
<p class="short-description">this function sets the flag to tell the object to render (or not) the vertical cell borders</p> |
659 |
|
|
660 |
|
<div class="method-signature"> |
661 |
|
<span class="method-result">void</span> |
662 |
|
<span class="method-name"> |
663 |
|
set_vertical_cellborder |
664 |
|
</span> |
665 |
|
([<span class="var-type">boolean</span> <span class="var-name">$flag</span> = <span class="var-default">TRUE</span>]) |
666 |
|
</div> |
667 |
|
|
668 |
|
<ul class="parameters"> |
669 |
|
<li> |
670 |
|
<span class="var-type">boolean</span> |
671 |
|
<span class="var-name">$flag</span> </li> |
672 |
|
</ul> |
673 |
|
|
674 |
|
|
675 |
|
</div> |
676 |
|
<a name="method_build_header" id="_build_header"><!-- --></a> |
677 |
|
<div class="evenrow"> |
678 |
|
|
679 |
|
<div class="method-header"> |
680 |
|
<span class="method-title">_build_header</span> (line <span class="line-number">258</span>) |
681 |
|
</div> |
682 |
|
|
683 |
|
<!-- ========== Info from phpDoc block ========= --> |
684 |
|
<p class="short-description">This function builds the table header</p> |
685 |
|
<ul class="tags"> |
686 |
|
<li><span class="field">return:</span> <p>object</p></li> |
687 |
|
</ul> |
688 |
|
|
689 |
|
<div class="method-signature"> |
690 |
|
<span class="method-result"><a href="../phpHtmlLib/TRtag.html">TRtag</a></span> |
691 |
|
<span class="method-name"> |
692 |
|
_build_header |
693 |
|
</span> |
694 |
|
() |
695 |
|
</div> |
696 |
|
|
697 |
|
|
698 |
|
|
699 |
|
</div> |
700 |
|
<a name="method_build_td" id="_build_td"><!-- --></a> |
701 |
|
<div class="oddrow"> |
702 |
|
|
703 |
|
<div class="method-header"> |
704 |
|
<span class="method-title">_build_td</span> (line <span class="line-number">292</span>) |
705 |
|
</div> |
706 |
|
|
707 |
|
<!-- ========== Info from phpDoc block ========= --> |
708 |
|
<p class="short-description">this function builds a TD tag with the border styles set appropriatly</p> |
709 |
|
<ul class="tags"> |
710 |
|
<li><span class="field">return:</span> <p>object.</p></li> |
711 |
|
</ul> |
712 |
|
|
713 |
|
<div class="method-signature"> |
714 |
|
<span class="method-result"><a href="../phpHtmlLib/TDtag.html">TDtag</a></span> |
715 |
|
<span class="method-name"> |
716 |
|
_build_td |
717 |
|
</span> |
718 |
|
([<span class="var-type">int</span> <span class="var-name">$width</span> = <span class="var-default">""</span>], [<span class="var-type">string</span> <span class="var-name">$align</span> = <span class="var-default">""</span>], <span class="var-type">int</span> <span class="var-name">$col_num</span>, <span class="var-type">int</span> <span class="var-name">$total_cols</span>) |
719 |
|
</div> |
720 |
|
|
721 |
|
<ul class="parameters"> |
722 |
|
<li> |
723 |
|
<span class="var-type">int</span> |
724 |
|
<span class="var-name">$width</span><span class="var-description">: <p>- the width</p></span> </li> |
725 |
|
<li> |
726 |
|
<span class="var-type">string</span> |
727 |
|
<span class="var-name">$align</span><span class="var-description">: <p>- the alignment</p></span> </li> |
728 |
|
<li> |
729 |
|
<span class="var-type">int</span> |
730 |
|
<span class="var-name">$col_num</span><span class="var-description">: <p>- the current col #</p></span> </li> |
731 |
|
<li> |
732 |
|
<span class="var-type">int</span> |
733 |
|
<span class="var-name">$total_cols</span><span class="var-description">: <p>- the max cols</p></span> </li> |
734 |
|
</ul> |
735 |
|
|
736 |
|
|
737 |
|
</div> |
738 |
|
<a name="method_build_title" id="_build_title"><!-- --></a> |
739 |
|
<div class="evenrow"> |
740 |
|
|
741 |
|
<div class="method-header"> |
742 |
|
<span class="method-title">_build_title</span> (line <span class="line-number">246</span>) |
743 |
|
</div> |
744 |
|
|
745 |
|
<!-- ========== Info from phpDoc block ========= --> |
746 |
|
<p class="short-description">This function builds the title container</p> |
747 |
|
<ul class="tags"> |
748 |
|
<li><span class="field">return:</span> <p>object</p></li> |
749 |
|
</ul> |
750 |
|
|
751 |
|
<div class="method-signature"> |
752 |
|
<span class="method-result"><a href="../phpHtmlLib/CAPTIONtag.html">CAPTIONtag</a></span> |
753 |
|
<span class="method-name"> |
754 |
|
_build_title |
755 |
|
</span> |
756 |
|
() |
757 |
|
</div> |
758 |
|
|
759 |
|
|
760 |
|
|
761 |
|
</div> |
762 |
|
<h4>Inherited Methods</h4> |
763 |
|
<a name='inherited_methods'><!-- --></a> |
764 |
|
<!-- =========== Summary =========== --> |
765 |
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/BaseWidget.html">BaseWidget</a></span></p> |
766 |
|
<blockquote> |
767 |
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_align">BaseWidget::get_align()</a></span><br> |
768 |
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_css">BaseWidget::get_css()</a></span><br> |
769 |
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_javascript">BaseWidget::get_javascript()</a></span><br> |
770 |
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_title">BaseWidget::get_title()</a></span><br> |
771 |
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodget_width">BaseWidget::get_width()</a></span><br> |
772 |
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_align">BaseWidget::set_align()</a></span><br> |
773 |
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_title">BaseWidget::set_title()</a></span><br> |
774 |
|
<span class="method-name"><a href="../phpHtmlLib/BaseWidget.html#methodset_width">BaseWidget::set_width()</a></span><br> |
775 |
|
</blockquote> |
776 |
|
<!-- =========== Summary =========== --> |
777 |
|
<p>Inherited From <span class="classname"><a href="../phpHtmlLib/Container.html">Container</a></span></p> |
778 |
|
<blockquote> |
779 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodContainer">Container::Container()</a></span><br> |
780 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd">Container::add()</a></span><br> |
781 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodadd_reference">Container::add_reference()</a></span><br> |
782 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodcount_content">Container::count_content()</a></span><br> |
783 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodget_indent_flag">Container::get_indent_flag()</a></span><br> |
784 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush">Container::push()</a></span><br> |
785 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodpush_reference">Container::push_reference()</a></span><br> |
786 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodrender">Container::render()</a></span><br> |
787 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodreset_content">Container::reset_content()</a></span><br> |
788 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_collapse">Container::set_collapse()</a></span><br> |
789 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#methodset_indent_flag">Container::set_indent_flag()</a></span><br> |
790 |
|
<span class="method-name"><a href="../phpHtmlLib/Container.html#method_set_flags">Container::_set_flags()</a></span><br> |
791 |
|
</blockquote> |
792 |
|
|
793 |
|
</div> |
794 |
|
</div> |
795 |
|
|
796 |
|
<p class="notes" id="credit"> |
797 |
|
Documention generated on Thu, 31 Jul 2003 18:32:52 -0700 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0</a> |
798 |
|
</p> |
799 |
|
</div></body> |
800 |
</html> |
</html> |