PHP Classes

Data Workings: Access database table records as objects

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-05-05 (9 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 411 All time: 5,934 This week: 1,557Up
Version License Categories  
dataw 1.0The PHP LicenseDatabases
Description Author  

This class can be used to access records of an SQL database table as objects.

It can access a SQL database table and retrieve its list columns so it can determine which fields need to be retrieved and stored to map record information to object variables and vice-versa.

It can insert new table records from values set to the respective object variables.

It can also retrieve or delete table records given the primary key value, assuming that the table only has one primary key field.

A changed object may also be saved back to the respective table record.

The class can also execute queries that retrieve multiple records. The queries may be sorted by given field. The range of records returned by the query may also be limited to a given range.

The class supports multiple databases relying on PEAR DB package.

Picture of Kevin Cadman
Name: Kevin Cadman <contact>
Classes: 2 packages by
Country: South Africa South Africa
Age: 32
All time rank: 3374 in South Africa South Africa
Week rank: 934 Down4 in South Africa South Africa Equal

  Files folder image Files  
File Role Description
Plain text file Class DataObject Class
Accessible without login Plain text file examples.php Example Example Usage
Accessible without login Plain text file Conf. System Configuration and Database Connection
Accessible without login Plain text file README Doc. Information

 Version Control Unique User Downloads Download Rankings  
 0%Total:411All time:5,934
 This week:0This week:1,557Up