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
239995d3
Commit
239995d3
authored
Dec 29, 2006
by
lsmith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed switch statement formating according to ZF CS
parent
b4ac430d
Changes
40
Show whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
1300 additions
and
1305 deletions
+1300
-1305
Collection.php
lib/Doctrine/Collection.php
+27
-27
Batch.php
lib/Doctrine/Collection/Batch.php
+7
-7
Configurable.php
lib/Doctrine/Configurable.php
+78
-78
Connection.php
lib/Doctrine/Connection.php
+33
-33
UnitOfWork.php
lib/Doctrine/Connection/UnitOfWork.php
+11
-11
Firebird.php
lib/Doctrine/DataDict/Firebird.php
+36
-36
Informix.php
lib/Doctrine/DataDict/Informix.php
+43
-43
Mssql.php
lib/Doctrine/DataDict/Mssql.php
+85
-85
Mysql.php
lib/Doctrine/DataDict/Mysql.php
+107
-107
Oracle.php
lib/Doctrine/DataDict/Oracle.php
+90
-90
Pgsql.php
lib/Doctrine/DataDict/Pgsql.php
+142
-142
Sqlite.php
lib/Doctrine/DataDict/Sqlite.php
+143
-143
Db.php
lib/Doctrine/Db.php
+27
-27
Firebird.php
lib/Doctrine/Export/Firebird.php
+38
-38
Mssql.php
lib/Doctrine/Export/Mssql.php
+10
-10
Mysql.php
lib/Doctrine/Export/Mysql.php
+1
-1
Oracle.php
lib/Doctrine/Export/Oracle.php
+9
-9
Pgsql.php
lib/Doctrine/Export/Pgsql.php
+1
-1
Sqlite.php
lib/Doctrine/Export/Sqlite.php
+6
-6
Mssql.php
lib/Doctrine/Expression/Mssql.php
+5
-5
Mysql.php
lib/Doctrine/Expression/Mysql.php
+10
-10
Oracle.php
lib/Doctrine/Expression/Oracle.php
+5
-5
Pgsql.php
lib/Doctrine/Expression/Pgsql.php
+11
-11
Sqlite.php
lib/Doctrine/Expression/Sqlite.php
+7
-7
Hydrate.php
lib/Doctrine/Hydrate.php
+17
-17
Lib.php
lib/Doctrine/Lib.php
+24
-24
Manager.php
lib/Doctrine/Manager.php
+27
-27
From.php
lib/Doctrine/Query/From.php
+4
-4
Where.php
lib/Doctrine/Query/Where.php
+36
-36
RawSql.php
lib/Doctrine/RawSql.php
+30
-30
Record.php
lib/Doctrine/Record.php
+94
-96
Association.php
lib/Doctrine/Relation/Association.php
+15
-15
Self.php
lib/Doctrine/Relation/Association/Self.php
+19
-19
Table.php
lib/Doctrine/Table.php
+76
-76
Transaction.php
lib/Doctrine/Transaction.php
+8
-8
Firebird.php
lib/Doctrine/Transaction/Firebird.php
+5
-5
Mssql.php
lib/Doctrine/Transaction/Mssql.php
+1
-2
Mysql.php
lib/Doctrine/Transaction/Mysql.php
+1
-2
Oracle.php
lib/Doctrine/Transaction/Oracle.php
+10
-10
Pgsql.php
lib/Doctrine/Transaction/Pgsql.php
+1
-2
No files found.
lib/Doctrine/Collection.php
View file @
239995d3
lib/Doctrine/Collection/Batch.php
View file @
239995d3
lib/Doctrine/Configurable.php
View file @
239995d3
lib/Doctrine/Connection.php
View file @
239995d3
lib/Doctrine/Connection/UnitOfWork.php
View file @
239995d3
lib/Doctrine/DataDict/Firebird.php
View file @
239995d3
lib/Doctrine/DataDict/Informix.php
View file @
239995d3
lib/Doctrine/DataDict/Mssql.php
View file @
239995d3
lib/Doctrine/DataDict/Mysql.php
View file @
239995d3
lib/Doctrine/DataDict/Oracle.php
View file @
239995d3
lib/Doctrine/DataDict/Pgsql.php
View file @
239995d3
lib/Doctrine/DataDict/Sqlite.php
View file @
239995d3
lib/Doctrine/Db.php
View file @
239995d3
lib/Doctrine/Export/Firebird.php
View file @
239995d3
lib/Doctrine/Export/Mssql.php
View file @
239995d3
lib/Doctrine/Export/Mysql.php
View file @
239995d3
lib/Doctrine/Export/Oracle.php
View file @
239995d3
lib/Doctrine/Export/Pgsql.php
View file @
239995d3
lib/Doctrine/Export/Sqlite.php
View file @
239995d3
lib/Doctrine/Expression/Mssql.php
View file @
239995d3
lib/Doctrine/Expression/Mysql.php
View file @
239995d3
lib/Doctrine/Expression/Oracle.php
View file @
239995d3
lib/Doctrine/Expression/Pgsql.php
View file @
239995d3
lib/Doctrine/Expression/Sqlite.php
View file @
239995d3
lib/Doctrine/Hydrate.php
View file @
239995d3
lib/Doctrine/Lib.php
View file @
239995d3
lib/Doctrine/Manager.php
View file @
239995d3
lib/Doctrine/Query/From.php
View file @
239995d3
lib/Doctrine/Query/Where.php
View file @
239995d3
lib/Doctrine/RawSql.php
View file @
239995d3
lib/Doctrine/Record.php
View file @
239995d3
...
@@ -375,7 +375,6 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
...
@@ -375,7 +375,6 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
switch
(
$type
)
{
switch
(
$type
)
{
case
"array"
:
case
"array"
:
case
"object"
:
case
"object"
:
if
(
$tmp
[
$name
]
!==
self
::
$null
)
{
if
(
$tmp
[
$name
]
!==
self
::
$null
)
{
if
(
is_string
(
$tmp
[
$name
]))
{
if
(
is_string
(
$tmp
[
$name
]))
{
$value
=
unserialize
(
$tmp
[
$name
]);
$value
=
unserialize
(
$tmp
[
$name
]);
...
@@ -389,7 +388,6 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
...
@@ -389,7 +388,6 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
}
}
break
;
break
;
case
"gzip"
:
case
"gzip"
:
if
(
$tmp
[
$name
]
!==
self
::
$null
)
{
if
(
$tmp
[
$name
]
!==
self
::
$null
)
{
$value
=
gzuncompress
(
$tmp
[
$name
]);
$value
=
gzuncompress
(
$tmp
[
$name
]);
...
@@ -475,9 +473,9 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
...
@@ -475,9 +473,9 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
$this
->
_data
=
array_merge
(
$this
->
_data
,
$this
->
_id
);
$this
->
_data
=
array_merge
(
$this
->
_data
,
$this
->
_id
);
foreach
(
$this
->
_data
as
$k
=>
$v
)
{
foreach
(
$this
->
_data
as
$k
=>
$v
)
{
if
(
$v
instanceof
Doctrine_Record
)
if
(
$v
instanceof
Doctrine_Record
)
{
unset
(
$vars
[
'_data'
][
$k
]);
unset
(
$vars
[
'_data'
][
$k
]);
elseif
(
$v
===
self
::
$null
)
{
}
elseif
(
$v
===
self
::
$null
)
{
unset
(
$vars
[
'_data'
][
$k
]);
unset
(
$vars
[
'_data'
][
$k
]);
}
else
{
}
else
{
switch
(
$this
->
_table
->
getTypeOf
(
$k
))
{
switch
(
$this
->
_table
->
getTypeOf
(
$k
))
{
...
...
lib/Doctrine/Relation/Association.php
View file @
239995d3
lib/Doctrine/Relation/Association/Self.php
View file @
239995d3
lib/Doctrine/Table.php
View file @
239995d3
lib/Doctrine/Transaction.php
View file @
239995d3
lib/Doctrine/Transaction/Firebird.php
View file @
239995d3
lib/Doctrine/Transaction/Mssql.php
View file @
239995d3
...
@@ -56,7 +56,6 @@ class Doctrine_Transaction_Mssql extends Doctrine_Transaction
...
@@ -56,7 +56,6 @@ class Doctrine_Transaction_Mssql extends Doctrine_Transaction
case
'REPEATABLE READ'
:
case
'REPEATABLE READ'
:
case
'SERIALIZABLE'
:
case
'SERIALIZABLE'
:
case
'SNAPSHOT'
:
case
'SNAPSHOT'
:
break
;
break
;
default
:
default
:
throw
new
Doctrine_Transaction_Exception
(
'isolation level is not supported: '
.
$isolation
);
throw
new
Doctrine_Transaction_Exception
(
'isolation level is not supported: '
.
$isolation
);
...
...
lib/Doctrine/Transaction/Mysql.php
View file @
239995d3
...
@@ -91,7 +91,6 @@ class Doctrine_Transaction_Mysql extends Doctrine_Transaction
...
@@ -91,7 +91,6 @@ class Doctrine_Transaction_Mysql extends Doctrine_Transaction
case
'READ COMMITTED'
:
case
'READ COMMITTED'
:
case
'REPEATABLE READ'
:
case
'REPEATABLE READ'
:
case
'SERIALIZABLE'
:
case
'SERIALIZABLE'
:
break
;
break
;
default
:
default
:
throw
new
Doctrine_Transaction_Exception
(
'Isolation level '
.
$isolation
.
' is not supported.'
);
throw
new
Doctrine_Transaction_Exception
(
'Isolation level '
.
$isolation
.
' is not supported.'
);
...
...
lib/Doctrine/Transaction/Oracle.php
View file @
239995d3
lib/Doctrine/Transaction/Pgsql.php
View file @
239995d3
...
@@ -91,7 +91,6 @@ class Doctrine_Transaction_Pgsql extends Doctrine_Transaction
...
@@ -91,7 +91,6 @@ class Doctrine_Transaction_Pgsql extends Doctrine_Transaction
case
'READ COMMITTED'
:
case
'READ COMMITTED'
:
case
'REPEATABLE READ'
:
case
'REPEATABLE READ'
:
case
'SERIALIZABLE'
:
case
'SERIALIZABLE'
:
break
;
break
;
default
:
default
:
throw
new
Doctrine_Transaction_Exception
(
'Isolation level '
.
$isolation
.
' is not supported.'
);
throw
new
Doctrine_Transaction_Exception
(
'Isolation level '
.
$isolation
.
' is not supported.'
);
...
...
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