1
0
mirror of synced 2025-01-18 06:21:40 +03:00

fixing case in files

This commit is contained in:
pookey 2006-11-11 19:35:33 +00:00
parent d33e69deb3
commit 7d7c47070a
4 changed files with 5 additions and 5 deletions

View File

@ -9,10 +9,10 @@ $manager = Doctrine_Manager::getInstance();
$dbh = new PDO("dsn","username","password");
$conn = $manager->openConnection();
// or if you want to use Doctrine Doctrine_DB and its
// or if you want to use Doctrine Doctrine_Db and its
// performance monitoring capabilities
$dsn = "schema://username:password@dsn/dbname";
$dbh = Doctrine_DB::getConnection($dsn);
$dbh = Doctrine_Db::getConnection($dsn);
$conn = $manager->openConnection();
?>

View File

@ -1,5 +1,5 @@
<?php
$sess = $manager->openConnection(Doctrine_DB::getConnection("schema://username:password@hostname/database"));
$sess = $manager->openConnection(Doctrine_Db::getConnection("schema://username:password@hostname/database"));
// get connection state:
switch($sess):

View File

@ -3,7 +3,7 @@
(unless the interface is approved not to contain it such as Doctrine_Overloadable). Some examples:
<br \><br \>
Doctrine_DB_EventListener_Interface <br \>
Doctrine_Db_EventListener_Interface <br \>
<br \>
Doctrine_EventListener_Interface <br \>
</ul>

View File

@ -70,7 +70,7 @@ class Doctrine_UnitTestCase extends UnitTestCase {
$this->manager->setAttribute(Doctrine::ATTR_LISTENER, $this->listener);
} else {
//$this->dbh = Doctrine_DB::getConnection();
//$this->dbh = Doctrine_Db::getConnection();
$this->dbh = Doctrine_Db2::getConnection("sqlite::memory:");
//$this->dbh = new PDO("sqlite::memory:");