1 |
<?xml version="1.0" encoding="iso-8859-1"?> |
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
3 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
4 |
<head> |
5 |
<!-- template designed by Marco Von Ballmoos --> |
6 |
<title>Docs for page widget6.php</title> |
7 |
<link rel="stylesheet" href="../../media/stylesheet.css" /> |
8 |
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/> |
9 |
</head> |
10 |
<body> |
11 |
<div class="page-body"> |
12 |
|
13 |
<h2 class="file-name">/examples/widget6.php</h2> |
14 |
|
15 |
<a name="sec-description"></a> |
16 |
<div class="info-box"> |
17 |
<div class="info-box-title">Description</div> |
18 |
<div class="nav-bar"> |
19 |
<span class="disabled">Description</span> | |
20 |
<a href="#sec-classes">Classes</a> |
21 |
| <a href="#sec-includes">Includes</a> |
22 |
</div> |
23 |
<div class="info-box-body"> |
24 |
<!-- ========== Info from phpDoc block ========= --> |
25 |
<p class="short-description">This example illustrates the use of the</p> |
26 |
<p class="description"><p>DataList object classes. This object can show a list of data from any data source and have any GUI layout and provide the features of: searching, sorting, paging of the data.</p><p>This page shows the Data coming from 2 different types of DB objects. One from a PEAR::DB object, and another from a ADODB object.</p><p>$Id: _examples_widget6_php.html,v 1.26 2004/04/01 17:35:50 hemna Exp $</p></p> |
27 |
<ul class="tags"> |
28 |
<li><span class="field">version:</span> 2.0</li> |
29 |
<li><span class="field">author:</span> Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></li> |
30 |
</ul> |
31 |
|
32 |
</div> |
33 |
</div> |
34 |
|
35 |
<a name="sec-classes"></a> |
36 |
<div class="info-box"> |
37 |
<div class="info-box-title">Classes</div> |
38 |
<div class="nav-bar"> |
39 |
<a href="#sec-description">Description</a> | |
40 |
<span class="disabled">Classes</span> |
41 |
| <a href="#sec-includes">Includes</a> |
42 |
</div> |
43 |
<div class="info-box-body"> |
44 |
<table cellpadding="2" cellspacing="0" class="class-table"> |
45 |
<tr> |
46 |
<th class="class-table-header">Class</th> |
47 |
<th class="class-table-header">Description</th> |
48 |
</tr> |
49 |
<tr> |
50 |
<td style="padding-right: 2em; vertical-align: top"> |
51 |
<a href="../../phpHtmlLib/widget-examples/pearmysqllist.html">pearmysqllist</a> |
52 |
</td> |
53 |
<td> |
54 |
This is an example that shows how to use a PEAR db object as the source for the data to show. |
55 |
</td> |
56 |
</tr> |
57 |
<tr> |
58 |
<td style="padding-right: 2em; vertical-align: top"> |
59 |
<a href="../../phpHtmlLib/widget-examples/adodbmysqllist.html">adodbmysqllist</a> |
60 |
</td> |
61 |
<td> |
62 |
This is a subclass of the pear mysql list object. |
63 |
</td> |
64 |
</tr> |
65 |
</table> |
66 |
</div> |
67 |
</div> |
68 |
|
69 |
<a name="sec-includes"></a> |
70 |
<div class="info-box"> |
71 |
<div class="info-box-title">Includes</div> |
72 |
<div class="nav-bar"> |
73 |
<a href="#sec-description">Description</a> | |
74 |
<a href="#sec-classes">Classes</a> |
75 |
| <span class="disabled">Includes</span> |
76 |
</div> |
77 |
<div class="info-box-body"> |
78 |
<a name="_db_defines_inc"><!-- --></a> |
79 |
<div class="evenrow"> |
80 |
|
81 |
<div> |
82 |
<span class="include-title"> |
83 |
<span class="include-type">include_once</span> |
84 |
(<span class="include-name"><a href="../../phpHtmlLib/_examples_db_defines_inc.html">"db_defines.inc"</a></span>) |
85 |
(line <span class="line-number">29</span>) |
86 |
</span> |
87 |
</div> |
88 |
|
89 |
<!-- ========== Info from phpDoc block ========= --> |
90 |
|
91 |
</div> |
92 |
<a name="_includes_inc"><!-- --></a> |
93 |
<div class="oddrow"> |
94 |
|
95 |
<div> |
96 |
<span class="include-title"> |
97 |
<span class="include-type">include_once</span> |
98 |
(<span class="include-name">"includes.inc"</span>) |
99 |
(line <span class="line-number">28</span>) |
100 |
</span> |
101 |
</div> |
102 |
|
103 |
<!-- ========== Info from phpDoc block ========= --> |
104 |
<p class="short-description">Include the phphtmllib libraries</p> |
105 |
|
106 |
</div> |
107 |
<a name="_$phphtmllib_/widgets/data_list/includes_inc"><!-- --></a> |
108 |
<div class="evenrow"> |
109 |
|
110 |
<div> |
111 |
<span class="include-title"> |
112 |
<span class="include-type">include_once</span> |
113 |
(<span class="include-name">$phphtmllib."/widgets/data_list/includes.inc"</span>) |
114 |
(line <span class="line-number">31</span>) |
115 |
</span> |
116 |
</div> |
117 |
|
118 |
<!-- ========== Info from phpDoc block ========= --> |
119 |
|
120 |
</div> |
121 |
<a name="_$phphtmllib_/widgets/data_list/ADODBSQLDataListSource_inc"><!-- --></a> |
122 |
<div class="oddrow"> |
123 |
|
124 |
<div> |
125 |
<span class="include-title"> |
126 |
<span class="include-type">include_once</span> |
127 |
(<span class="include-name">$phphtmllib."/widgets/data_list/ADODBSQLDataListSource.inc"</span>) |
128 |
(line <span class="line-number">41</span>) |
129 |
</span> |
130 |
</div> |
131 |
|
132 |
<!-- ========== Info from phpDoc block ========= --> |
133 |
|
134 |
</div> |
135 |
<a name="_$phphtmllib_/widgets/data_list/PEARSQLDataListSource_inc"><!-- --></a> |
136 |
<div class="evenrow"> |
137 |
|
138 |
<div> |
139 |
<span class="include-title"> |
140 |
<span class="include-type">include_once</span> |
141 |
(<span class="include-name">$phphtmllib."/widgets/data_list/PEARSQLDataListSource.inc"</span>) |
142 |
(line <span class="line-number">32</span>) |
143 |
</span> |
144 |
</div> |
145 |
|
146 |
<!-- ========== Info from phpDoc block ========= --> |
147 |
|
148 |
</div> |
149 |
<a name="_adodb_inc_php"><!-- --></a> |
150 |
<div class="oddrow"> |
151 |
|
152 |
<div> |
153 |
<span class="include-title"> |
154 |
<span class="include-type">require_once</span> |
155 |
(<span class="include-name">"adodb.inc.php"</span>) |
156 |
(line <span class="line-number">39</span>) |
157 |
</span> |
158 |
</div> |
159 |
|
160 |
<!-- ========== Info from phpDoc block ========= --> |
161 |
|
162 |
</div> |
163 |
</div> |
164 |
</div> |
165 |
|
166 |
|
167 |
|
168 |
|
169 |
<p class="notes" id="credit"> |
170 |
Documentation generated on Thu, 1 Apr 2004 09:40:13 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a> |
171 |
</p> |
172 |
</div></body> |
173 |
</html> |