Login   Register  
PHP Classes
elePHPant
Icontem

Model

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of João Mário Nedeff
Name: João Mário Nedeff <e-mail contact>
Packages: 5 Browse all classes by João Mário Nedeff Browse all classes by
Country: Brazil Brazil - PHP jobs in Brazil
Age: 32
All time rank: 132490 in Brazil Brazil
Week rank: 871 Up61 in Brazil Brazil Up


  Detailed description   Download .zip .tar.gz  
This class can map objects to database table records using Active Record design pattern.

It provides a base class that should be extended by implementation classes to store and retrieve objects in database table records.

The base class can execute insert queries into a table with the same name of the implementation class to insert records with values of the variables of the object set by the application.

It can also execute select queries retrieve a given database table records, storing the record values in class variables.

The variables of a retrieved object and can be changed and the class can update the respective table record when the object is saved.

  Classes of João Mário Nedeff  >  Model  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Model
Base name: model
Description: Map objects to table records using Active Record
Version: 1.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 513 users
All time rank: 4880
Week users: 0 users
Week rank: 2011 Equal
 
  Groups   Rate classes User ratings   Dependencies   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Design Patterns Implementations of well known design patterns View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  Packages needed by this class  
Class Dependency Why it is needed
Configs
Required
To deliver the connection data.
DConnect
Required
To get the PDO object.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file insert.php Example Example of an INSERT operation
Plain text file Model.php Class Model class file
Accessible without login Plain text file update.php Example Example of an UPDATE operation

Download all files: model.tar.gz model.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.