Docs for page widget6.php

## /examples/widget6.php

Description

This example illustrates the use of the

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.

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.

$Id: _examples_widget6_php.html,v 1.35.2.1 2005/05/12 01:52:21 hemna Exp $

- version: 2.0
- author: Walter A. Boring IV <waboring@newsblob.com>

Classes

Class | Description
--- | ---
pearmysqllist | This is an example that shows how to use a PEAR db object as the source for the data to show.
adodbmysqllist | This is a subclass of the pear mysql list object.

Includes
include_once ("db_defines.inc") (line 29)
include_once ("includes.inc") (line 28)

Include the phphtmllib libraries

include_once ($phphtmllib."/widgets/data_list/includes.inc") (line 31)
include_once ($phphtmllib."/widgets/data_list/ADODBSQLDataListSource.inc") (line 41)
include_once ($phphtmllib."/widgets/data_list/PEARSQLDataListSource.inc") (line 32)
require_once ("adodb.inc.php") (line 39)

Documentation generated on Wed, 11 May 2005 18:20:58 -0700 by phpDocumentor 1.3.0RC3