‪TYPO3CMS  10.4
Comparison.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
19 
65 {
69  protected ‪$operand1;
70 
74  protected ‪$operator;
75 
79  protected ‪$operand2;
80 
89  {
90  $this->operand1 = ‪$operand1;
91  $this->operator = ‪$operator;
92  $this->operand2 = ‪$operand2;
93  }
94 
100  public function ‪getOperand1()
101  {
102  return ‪$this->operand1;
103  }
104 
110  public function ‪getOperator()
111  {
113 
114  if ($this->‪getOperand2() === null) {
119  }
120  }
121 
122  return ‪$operator;
123  }
124 
130  public function ‪getOperand2()
131  {
132  return ‪$this->operand2;
133  }
134 
140  public function ‪collectBoundVariableNames(&$boundVariables)
141  {
142  }
143 }
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\collectBoundVariableNames
‪collectBoundVariableNames(&$boundVariables)
Definition: Comparison.php:137
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_NOT_EQUAL_TO_NULL
‪const OPERATOR_NOT_EQUAL_TO_NULL
Definition: QueryInterface.php:48
‪TYPO3\CMS\Extbase\Persistence\QueryInterface
Definition: QueryInterface.php:29
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\getOperand1
‪PropertyValueInterface getOperand1()
Definition: Comparison.php:97
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\getOperand2
‪mixed getOperand2()
Definition: Comparison.php:127
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\getOperator
‪string getOperator()
Definition: Comparison.php:107
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValueInterface
Definition: PropertyValueInterface.php:30
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\ComparisonInterface
Definition: ComparisonInterface.php:62
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom
Definition: AndInterface.php:16
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_EQUAL_TO
‪const OPERATOR_EQUAL_TO
Definition: QueryInterface.php:33
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\__construct
‪__construct(PropertyValueInterface $operand1, $operator, $operand2)
Definition: Comparison.php:85
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\$operator
‪int $operator
Definition: Comparison.php:72
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_NOT_EQUAL_TO
‪const OPERATOR_NOT_EQUAL_TO
Definition: QueryInterface.php:43
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\$operand2
‪mixed $operand2
Definition: Comparison.php:76
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison
Definition: Comparison.php:65
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_EQUAL_TO_NULL
‪const OPERATOR_EQUAL_TO_NULL
Definition: QueryInterface.php:38
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\$operand1
‪PropertyValueInterface $operand1
Definition: Comparison.php:68