1
0
mirror of synced 2024-12-14 07:06:04 +03:00

[#404] restored addFrom for the DQL - went missing in Query.php refactorings

This commit is contained in:
RossC0 2007-07-20 10:11:13 +00:00
parent b44f13e732
commit bba435d7a1

View File

@ -43,6 +43,17 @@ abstract class Doctrine_Query_Abstract extends Doctrine_Hydrate
{
return $this->parseQueryPart('select', $select, true);
}
/**
* addFrom
* adds fields to the FROM part of the query
*
* @param string $from Query FROM part
* @return Doctrine_Query
*/
public function addFrom($from)
{
return $this->parseQueryPart('from', $from, true);
}
/**
* addWhere
* adds conditions to the WHERE part of the query