2009-01-19 21:40:12 +03:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* To change this template, choose Tools | Templates
|
|
|
|
* and open the template in the editor.
|
|
|
|
*/
|
|
|
|
|
2009-01-22 22:38:10 +03:00
|
|
|
namespace Doctrine\ORM\Query\AST;
|
|
|
|
|
2009-01-19 21:40:12 +03:00
|
|
|
/**
|
|
|
|
* ConditionalExpression ::= ConditionalTerm {"OR" ConditionalTerm}*
|
|
|
|
*
|
|
|
|
* @author robo
|
|
|
|
*/
|
2009-01-22 22:38:10 +03:00
|
|
|
class ConditionalExpression extends Node
|
2009-01-19 21:40:12 +03:00
|
|
|
{
|
|
|
|
private $_conditionalTerms = array();
|
|
|
|
|
|
|
|
public function __construct(array $conditionalTerms)
|
|
|
|
{
|
|
|
|
$this->_conditionalTerms = $conditionalTerms;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getConditionalTerms()
|
|
|
|
{
|
2009-01-20 20:07:07 +03:00
|
|
|
return $this->_conditionalTerms;
|
2009-01-19 21:40:12 +03:00
|
|
|
}
|
2009-02-20 08:46:20 +03:00
|
|
|
}
|