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
d2360791
Commit
d2360791
authored
May 28, 2009
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] Formatting issues.
parent
6e760bac
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
588 additions
and
588 deletions
+588
-588
Type.php
lib/Doctrine/DBAL/Types/Type.php
+10
-10
JoinedSubclassPersister.php
lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php
+224
-224
StandardEntityPersister.php
lib/Doctrine/ORM/Persisters/StandardEntityPersister.php
+343
-343
StateFieldPathExpression.php
lib/Doctrine/ORM/Query/AST/StateFieldPathExpression.php
+6
-6
Parser.php
lib/Doctrine/ORM/Query/Parser.php
+5
-5
No files found.
lib/Doctrine/DBAL/Types/Type.php
View file @
d2360791
...
...
@@ -15,15 +15,15 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
*/
abstract
class
Type
{
/* The following constants represent type codes and mirror the PDO::PARAM_X constants
* to decouple ourself from PDO.
*/
const
CODE_BOOL
=
5
;
const
CODE_NULL
=
0
;
const
CODE_INT
=
1
;
const
CODE_STR
=
2
;
const
CODE_LOB
=
3
;
/* The following constants represent type codes and mirror the PDO::PARAM_X constants
* to decouple ourself from PDO.
*/
const
CODE_BOOL
=
5
;
const
CODE_NULL
=
0
;
const
CODE_INT
=
1
;
const
CODE_STR
=
2
;
const
CODE_LOB
=
3
;
private
static
$_typeObjects
=
array
();
private
static
$_typesMap
=
array
(
'integer'
=>
'Doctrine\DBAL\Types\IntegerType'
,
...
...
@@ -61,7 +61,7 @@ abstract class Type
public
function
getTypeCode
()
{
return
self
::
CODE_STR
;
return
self
::
CODE_STR
;
}
/**
...
...
lib/Doctrine/ORM/Persisters/JoinedSubclassPersister.php
View file @
d2360791
This diff is collapsed.
Click to expand it.
lib/Doctrine/ORM/Persisters/StandardEntityPersister.php
View file @
d2360791
This diff is collapsed.
Click to expand it.
lib/Doctrine/ORM/Query/AST/StateFieldPathExpression.php
View file @
d2360791
...
...
@@ -28,12 +28,12 @@ namespace Doctrine\ORM\Query\AST;
*/
class
StateFieldPathExpression
extends
Node
{
//const TYPE_COLLECTION_VALUED_ASSOCIATION = 1;
//const TYPE_SINGLE_VALUED_ASSOCIATION = 2;
//const TYPE_STATE_FIELD = 3;
//private $_type;
//const TYPE_COLLECTION_VALUED_ASSOCIATION = 1;
//const TYPE_SINGLE_VALUED_ASSOCIATION = 2;
//const TYPE_STATE_FIELD = 3;
//private $_type;
private
$_parts
;
// Information that is attached during semantical analysis.
private
$_isSimpleStateFieldPathExpression
=
false
;
...
...
lib/Doctrine/ORM/Query/Parser.php
View file @
d2360791
...
...
@@ -884,7 +884,7 @@ class Parser
while
(
$this
->
_lexer
->
isNextToken
(
'.'
))
{
if
(
$stateFieldSeen
)
{
$this
->
syntaxError
();
$this
->
syntaxError
();
}
$this
->
match
(
'.'
);
$part
=
$this
->
_IdentificationVariable
();
...
...
@@ -1098,7 +1098,7 @@ class Parser
{
$condPrimary
=
new
AST\ConditionalPrimary
;
if
(
$this
->
_lexer
->
isNextToken
(
'('
))
{
// Peek beyond the matching closing paranthesis ')'
// Peek beyond the matching closing paranthesis ')'
$numUnmatched
=
1
;
$peek
=
$this
->
_lexer
->
peek
();
while
(
$numUnmatched
>
0
)
{
...
...
@@ -1276,8 +1276,8 @@ class Parser
*/
private
function
_isNextAllAnySome
()
{
return
$this
->
_lexer
->
lookahead
[
'type'
]
===
Lexer
::
T_ALL
||
$this
->
_lexer
->
lookahead
[
'type'
]
===
Lexer
::
T_ANY
||
return
$this
->
_lexer
->
lookahead
[
'type'
]
===
Lexer
::
T_ALL
||
$this
->
_lexer
->
lookahead
[
'type'
]
===
Lexer
::
T_ANY
||
$this
->
_lexer
->
lookahead
[
'type'
]
===
Lexer
::
T_SOME
;
}
...
...
@@ -1499,7 +1499,7 @@ class Parser
}
/**
*
Subselect ::= SimpleSelectClause SubselectFromClause [WhereClause] [GroupByClause] [HavingClause] [OrderByClause]
* Subselect ::= SimpleSelectClause SubselectFromClause [WhereClause] [GroupByClause] [HavingClause] [OrderByClause]
*/
public
function
_Subselect
()
{
...
...
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