-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial commit of ext/mysql adapter for Zend_Db
- Loading branch information
0 parents
commit 6657a98
Showing
17 changed files
with
1,569 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
This project is an implementation of a Zend_Db_Adapter_Abstract | ||
for the ext/mysql. It passes all unittests of the Zend_Db testsuite | ||
for an adapter and should therefore be very robust. | ||
|
||
The purpose for implementing an adapter for the deprecated ext/mysql | ||
is the legacy application reason. A considerable share of people probably has | ||
legacy applications that use mysql_* functions. You can inject this Zend | ||
adapter into these applications wihtout having to use multiple db connections. | ||
|
||
Usage: | ||
|
||
$db = new Whitewashing_Db_Adapter_Mysql($options); | ||
|
||
To set or get the mysql Resource: | ||
|
||
$mysql_conn = $db->getConnection(); | ||
$db->setConnectionResource($mysql_conn); |
Oops, something went wrong.