PHP Classes
elePHPant
Icontem

PHP MySQL ActiveRecord class: Map objects to MySQL records using ActiveRecord

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-11-24 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 500 All time: 5,350 This week: 1,462Up
Version License PHP version Categories  
pgtable 1.0GNU General Publi...5.3.0PHP 5, Databases, Design Patterns
Description Author  

This class can map objects to MySQL records using ActiveRecord design pattern.

It can create records in a given MySQL table using values of object variables with the same name of the table fields.

The class can also perform other operations of mapping the table records to objects like retrieving one record with a given id or some other table field, retrieve all table records, retrieve records using a given SQL query, update records with the values of the changed object variables.

Picture of P Guardiario
Name: P Guardiario <contact>
Classes: 6 packages by
Country: Philippines Philippines
Age: ???
All time rank: 173118 in Philippines Philippines
Week rank: 469 Up9 in Philippines Philippines Up

  Files folder image Files  
File Role Description
Plain text file pgtable.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%Total:500All time:5,350
 This week:0This week:1,462Up
 User Comments (1)  
 
msql extension is deprecated as of PHP 5.
1 year ago (Evgeniy Tkachenko)
15%Star