File: |
PhpDtObject_native_mysql.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
- 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. |
Class: |
PhpDtObject
Database table access classes for php |
Author: |
By Marko Tapio Manninen |
Last change: |
|
Date: |
19 years ago |
Size: |
20,462 bytes |
|
|
|