PHP Classes / Abstract SQL Table to Object

Map table rows to objects with Active Record

Abstract SQL Table to Object PHP Class

This package uses the Active Record design pattern to map database table records to objects. It provides a base class from which all classes that map database tables should inherit. The sub-class should define the table it is wrapping, the primary key field and variables to store the table field values. The base class can query the database to retrieve the list of fields of the specified table. It can also perform all the basic operations of INSERT, SELECT, UPDATE and DELETE the mapped table rows. This package uses ADODb database abstraction package so it can support multiple databases.

Similar PHP Classes

Search in PHP Classes

Filter by tags