‪TYPO3CMS  9.5
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 
64 {
68  protected ‪$operand1;
69 
73  protected ‪$operator;
74 
78  protected ‪$operand2;
79 
88  {
89  $this->operand1 = ‪$operand1;
90  $this->operator = ‪$operator;
91  $this->operand2 = ‪$operand2;
92  }
93 
99  public function ‪getOperand1()
100  {
101  return ‪$this->operand1;
102  }
103 
109  public function ‪getOperator()
110  {
112 
113  if ($this->‪getOperand2() === null) {
118  }
119  }
120 
121  return ‪$operator;
122  }
123 
129  public function ‪getOperand2()
130  {
131  return ‪$this->operand2;
132  }
133 
139  public function ‪collectBoundVariableNames(&$boundVariables)
140  {
141  }
142 }
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\collectBoundVariableNames
‪collectBoundVariableNames(&$boundVariables)
Definition: Comparison.php:136
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_NOT_EQUAL_TO_NULL
‪const OPERATOR_NOT_EQUAL_TO_NULL
Definition: QueryInterface.php:45
‪TYPO3\CMS\Extbase\Persistence\QueryInterface
Definition: QueryInterface.php:26
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\getOperand1
‪PropertyValueInterface getOperand1()
Definition: Comparison.php:96
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\getOperand2
‪mixed getOperand2()
Definition: Comparison.php:126
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\getOperator
‪string getOperator()
Definition: Comparison.php:106
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\PropertyValueInterface
Definition: PropertyValueInterface.php:29
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\ComparisonInterface
Definition: ComparisonInterface.php:61
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom
Definition: AndInterface.php:2
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_EQUAL_TO
‪const OPERATOR_EQUAL_TO
Definition: QueryInterface.php:30
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\__construct
‪__construct(PropertyValueInterface $operand1, $operator, $operand2)
Definition: Comparison.php:84
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\$operator
‪int $operator
Definition: Comparison.php:71
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_NOT_EQUAL_TO
‪const OPERATOR_NOT_EQUAL_TO
Definition: QueryInterface.php:40
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\$operand2
‪mixed $operand2
Definition: Comparison.php:75
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison
Definition: Comparison.php:64
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_EQUAL_TO_NULL
‪const OPERATOR_EQUAL_TO_NULL
Definition: QueryInterface.php:35
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\Comparison\$operand1
‪PropertyValueInterface $operand1
Definition: Comparison.php:67