1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'> |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'> |
2 |
<!--NewPage--> |
<!--NewPage--> |
3 |
<HTML> |
<HTML> |
4 |
<HEAD> |
<HEAD> |
5 |
<!-- Generated by PhpDoc date: 'Mon, 25 Nov 2002 09:21:33 -0800' --> |
<!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:23:06 -0800' --> |
6 |
<TITLE>Docs for page PEARSQLDataListSource.inc</TITLE> |
<TITLE>Docs for page PEARSQLDataListSource.inc</TITLE> |
7 |
<LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'> |
<LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'> |
8 |
</HEAD> |
</HEAD> |
9 |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
|
|
|
|
|
|
10 |
<!-- Links --> |
<!-- Links --> |
11 |
<a NAME="top"></A> |
<a NAME="top"></A> |
12 |
<table WIDTH="100%" class="links"> |
<table WIDTH="100%" class="links"> |
15 |
Links: |
Links: |
16 |
<A HREF="#classes_summary" class="links" title="Classes created in this file">Classes</A> |
<A HREF="#classes_summary" class="links" title="Classes created in this file">Classes</A> |
17 |
<A HREF="#includes_summary" class="links" title="Include Statements Summary">Includes</A> |
<A HREF="#includes_summary" class="links" title="Include Statements Summary">Includes</A> |
18 |
<A HREF="#globals_summary" class="links" title="Global Variable Summary">Globals</A> |
<A HREF="#global_summary" class="links" title="Global Variable Summary">Globals</A> |
19 |
<A HREF="#constant_summary" class="links" title="Constant Summary">Constants</A> |
<A HREF="#constant_summary" class="links" title="Constant Summary">Constants</A> |
20 |
<A HREF="#functions_summary" class="links" title="Function Summary">Functions</A> |
<A HREF="#function_summary" class="links" title="Function Summary">Functions</A> |
21 |
<A HREF="#includes_detail" class="links" title="Include Statements Detail">Includes Detail</A> |
<A HREF="#includes_detail" class="links" title="Include Statements Detail">Includes Detail</A> |
22 |
<A HREF="#global_detail" class="links" title="Global Variable Detail">Globals Detail</A> |
<A HREF="#global_detail" class="links" title="Global Variable Detail">Globals Detail</A> |
23 |
<A HREF="#constant_detail" class="links" title="Constant Detail">Constants Detail</A> |
<A HREF="#constant_detail" class="links" title="Constant Detail">Constants Detail</A> |
26 |
</TR> |
</TR> |
27 |
</TABLE> |
</TABLE> |
28 |
<BR> |
<BR> |
|
|
|
29 |
<h2>File: Program_Root/widgets/data_list/PEARSQLDataListSource.inc</h2> |
<h2>File: Program_Root/widgets/data_list/PEARSQLDataListSource.inc</h2> |
30 |
<!-- ========== Info from phpDoc block ========= --> |
This file contains the SQLDataListSource child class that uses the PEAR DB object to talk to the DB. |
31 |
This file contains the SQLDataListSource child class |
<br /> |
|
that uses the PEAR DB object to talk to the DB. |
|
|
<BR> |
|
|
|
|
32 |
|
|
33 |
<UL> |
<UL> |
34 |
|
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
35 |
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
</UL> |
|
|
|
|
<LI><b>Author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></CODE></LI> |
|
|
|
|
|
</UL> |
|
|
|
|
|
<br> |
|
36 |
<!-- =========== Used Classes =========== --> |
<!-- =========== Used Classes =========== --> |
37 |
<A NAME='classes_summary'><!-- --></A> |
<A NAME='classes_summary'><!-- --></A> |
38 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom"> |
39 |
<TR CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
40 |
<TD> |
<TD> |
41 |
<span class="font12bold">Classes defined in this file</span> |
<span class="font12bold">Classes defined in this file</span> |
42 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
48 |
<TR><TD STYLE="width:20%"><h4>CLASS NAME</h4></TD><TD STYLE="width: 80%"><h4>DESCRIPTION</h4></TD></TR> |
<TR><TD STYLE="width:20%"><h4>CLASS NAME</h4></TD><TD STYLE="width: 80%"><h4>DESCRIPTION</h4></TD></TR> |
49 |
</THEAD> |
</THEAD> |
50 |
<TBODY> |
<TBODY> |
51 |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
52 |
<TD><a href="../phpHtmlLib/PEARSQLDataListSource.html">PEARSQLDataListSource</a></TD> |
<TD><a href="../phpHtmlLib/PEARSQLDataListSource.html">PEARSQLDataListSource</a></TD> |
53 |
<TD>with the specific DB via the php PEAR DB abstraction |
<TD>This SQLDataListSource child class interacts with with the specific DB via the php PEAR DB abstraction objects.</TD> |
|
objects. |
|
|
|
|
|
How to use? |
|
|
in the DataList child's get_data_source() method |
|
|
you pass in the already connected PEAR DB object |
|
|
in to the constructor. PEARSQLDataListSource |
|
|
takes care of the rest.</TD> |
|
54 |
</TR> |
</TR> |
55 |
|
</TBODY> |
|
</TBODY> |
|
56 |
</TABLE> |
</TABLE> |
57 |
<br> |
<br> |
|
<br> |
|
58 |
<!-- =========== Includes SUMMARY =========== --> |
<!-- =========== Includes SUMMARY =========== --> |
59 |
<A NAME='includes_summary'><!-- --></A> |
<A NAME='includes_summary'><!-- --></A> |
60 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
70 |
<TR><TH>INCLUDE TYPE</TH><TH>INCLUDED FILENAME</TH><TH>DESCRIPTION</TH></TR> |
<TR><TH>INCLUDE TYPE</TH><TH>INCLUDED FILENAME</TH><TH>DESCRIPTION</TH></TR> |
71 |
</THEAD> |
</THEAD> |
72 |
<TBODY> |
<TBODY> |
73 |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
74 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TD><A HREF="#_$phphtmllib_/widgets/data_list/SQLDataListSource_inc">include_once</A></TD> |
|
<TD><A HREF='_widgets_data_list_PEARSQLDataListSource_inc.html#_$phphtmllib_/widgets/data_list/SQLDataListSource_inc'>include_once</A></TD> |
|
75 |
<TD>$phphtmllib."/widgets/data_list/SQLDataListSource.inc"</TD> |
<TD>$phphtmllib."/widgets/data_list/SQLDataListSource.inc"</TD> |
76 |
<TD>This requires the SQLDataListSource |
<TD>This requires the SQLDataListSource</TD> |
|
parent class</TD> |
|
77 |
</TR> |
</TR> |
78 |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
79 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TD><A HREF="#_PEAR_php">require_once</A></TD> |
80 |
<TD><A HREF='_widgets_data_list_PEARSQLDataListSource_inc.html#_DB_php'>require_once</A></TD> |
<TD>"PEAR.php"</TD> |
81 |
|
<TD>Have to have PEAR and DB included the pear dir must be in the include path.</TD> |
82 |
|
</TR> |
83 |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
84 |
|
<TD><A HREF="#_DB_php">require_once</A></TD> |
85 |
<TD>"DB.php"</TD> |
<TD>"DB.php"</TD> |
86 |
<TD></TD> |
<TD></TD> |
87 |
</TR> |
</TR> |
88 |
|
</TBODY> |
|
<TR BGCOLOR='white' CLASS='TableRowColor'> |
|
|
<TD><A HREF='_widgets_data_list_PEARSQLDataListSource_inc.html#_PEAR_php'>require_once</A></TD> |
|
|
<TD>"PEAR.php"</TD> |
|
|
<TD>Have to have PEAR and DB included |
|
|
the pear dir must be in the |
|
|
include path.</TD> |
|
|
</TR> |
|
|
|
|
|
</TBODY> |
|
89 |
</TABLE> |
</TABLE> |
90 |
<br> |
<br> |
|
|
|
91 |
<br> |
<br> |
92 |
<!-- =========== CONSTANT SUMMARY =========== --> |
<!-- =========== GLOBAL VARIABLE SUMMARY =========== --> |
93 |
<A NAME='global_summary'><!-- --></A> |
<A NAME='global_summary'><!-- --></A> |
94 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
95 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
96 |
<TD> |
<TD> |
97 |
<FONT SIZE='+2'><B>Global Variable Summary</B></FONT> |
<span CLASS="font12bold">Global Variable Summary</span> |
98 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
99 |
</TD> |
</TD> |
100 |
</TR> |
</TR> |
104 |
<TR><TH>VARIABLE NAME</TH><TH>VARIABLE VALUE</TH><TH>DESCRIPTION</TH></TR> |
<TR><TH>VARIABLE NAME</TH><TH>VARIABLE VALUE</TH><TH>DESCRIPTION</TH></TR> |
105 |
</THEAD> |
</THEAD> |
106 |
<TBODY> |
<TBODY> |
107 |
|
</TBODY> |
|
</TBODY> |
|
108 |
</TABLE> |
</TABLE> |
109 |
<br> |
<br> |
|
|
|
|
|
|
110 |
<br> |
<br> |
111 |
<!-- =========== CONSTANT SUMMARY =========== --> |
<!-- =========== CONSTANT SUMMARY =========== --> |
112 |
<A NAME='constant_summary'><!-- --></A> |
<A NAME='constant_summary'><!-- --></A> |
113 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom"> |
114 |
<TR CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
115 |
<TD> |
<TD> |
116 |
<span CLASS="font12bold">Constant Summary</span> |
<span class="font12bold">Constant Summary</span> |
117 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
118 |
</TD> |
</TD> |
119 |
</TR> |
</TR> |
123 |
<TR><TH>CONSTANT NAME</TH><TH>CONSTANT VALUE</TH><TH>DESCRIPTION</TH></TR> |
<TR><TH>CONSTANT NAME</TH><TH>CONSTANT VALUE</TH><TH>DESCRIPTION</TH></TR> |
124 |
</THEAD> |
</THEAD> |
125 |
<TBODY> |
<TBODY> |
126 |
|
</TBODY> |
|
</TBODY> |
|
127 |
</TABLE> |
</TABLE> |
128 |
<br> |
<br> |
|
|
|
129 |
<br> |
<br> |
130 |
<!-- =========== Function SUMMARY =========== --> |
<!-- =========== FUNCTION SUMMARY =========== --> |
131 |
<A NAME='Function_summary'><!-- --></A> |
<A NAME='function_summary'><!-- --></A> |
132 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom"> |
133 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
134 |
<TD> |
<TD> |
135 |
<span class="font12bold">Function Summary</span> |
<span class="font12bold">Function Summary</span> |
137 |
</TD> |
</TD> |
138 |
</TR> |
</TR> |
139 |
|
|
140 |
|
</TABLE> |
|
</TABLE> |
|
|
|
|
141 |
<br> |
<br> |
142 |
<!-- ============ Includes DETAIL =========== --> |
<!-- ============ Includes DETAIL =========== --> |
143 |
|
|
151 |
</TR> |
</TR> |
152 |
</TABLE> |
</TABLE> |
153 |
|
|
|
|
|
154 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
155 |
<A NAME='_$phphtmllib_/widgets/data_list/SQLDataListSource_inc'><!-- --></A> |
<A NAME="_$phphtmllib_/widgets/data_list/SQLDataListSource_inc"><!-- --></A> |
156 |
<span class="font10bold">Include Type : </span>include_once |
<span class="font10bold">Include Type : </span>include_once (line <span class="linenumber">16</span>) |
157 |
<BR> |
<BR> |
158 |
<span class="font10bold">Include File : </span>$phphtmllib."/widgets/data_list/SQLDataListSource.inc" |
<span class="font10bold">Include File : </span>$phphtmllib."/widgets/data_list/SQLDataListSource.inc" |
159 |
<BR> |
<BR> |
|
<!-- ========== Info from phpDoc block ========= --> |
|
160 |
This requires the SQLDataListSource |
This requires the SQLDataListSource |
161 |
parent class |
<br /> |
162 |
<BR> |
<p>parent class</p> |
|
|
|
|
|
|
163 |
<UL> |
<UL> |
164 |
|
</UL> |
|
</UL> |
|
|
|
|
165 |
</DIV> |
</DIV> |
|
|
|
166 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
167 |
<A NAME='_DB_php'><!-- --></A> |
<A NAME="_PEAR_php"><!-- --></A> |
168 |
<span class="font10bold">Include Type : </span>require_once |
<span class="font10bold">Include Type : </span>require_once (line <span class="linenumber">23</span>) |
|
<BR> |
|
|
<span class="font10bold">Include File : </span>"DB.php" |
|
169 |
<BR> |
<BR> |
170 |
<!-- ========== Info from phpDoc block ========= --> |
<span class="font10bold">Include File : </span>"PEAR.php" |
|
|
|
171 |
<BR> |
<BR> |
172 |
|
Have to have PEAR and DB included the pear dir must be in the include path. |
173 |
|
<br /> |
174 |
|
|
175 |
<UL> |
<UL> |
176 |
|
</UL> |
|
</UL> |
|
|
|
|
177 |
</DIV> |
</DIV> |
|
|
|
178 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
179 |
<A NAME='_PEAR_php'><!-- --></A> |
<A NAME="_DB_php"><!-- --></A> |
180 |
<span class="font10bold">Include Type : </span>require_once |
<span class="font10bold">Include Type : </span>require_once (line <span class="linenumber">24</span>) |
|
<BR> |
|
|
<span class="font10bold">Include File : </span>"PEAR.php" |
|
181 |
<BR> |
<BR> |
182 |
<!-- ========== Info from phpDoc block ========= --> |
<span class="font10bold">Include File : </span>"DB.php" |
|
Have to have PEAR and DB included |
|
|
the pear dir must be in the |
|
|
include path. |
|
183 |
<BR> |
<BR> |
184 |
|
|
185 |
|
<br /> |
186 |
|
|
187 |
<UL> |
<UL> |
188 |
|
</UL> |
|
</UL> |
|
|
|
|
189 |
</DIV> |
</DIV> |
|
|
|
|
|
|
190 |
<br> |
<br> |
191 |
<!-- ============ GLOBALS DETAIL =========== --> |
<!-- ============ GLOBALS DETAIL =========== --> |
192 |
|
|
193 |
<A NAME='global_detail'></A> |
<A NAME='global_detail'></A> |
194 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
195 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
196 |
<TD> |
<TD> |
197 |
<span CLASS="font12bold">Global Variable Detail</span> |
<span CLASS="font12bold">Global Variable Detail</span> |
200 |
</TR> |
</TR> |
201 |
</TABLE> |
</TABLE> |
202 |
|
|
|
|
|
|
|
|
203 |
<br> |
<br> |
204 |
<!-- ============ CONSTANT DETAIL =========== --> |
<!-- ============ CONSTANT DETAIL =========== --> |
205 |
|
|
206 |
<A NAME='constant_detail'></A> |
<A NAME='constant_detail'></A> |
207 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
208 |
<TR CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
209 |
<TD> |
<TD> |
210 |
<span CLASS="font12bold">Constant Detail</span> |
<span CLASS="font12bold">Constant Detail</span> |
211 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
213 |
</TR> |
</TR> |
214 |
</TABLE> |
</TABLE> |
215 |
|
|
|
|
|
|
|
|
216 |
<br> |
<br> |
217 |
<!-- ============ FUNCTION DETAIL =========== --> |
<!-- ============ FUNCTION DETAIL =========== --> |
218 |
|
|
219 |
<A NAME='function_detail'></A> |
<A NAME='function_detail'></A> |
220 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
221 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
222 |
<TD> |
<TD> |
223 |
<span class="font12bold">Function Detail</span> |
<span class="font12bold">Function Detail</span> |
226 |
</TR> |
</TR> |
227 |
</TABLE> |
</TABLE> |
228 |
<BR> |
<BR> |
|
|
|
|
|
|
229 |
<br> |
<br> |
230 |
</HTML> |
<div id="credit"> |
231 |
|
<hr> |
232 |
|
Documention generated on Thu, 20 Feb 2003 16:23:06 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
233 |
|
</div> |
234 |
|
</body> |
235 |
|
</html> |
236 |
|
</HTML> |