1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'> |
2 |
<!--NewPage--> |
3 |
<HTML> |
4 |
<HEAD> |
5 |
<!-- Generated by PhpDoc date: 'Mon, 25 Nov 2002 09:21:33 -0800' --> |
6 |
<TITLE>Docs for page PEARSQLDataListSource.inc</TITLE> |
7 |
<LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'> |
8 |
</HEAD> |
9 |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
10 |
|
11 |
|
12 |
<!-- Links --> |
13 |
<a NAME="top"></A> |
14 |
<table WIDTH="100%" class="links"> |
15 |
<TR> |
16 |
<TD class="font10"> |
17 |
Links: |
18 |
<A HREF="#classes_summary" class="links" title="Classes created in this file">Classes</A> |
19 |
<A HREF="#includes_summary" class="links" title="Include Statements Summary">Includes</A> |
20 |
<A HREF="#globals_summary" class="links" title="Global Variable Summary">Globals</A> |
21 |
<A HREF="#constant_summary" class="links" title="Constant Summary">Constants</A> |
22 |
<A HREF="#functions_summary" class="links" title="Function Summary">Functions</A> |
23 |
<A HREF="#includes_detail" class="links" title="Include Statements Detail">Includes Detail</A> |
24 |
<A HREF="#global_detail" class="links" title="Global Variable Detail">Globals Detail</A> |
25 |
<A HREF="#constant_detail" class="links" title="Constant Detail">Constants Detail</A> |
26 |
<A HREF="#function_detail" class="links" title="Function Detail">Functions Detail</A> |
27 |
</TD> |
28 |
</TR> |
29 |
</TABLE> |
30 |
<BR> |
31 |
|
32 |
<h2>File: Program_Root/widgets/data_list/PEARSQLDataListSource.inc</h2> |
33 |
<!-- ========== Info from phpDoc block ========= --> |
34 |
This file contains the SQLDataListSource child class |
35 |
that uses the PEAR DB object to talk to the DB. |
36 |
<BR> |
37 |
|
38 |
|
39 |
<UL> |
40 |
|
41 |
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
42 |
|
43 |
<LI><b>Author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></CODE></LI> |
44 |
|
45 |
</UL> |
46 |
|
47 |
<br> |
48 |
<!-- =========== Used Classes =========== --> |
49 |
<A NAME='classes_summary'><!-- --></A> |
50 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
51 |
<TR CLASS='TableHeadingColor'> |
52 |
<TD> |
53 |
<span class="font12bold">Classes defined in this file</span> |
54 |
<A HREF="#top" CLASS="links">^TOP</A> |
55 |
</TD> |
56 |
</TR> |
57 |
</TABLE> |
58 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
59 |
<THEAD> |
60 |
<TR><TD STYLE="width:20%"><h4>CLASS NAME</h4></TD><TD STYLE="width: 80%"><h4>DESCRIPTION</h4></TD></TR> |
61 |
</THEAD> |
62 |
<TBODY> |
63 |
|
64 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
65 |
<TD><a href="../phpHtmlLib/PEARSQLDataListSource.html">PEARSQLDataListSource</a></TD> |
66 |
<TD>with the specific DB via the php PEAR DB abstraction |
67 |
objects. |
68 |
|
69 |
How to use? |
70 |
in the DataList child's get_data_source() method |
71 |
you pass in the already connected PEAR DB object |
72 |
in to the constructor. PEARSQLDataListSource |
73 |
takes care of the rest.</TD> |
74 |
</TR> |
75 |
|
76 |
</TBODY> |
77 |
</TABLE> |
78 |
<br> |
79 |
<br> |
80 |
<!-- =========== Includes SUMMARY =========== --> |
81 |
<A NAME='includes_summary'><!-- --></A> |
82 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
83 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
84 |
<TD> |
85 |
<span CLASS="font12bold">Include Statements Summary</span> |
86 |
<A HREF="#top" CLASS="links">^TOP</A> |
87 |
</TD> |
88 |
</TR> |
89 |
</TABLE> |
90 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
91 |
<THEAD> |
92 |
<TR><TH>INCLUDE TYPE</TH><TH>INCLUDED FILENAME</TH><TH>DESCRIPTION</TH></TR> |
93 |
</THEAD> |
94 |
<TBODY> |
95 |
|
96 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
97 |
<TD><A HREF='_widgets_data_list_PEARSQLDataListSource_inc.html#_$phphtmllib_/widgets/data_list/SQLDataListSource_inc'>include_once</A></TD> |
98 |
<TD>$phphtmllib."/widgets/data_list/SQLDataListSource.inc"</TD> |
99 |
<TD>This requires the SQLDataListSource |
100 |
parent class</TD> |
101 |
</TR> |
102 |
|
103 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
104 |
<TD><A HREF='_widgets_data_list_PEARSQLDataListSource_inc.html#_DB_php'>require_once</A></TD> |
105 |
<TD>"DB.php"</TD> |
106 |
<TD></TD> |
107 |
</TR> |
108 |
|
109 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
110 |
<TD><A HREF='_widgets_data_list_PEARSQLDataListSource_inc.html#_PEAR_php'>require_once</A></TD> |
111 |
<TD>"PEAR.php"</TD> |
112 |
<TD>Have to have PEAR and DB included |
113 |
the pear dir must be in the |
114 |
include path.</TD> |
115 |
</TR> |
116 |
|
117 |
</TBODY> |
118 |
</TABLE> |
119 |
<br> |
120 |
|
121 |
<br> |
122 |
<!-- =========== CONSTANT SUMMARY =========== --> |
123 |
<A NAME='global_summary'><!-- --></A> |
124 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
125 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
126 |
<TD> |
127 |
<FONT SIZE='+2'><B>Global Variable Summary</B></FONT> |
128 |
<A HREF="#top" CLASS="links">^TOP</A> |
129 |
</TD> |
130 |
</TR> |
131 |
</TABLE> |
132 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
133 |
<THEAD> |
134 |
<TR><TH>VARIABLE NAME</TH><TH>VARIABLE VALUE</TH><TH>DESCRIPTION</TH></TR> |
135 |
</THEAD> |
136 |
<TBODY> |
137 |
|
138 |
</TBODY> |
139 |
</TABLE> |
140 |
<br> |
141 |
|
142 |
|
143 |
<br> |
144 |
<!-- =========== CONSTANT SUMMARY =========== --> |
145 |
<A NAME='constant_summary'><!-- --></A> |
146 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
147 |
<TR CLASS='TableHeadingColor'> |
148 |
<TD> |
149 |
<span CLASS="font12bold">Constant Summary</span> |
150 |
<A HREF="#top" CLASS="links">^TOP</A> |
151 |
</TD> |
152 |
</TR> |
153 |
</TABLE> |
154 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
155 |
<THEAD> |
156 |
<TR><TH>CONSTANT NAME</TH><TH>CONSTANT VALUE</TH><TH>DESCRIPTION</TH></TR> |
157 |
</THEAD> |
158 |
<TBODY> |
159 |
|
160 |
</TBODY> |
161 |
</TABLE> |
162 |
<br> |
163 |
|
164 |
<br> |
165 |
<!-- =========== Function SUMMARY =========== --> |
166 |
<A NAME='Function_summary'><!-- --></A> |
167 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
168 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
169 |
<TD> |
170 |
<span class="font12bold">Function Summary</span> |
171 |
<A HREF="#top" CLASS="links">^TOP</A> |
172 |
</TD> |
173 |
</TR> |
174 |
|
175 |
|
176 |
</TABLE> |
177 |
|
178 |
<br> |
179 |
<!-- ============ Includes DETAIL =========== --> |
180 |
|
181 |
<A NAME='includes_detail'></A> |
182 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
183 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
184 |
<TD> |
185 |
<span CLASS="font12bold">Include Statements Detail</span> |
186 |
<A HREF="#top" CLASS="links">^TOP</A> |
187 |
</TD> |
188 |
</TR> |
189 |
</TABLE> |
190 |
|
191 |
|
192 |
<DIV CLASS="function"> |
193 |
<A NAME='_$phphtmllib_/widgets/data_list/SQLDataListSource_inc'><!-- --></A> |
194 |
<span class="font10bold">Include Type : </span>include_once |
195 |
<BR> |
196 |
<span class="font10bold">Include File : </span>$phphtmllib."/widgets/data_list/SQLDataListSource.inc" |
197 |
<BR> |
198 |
<!-- ========== Info from phpDoc block ========= --> |
199 |
This requires the SQLDataListSource |
200 |
parent class |
201 |
<BR> |
202 |
|
203 |
|
204 |
<UL> |
205 |
|
206 |
</UL> |
207 |
|
208 |
</DIV> |
209 |
|
210 |
<DIV CLASS="function"> |
211 |
<A NAME='_DB_php'><!-- --></A> |
212 |
<span class="font10bold">Include Type : </span>require_once |
213 |
<BR> |
214 |
<span class="font10bold">Include File : </span>"DB.php" |
215 |
<BR> |
216 |
<!-- ========== Info from phpDoc block ========= --> |
217 |
|
218 |
<BR> |
219 |
|
220 |
|
221 |
<UL> |
222 |
|
223 |
</UL> |
224 |
|
225 |
</DIV> |
226 |
|
227 |
<DIV CLASS="function"> |
228 |
<A NAME='_PEAR_php'><!-- --></A> |
229 |
<span class="font10bold">Include Type : </span>require_once |
230 |
<BR> |
231 |
<span class="font10bold">Include File : </span>"PEAR.php" |
232 |
<BR> |
233 |
<!-- ========== Info from phpDoc block ========= --> |
234 |
Have to have PEAR and DB included |
235 |
the pear dir must be in the |
236 |
include path. |
237 |
<BR> |
238 |
|
239 |
|
240 |
<UL> |
241 |
|
242 |
</UL> |
243 |
|
244 |
</DIV> |
245 |
|
246 |
|
247 |
<br> |
248 |
<!-- ============ GLOBALS DETAIL =========== --> |
249 |
|
250 |
<A NAME='global_detail'></A> |
251 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
252 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
253 |
<TD> |
254 |
<span CLASS="font12bold">Global Variable Detail</span> |
255 |
<A HREF="#top" CLASS="links">^TOP</A> |
256 |
</TD> |
257 |
</TR> |
258 |
</TABLE> |
259 |
|
260 |
|
261 |
|
262 |
<br> |
263 |
<!-- ============ CONSTANT DETAIL =========== --> |
264 |
|
265 |
<A NAME='constant_detail'></A> |
266 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
267 |
<TR CLASS='TableHeadingColor'> |
268 |
<TD> |
269 |
<span CLASS="font12bold">Constant Detail</span> |
270 |
<A HREF="#top" CLASS="links">^TOP</A> |
271 |
</TD> |
272 |
</TR> |
273 |
</TABLE> |
274 |
|
275 |
|
276 |
|
277 |
<br> |
278 |
<!-- ============ FUNCTION DETAIL =========== --> |
279 |
|
280 |
<A NAME='function_detail'></A> |
281 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
282 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
283 |
<TD> |
284 |
<span class="font12bold">Function Detail</span> |
285 |
<A HREF="#top" CLASS="links">^TOP</A> |
286 |
</TD> |
287 |
</TR> |
288 |
</TABLE> |
289 |
<BR> |
290 |
|
291 |
|
292 |
<br> |
293 |
</HTML> |