This is an example that shows how to use a PEAR db object as the source for the data to show.
Located in /examples/widget6.php (line 52)
DefaultGUIDataList | --pearmysqllist
Class | Description |
---|---|
adodbmysqllist | This is a subclass of the pear mysql list object. |
This is the basic function for letting us do a mapping between the column name in the header, to the value found in the DataListSource.
NOTE: this function is can be overridden so that you can return whatever you want for any given column.
This function is called automatically by the DataList constructor. It must be extended by the child class to actually set the DataListSource object.
This method is used to setup the options for the DataList object's display.
Which columns to show, their respective source column name, width, etc. etc.
The constructor automatically calls this function.
Documentation generated on Thu, 1 Sep 2005 17:06:35 -0700 by phpDocumentor 1.3.0RC3