PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 837 All time: 4,149 This week: 488Up
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

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:837
This week:0
All time:4,149
This week:488Up