Commit 7d7c4707 authored by pookey's avatar pookey

fixing case in files

parent d33e69de
......@@ -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();
?>
<?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):
......
......@@ -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>
......@@ -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:");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment