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 (9 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 833 All time: 3,862 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: 31
All time rank: 2369295 in United States United States
Week rank: 1823 Up208 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,862
 This week:0This week:1,467Up