Program_Root/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.21 2003/08/01 01:37:48 hemna Exp $

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)

Documention generated on Thu, 31 Jul 2003 18:33:53 -0700 by phpDocumentor 1.2.0