Login   Register  
PHP Classes
elePHPant
Icontem

File: docs/README.Naf_Record.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Victor Bolshov  >  Naf Database Tools  >  docs/README.Naf_Record.txt  >  Download  
File: docs/README.Naf_Record.txt
Role: Documentation
Content type: text/plain
Description: README
Class: Naf Database Tools
Store and retrieve objects in databases using PDO
Author: By
Last change:
Date: 6 years ago
Size: 624 bytes
 

Contents

Class file image Download
=== About Naf_Record ===
Naf_Record is an implementation of ActiveRecord pattern in Naf library. It was designed to be extremely simple yet powerful.

=== Relationship to Naf ===
Naf_Record is a part of Naf library. More about Naf - http://developer.berlios.de/projects/naf/

=== Basic features ===
- load table row by #ID
- validate row data with Naf_Validator
- save table row (insert if #ID is empty, update otherwise)
- delete row by its #ID
- access to underlying Data-Table-Gateway: either through table() method, or through methods overload - __call (call Naf_Table methods directly on Naf_Record instance)