PHP Classes

PDO ActiveRecord: Store and retrieve objects from databases with PDO

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
StarStarStar 56%Total: 994 All time: 3,666 This week: 206Up
Version License PHP version Categories
pdo-active-record 1.0.0BSD License5.0PHP 5, Databases, Design Patterns
Description 

Author

This class can be used to store and retrieve objects from databases with PDO.

It implements the Active Record design pattern to create, retrieve, update and delete objects that are mapped to given database tables.

The class implements lazy loading so when a class variable is accessed before the respective database record was retrieved, it executes a query to get the class variable values from the database.

Picture of ter
Name: ter <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation

  Files folder image Files (2)  
File Role Description
Plain text file ActiveRecord.php Class Class source code
Accessible without login Plain text file example.php Example Example, showed how to use class

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:994
This week:0
All time:3,666
This week:206Up
User Ratings User Comments (1)
 All time
Utility:81%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1752
 
Thank you very much!
15 years ago (Pali)
70%StarStarStarStar