1
0
mirror of synced 2025-01-10 02:57:10 +03:00
doctrine2/draft/Doctrine/Query/Production/ConditionalExpression.php
2007-12-10 20:02:41 +00:00

17 lines
449 B
PHP

<?php
/**
* ConditionalExpression = ConditionalTerm {"OR" ConditionalTerm}
*/
class Doctrine_Query_Production_ConditionalExpression extends Doctrine_Query_Production
{
public function execute(array $params = array())
{
$this->ConditionalTerm();
while ($this->_isNextToken(Doctrine_Query_Token::T_OR)) {
$this->_parser->match(Doctrine_Query_Token::T_OR);
$this->ConditionalTerm();
}
}
}