PDO ActiveRecord

Package:
PDO ActiveRecord
Summary:
Store and retrieve objects from databases with PDO
Groups:
Databases, Design Patterns, PHP 5
Author:
ter
Description:
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.


Powered by Gewgley