2007-12-10 23:02:41 +03:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* IdentificationVariableDeclaration = RangeVariableDeclaration {Join}
|
|
|
|
*/
|
|
|
|
class Doctrine_Query_Production_IdentificationVariableDeclaration extends Doctrine_Query_Production
|
|
|
|
{
|
|
|
|
public function execute(array $params = array())
|
|
|
|
{
|
2008-01-18 01:01:40 +03:00
|
|
|
$rangeVarDecl = $this->RangeVariableDeclaration();
|
2007-12-10 23:02:41 +03:00
|
|
|
|
|
|
|
while ($this->_isNextToken(Doctrine_Query_Token::T_LEFT) ||
|
2008-01-18 01:01:40 +03:00
|
|
|
$this->_isNextToken(Doctrine_Query_Token::T_INNER) ||
|
|
|
|
$this->_isNextToken(Doctrine_Query_Token::T_JOIN)) {
|
|
|
|
|
2007-12-10 23:02:41 +03:00
|
|
|
$this->Join();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|