‪TYPO3CMS  11.5
QueryInterface.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 
24 
29 {
33  public const ‪OPERATOR_EQUAL_TO = 1;
34 
38  public const ‪OPERATOR_EQUAL_TO_NULL = 101;
39 
43  public const ‪OPERATOR_NOT_EQUAL_TO = 2;
44 
48  public const ‪OPERATOR_NOT_EQUAL_TO_NULL = 202;
49 
53  public const ‪OPERATOR_LESS_THAN = 3;
54 
59 
63  public const ‪OPERATOR_GREATER_THAN = 5;
64 
69 
73  public const ‪OPERATOR_LIKE = 7;
74 
78  public const ‪OPERATOR_CONTAINS = 8;
79 
83  public const ‪OPERATOR_IN = 9;
84 
88  public const ‪OPERATOR_IS_NULL = 10;
89 
93  public const ‪OPERATOR_IS_EMPTY = 11;
94 
98  public const ‪ORDER_ASCENDING = 'ASC';
99  public const ‪ORDER_DESCENDING = 'DESC';
100 
106  public function ‪getSource();
107 
114  public function ‪execute($returnRawQueryResult = false);
115 
126  public function ‪setOrderings(array $orderings);
127 
135  public function ‪setLimit($limit);
136 
144  public function ‪setOffset($offset);
145 
153  public function ‪matching($constraint);
154 
163  public function ‪logicalAnd($constraint1);
164 
173  public function ‪logicalOr($constraint1);
174 
181  public function ‪logicalNot(‪ConstraintInterface $constraint);
182 
195  public function ‪equals($propertyName, $operand, $caseSensitive = true);
196 
207  public function ‪like($propertyName, $operand);
208 
220  public function ‪contains($propertyName, $operand);
221 
231  public function ‪in($propertyName, $operand);
232 
241  public function ‪lessThan($propertyName, $operand);
242 
251  public function ‪lessThanOrEqual($propertyName, $operand);
252 
261  public function ‪greaterThan($propertyName, $operand);
262 
271  public function ‪greaterThanOrEqual($propertyName, $operand);
272 
278  // public function setType(string $type): void;
279 
285  public function ‪getType();
286 
294  public function ‪setQuerySettings(‪QuerySettingsInterface $querySettings);
295 
302  public function ‪getQuerySettings();
303 
309  public function ‪count();
310 
320  public function ‪getOrderings();
321 
327  public function ‪getLimit();
328 
334  public function ‪getOffset();
335 
341  public function ‪getConstraint();
342 
348  public function ‪setSource(‪SourceInterface $source);
349 
355  public function ‪getStatement();
356 }
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\getConstraint
‪ConstraintInterface null getConstraint()
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_LIKE
‪const OPERATOR_LIKE
Definition: QueryInterface.php:73
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_GREATER_THAN_OR_EQUAL_TO
‪const OPERATOR_GREATER_THAN_OR_EQUAL_TO
Definition: QueryInterface.php:68
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\getLimit
‪int getLimit()
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\getOffset
‪int getOffset()
‪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\QueryInterface\equals
‪TYPO3 CMS Extbase Persistence Generic Qom ComparisonInterface equals($propertyName, $operand, $caseSensitive=true)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_GREATER_THAN
‪const OPERATOR_GREATER_THAN
Definition: QueryInterface.php:63
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\ORDER_DESCENDING
‪const ORDER_DESCENDING
Definition: QueryInterface.php:99
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\setOrderings
‪TYPO3 CMS Extbase Persistence QueryInterface setOrderings(array $orderings)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_IN
‪const OPERATOR_IN
Definition: QueryInterface.php:83
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\execute
‪TYPO3 CMS Extbase Persistence QueryResultInterface object[] execute($returnRawQueryResult=false)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\setQuerySettings
‪setQuerySettings(QuerySettingsInterface $querySettings)
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\SourceInterface
Definition: SourceInterface.php:21
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\OrInterface
Definition: OrInterface.php:27
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\like
‪ComparisonInterface like($propertyName, $operand)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\lessThan
‪ComparisonInterface lessThan($propertyName, $operand)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_LESS_THAN_OR_EQUAL_TO
‪const OPERATOR_LESS_THAN_OR_EQUAL_TO
Definition: QueryInterface.php:58
‪TYPO3\CMS\Extbase\Persistence
Definition: ClassesConfiguration.php:18
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\in
‪ComparisonInterface in($propertyName, $operand)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\setOffset
‪TYPO3 CMS Extbase Persistence QueryInterface setOffset($offset)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\getSource
‪TYPO3 CMS Extbase Persistence Generic Qom SourceInterface getSource()
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\ORDER_ASCENDING
‪const ORDER_ASCENDING
Definition: QueryInterface.php:98
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_CONTAINS
‪const OPERATOR_CONTAINS
Definition: QueryInterface.php:78
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\matching
‪TYPO3 CMS Extbase Persistence QueryInterface matching($constraint)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\setSource
‪setSource(SourceInterface $source)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\getStatement
‪TYPO3 CMS Extbase Persistence Generic Qom Statement getStatement()
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\logicalAnd
‪AndInterface logicalAnd($constraint1)
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\ComparisonInterface
Definition: ComparisonInterface.php:62
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_IS_EMPTY
‪const OPERATOR_IS_EMPTY
Definition: QueryInterface.php:93
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\getOrderings
‪array< string, string > getOrderings()
‪TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface
Definition: QuerySettingsInterface.php:22
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\logicalOr
‪OrInterface logicalOr($constraint1)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_LESS_THAN
‪const OPERATOR_LESS_THAN
Definition: QueryInterface.php:53
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\lessThanOrEqual
‪ComparisonInterface lessThanOrEqual($propertyName, $operand)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_EQUAL_TO
‪const OPERATOR_EQUAL_TO
Definition: QueryInterface.php:33
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\setLimit
‪TYPO3 CMS Extbase Persistence QueryInterface setLimit($limit)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\getQuerySettings
‪TYPO3 CMS Extbase Persistence Generic QuerySettingsInterface getQuerySettings()
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\getType
‪string getType()
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\greaterThanOrEqual
‪ComparisonInterface greaterThanOrEqual($propertyName, $operand)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_NOT_EQUAL_TO
‪const OPERATOR_NOT_EQUAL_TO
Definition: QueryInterface.php:43
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface
Definition: ConstraintInterface.php:25
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\contains
‪ComparisonInterface contains($propertyName, $operand)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_EQUAL_TO_NULL
‪const OPERATOR_EQUAL_TO_NULL
Definition: QueryInterface.php:38
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_IS_NULL
‪const OPERATOR_IS_NULL
Definition: QueryInterface.php:88
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\count
‪int count()
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\AndInterface
Definition: AndInterface.php:25
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\logicalNot
‪TYPO3 CMS Extbase Persistence Generic Qom NotInterface logicalNot(ConstraintInterface $constraint)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\greaterThan
‪ComparisonInterface greaterThan($propertyName, $operand)