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
6480503b
Commit
6480503b
authored
Nov 29, 2006
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
78b849e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
15 deletions
+12
-15
Lib.php
lib/Doctrine/Lib.php
+12
-15
No files found.
lib/Doctrine/Lib.php
View file @
6480503b
...
...
@@ -19,16 +19,16 @@
* <http://www.phpdoctrine.com>.
*/
/**
* @package Doctrine
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
*
* Doctrine_Lib has not commonly used static functions, mostly for debugging purposes
* @category Object Relational Mapping
* @link www.phpdoctrine.com
* @since 1.0
* @version $Revision$
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
*/
*
* @package Doctrine
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @category Object Relational Mapping
* @link www.phpdoctrine.com
* @since 1.0
* @version $Revision$
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
*/
class
Doctrine_Lib
{
/**
* @param integer $state the state of record
...
...
@@ -76,16 +76,13 @@ class Doctrine_Lib {
*/
public
static
function
getConnectionStateAsString
(
$state
)
{
switch
(
$state
)
:
case
Doctrine_
Connection_Transaction
::
STATE_OPEN
:
case
Doctrine_
Transaction
::
STATE_SLEEP
:
return
"open"
;
break
;
case
Doctrine_Connection_Transaction
::
STATE_CLOSED
:
return
"closed"
;
break
;
case
Doctrine_Connection_Transaction
::
STATE_BUSY
:
case
Doctrine_Transaction
::
STATE_BUSY
:
return
"busy"
;
break
;
case
Doctrine_
Connection_
Transaction
::
STATE_ACTIVE
:
case
Doctrine_Transaction
::
STATE_ACTIVE
:
return
"active"
;
break
;
endswitch
;
...
...
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