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