fixing case in files
This commit is contained in:
parent
d33e69deb3
commit
7d7c47070a
@ -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();
|
||||
?>
|
||||
|
@ -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):
|
||||
|
@ -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:");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user