Login   Register  
PHP Classes
elePHPant
Icontem

MySQL Model: Wrap the access to MySQL table rows using objects

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-12-06 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 833 This week: 1All time: 3,813 This week: 1,467Up
Version License Categories  
mysql_model 1.0BSD LicenseDatabases
Description Author  

This class can be used as a wrapper to provide an object oriented access to MySQL database table rows.

It retrieves table metadata to determine the names and other properties of table columns to map them to object properties.

It provides mechanisms for finding, creating, modifying and removing table records.

Additionally, it allows for lazy joins of rows of tables that establish one-to-one or one-to-many relationships. The related objects are also mapped to objects of the class.

Picture of Jason Johnson
Name: Jason Johnson <contact>
Classes: 1 package by
Country: United States United States
Age: 30
All time rank: 2330291 in United States United States
Week rank: 1113 Up109 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file mysql_model.class.php Class MySQL_Model Class
Accessible without login Plain text file example.php Example Example Usage
Accessible without login Plain text file summary.php Example Summary

 Version Control Unique User Downloads Download Rankings  
 0%Total:833All time:3,813
 This week:1This week:1,467Up