Categories


AbstractDB

Raiting 0.00

Description

If you believe that database abstraction is a good think, but you don't want to join the religous fights about the best one out there, then we have a common interest. This abstract wrapper class provides easy and simple class methods to access the most important db function. Classes implementing the functionality for native PHP functions, PEAR, PHPLIB and METABASE enables you to switch between these db abstraction layers by changing only a single line of code. Now you are able to use a unifed abstraction layer for database access and switch between the underlaying layers. CONSTRUCTOR: function AbstractDB($libraryPath, $dbType, $resultType) FUNCTIONS: function connect($host, $db, $user, $password) function disconnect() function query($query, $resultType) function nextResult() function allResults() function numRows() function affectedRows() function getIdentifier() function getDbType() PUBLIC VARS: var $host var $database var $user var $password var $lastQuery var $resType var $error var $db var $result

Information
Title: AbstractDB
Author: lennart
Price / Cost: LGPL
Version: 0.52
File Size: 15k
Last Updated: 2002-12-07
URL: Click to Visit
Web site Language: English
Total Votes: 2
Current Rating: 0.00
Total Hits #: 837
Listings ID #: 5552