Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
7d7c4707
Commit
7d7c4707
authored
Nov 11, 2006
by
pookey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing case in files
parent
d33e69de
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
Basic Components - Manager - Opening a new connection.php
...Basic Components - Manager - Opening a new connection.php
+2
-2
Runtime classes - Doctrine_Session.php
manual/codes/Runtime classes - Doctrine_Session.php
+1
-1
Coding standards - Naming Conventions - Interfaces.php
...cs/Coding standards - Naming Conventions - Interfaces.php
+1
-1
UnitTestCase.php
tests/UnitTestCase.php
+1
-1
No files found.
manual/codes/Basic Components - Manager - Opening a new connection.php
View file @
7d7c4707
...
...
@@ -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_D
B
and its
// or if you want to use Doctrine Doctrine_D
b
and its
// performance monitoring capabilities
$dsn
=
"schema://username:password@dsn/dbname"
;
$dbh
=
Doctrine_D
B
::
getConnection
(
$dsn
);
$dbh
=
Doctrine_D
b
::
getConnection
(
$dsn
);
$conn
=
$manager
->
openConnection
();
?>
manual/codes/Runtime classes - Doctrine_Session.php
View file @
7d7c4707
<?php
$sess
=
$manager
->
openConnection
(
Doctrine_D
B
::
getConnection
(
"schema://username:password@hostname/database"
));
$sess
=
$manager
->
openConnection
(
Doctrine_D
b
::
getConnection
(
"schema://username:password@hostname/database"
));
// get connection state:
switch
(
$sess
)
:
...
...
manual/docs/Coding standards - Naming Conventions - Interfaces.php
View file @
7d7c4707
...
...
@@ -3,7 +3,7 @@
(unless the interface is approved not to contain it such as Doctrine_Overloadable). Some examples:
<br
\
><br
\
>
Doctrine_D
B
_EventListener_Interface
<br
\
>
Doctrine_D
b
_EventListener_Interface
<br
\
>
<br
\
>
Doctrine_EventListener_Interface
<br
\
>
</ul>
tests/UnitTestCase.php
View file @
7d7c4707
...
...
@@ -70,7 +70,7 @@ class Doctrine_UnitTestCase extends UnitTestCase {
$this
->
manager
->
setAttribute
(
Doctrine
::
ATTR_LISTENER
,
$this
->
listener
);
}
else
{
//$this->dbh = Doctrine_D
B
::getConnection();
//$this->dbh = Doctrine_D
b
::getConnection();
$this
->
dbh
=
Doctrine_Db2
::
getConnection
(
"sqlite::memory:"
);
//$this->dbh = new PDO("sqlite::memory:");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment