1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/draft/Doctrine/Query/Production/ConditionalTerm.php
2007-12-10 20:02:41 +00:00

17 lines
448 B
PHP

<?php
/**
* ConditionalTerm = ConditionalFactor {"AND" ConditionalFactor}
*/
class Doctrine_Query_Production_ConditionalTerm extends Doctrine_Query_Production
{
public function execute(array $params = array())
{
$this->ConditionalFactor();
while ($this->_isNextToken(Doctrine_Query_Token::T_AND)) {
$this->_parser->match(Doctrine_Query_Token::T_AND);
$this->ConditionalFactor();
}
}
}