Commit fda1f370 authored by doctrine's avatar doctrine

--no commit message

--no commit message
parent 24528cb8
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment