TYPO3 CMS  TYPO3_7-6
Comparison.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
18 
63 {
67  protected $operand1;
68 
72  protected $operator;
73 
77  protected $operand2;
78 
83 
92  {
93  $this->operand1 = $operand1;
94  $this->operator = $operator;
95  $this->operand2 = $operand2;
96  }
97 
103  public function getOperand1()
104  {
105  return $this->operand1;
106  }
107 
113  public function getOperator()
114  {
116 
117  if ($this->getOperand2() === null) {
122  }
123  }
124 
125  return $operator;
126  }
127 
133  public function getOperand2()
134  {
135  return $this->operand2;
136  }
137 
143  {
144  $this->parameterIdentifier = $parameterIdentifier;
145  }
146 
150  public function getParameterIdentifier()
151  {
153  }
154 
161  public function collectBoundVariableNames(&$boundVariables)
162  {
163  }
164 }
__construct(PropertyValueInterface $operand1, $operator, $operand2)
Definition: Comparison.php:91