Commit fa2da84b authored by zYne's avatar zYne

--no commit message

--no commit message
parent 86fa70d6
...@@ -151,6 +151,10 @@ class Doctrine_Hydrate2 ...@@ -151,6 +151,10 @@ class Doctrine_Hydrate2
{ {
$this->tableAliases = $aliases; $this->tableAliases = $aliases;
} }
public function getTableAlias($componentAlias)
{
return $this->aliasHandler->getShortAlias($componentAlias);
}
/** /**
* copyAliases * copyAliases
* *
...@@ -195,7 +199,7 @@ class Doctrine_Hydrate2 ...@@ -195,7 +199,7 @@ class Doctrine_Hydrate2
if ( ! isset($this->parts[$part])) { if ( ! isset($this->parts[$part])) {
throw new Doctrine_Hydrate_Exception('Unknown query part ' . $part); throw new Doctrine_Hydrate_Exception('Unknown query part ' . $part);
} }
return $this->parts[$part]; return $this->parts[$part];
} }
/** /**
......
This diff is collapsed.
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