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
fda1f370
Commit
fda1f370
authored
Jul 21, 2006
by
doctrine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
24528cb8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
RawSql.php
Doctrine/RawSql.php
+6
-2
No files found.
Doctrine/RawSql.php
View file @
fda1f370
...
...
@@ -31,7 +31,7 @@ class Doctrine_RawSql extends Doctrine_Hydrate {
* parseQuery
*
* @param string $query
* @return
void
* @return
Doctrine_RawSql
*/
public
function
parseQuery
(
$query
)
{
preg_match_all
(
'/{([^}{]*)}/U'
,
$query
,
$m
);
...
...
@@ -71,6 +71,8 @@ class Doctrine_RawSql extends Doctrine_Hydrate {
$this
->
parts
=
$parts
;
$this
->
parts
[
"select"
]
=
array
();
return
$this
;
}
/**
* getQuery
...
...
@@ -144,7 +146,7 @@ class Doctrine_RawSql extends Doctrine_Hydrate {
*
* @param string $tableAlias
* @param string $componentName
* @return
void
* @return
Doctrine_RawSql
*/
public
function
addComponent
(
$tableAlias
,
$componentName
)
{
$e
=
explode
(
"."
,
$componentName
);
...
...
@@ -172,6 +174,8 @@ class Doctrine_RawSql extends Doctrine_Hydrate {
$prevAlias
=
$alias
;
$prevPath
=
$currPath
;
}
return
$this
;
}
}
...
...
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