PHP Classes
Icontem

Class: PhpDtObject


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Marko Tapio Manninen  >  PhpDtObject  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PhpDtObject Support forum
Base name: phpdtobject
Description: Database table access classes for php
Related top rated classes:
Version: -
Required PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 803 users
All time rank: 2853
Week users: 2 users
Week rank: 2811
 
  Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Marko Tapio Manninen
Name: Marko Tapio Manninen <e-mail contact>
Published packages: 3 Browse this author's classes Browse this author's classes
Country: Finland Finland - PHP jobs in Finland
Home page: http://www.multimediastudio.fi/
Age: 34
All time rank: 283
Week rank: 447

Groups

Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes

Detailed description

These classes simplify the process of retrieving, editing, inserting and delete rows from the database table.

PhpDtObject creates an object from a table row or an array of objects if multiple rows are retrieved from the table.

Objects can also be created with init method, that passes primary key value (usually id) to getOne and getMany methods that can take complex searching criteria.

Rows can be updated, deleted and new rows created with a simple method calls.

By extending this class you have basic access to the database tables and you can concentrate to your own class functionality.

These classes are quite similar to DAO (Data Access Objects) but may be used for other purposes.

PhpDtObject requires ADOdb database abstraction layer.

Freshmeat project

Project record: phpdtobject
Popularity score: 12.96
Vitality score: 1.04

User ratings

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

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.

Related links

Link Description
OWAB - PhpDtObject Homepage for php classes
PhpDtObject Homepage for the class

Files

File Role Description
Plain text file DBConn.php Class Database connection class
HTML file index.html Doc. ReadMe html file
Plain text file PhpDtObject.php Class Main class
Plain text file PhpDtObject_DB.php Class Main class, database logic layer
Plain text file PhpDtObject_native_mysql.php Class - Enhanced PhpDtObject class with a new and performance tuned database table access methods. Database query layer that implements native mysql functions of php is on a same file so this class does not require ADOdb to work. Just include the file and get table contents even without generating separate classes for single tables and without making separate xml / sql configuration files. So "one class works for multiple tables." Extend class for more heavy and complex use. - Basic public methods are: init, getValue, setValue, getOne, getMany,getIndex, save and delete. - Added public methods compairing to former published PhpDtObject class are: initByKey, gv, gvm, sv, getNumRows, getAffectedNumRows, getMixed, getMidexIndex, getLastSelectNumRows, singleUpdate, setMask, clearMask, getErrors and assignArray. - Multiple keys are handled now by calling initByKey method instead of normal init that is used when only one primary key field is found from the database table.
Plain text file ReadMe.txt Doc. ReadMe file
Plain text file test.php Example Test & example script
Download all files: phpdtobject.tar.gz phpdtobject.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products