‪TYPO3CMS  9.5
QueryInterface.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 
21 
26 {
31 
36 
41 
46 
51 
56 
61 
66 
70  const ‪OPERATOR_LIKE = 7;
71 
76 
80  const ‪OPERATOR_IN = 9;
81 
85  const ‪OPERATOR_IS_NULL = 10;
86 
91 
95  const ‪ORDER_ASCENDING = 'ASC';
96  const ‪ORDER_DESCENDING = 'DESC';
97 
105  public function ‪getSource();
106 
113  public function ‪execute($returnRawQueryResult = false);
114 
125  public function ‪setOrderings(array $orderings);
126 
134  public function ‪setLimit($limit);
135 
143  public function ‪setOffset($offset);
144 
152  public function ‪matching($constraint);
153 
162  public function ‪logicalAnd($constraint1);
163 
172  public function ‪logicalOr($constraint1);
173 
180  public function ‪logicalNot(‪ConstraintInterface $constraint);
181 
194  public function ‪equals($propertyName, $operand, $caseSensitive = true);
195 
206  public function ‪like($propertyName, $operand);
207 
219  public function ‪contains($propertyName, $operand);
220 
230  public function ‪in($propertyName, $operand);
231 
240  public function ‪lessThan($propertyName, $operand);
241 
250  public function ‪lessThanOrEqual($propertyName, $operand);
251 
260  public function ‪greaterThan($propertyName, $operand);
261 
270  public function ‪greaterThanOrEqual($propertyName, $operand);
271 
277  public function ‪getType();
278 
286  public function ‪setQuerySettings(Generic\QuerySettingsInterface $querySettings);
287 
294  public function ‪getQuerySettings();
295 
301  public function ‪count();
302 
312  public function ‪getOrderings();
313 
319  public function ‪getLimit();
320 
326  public function ‪getOffset();
327 
333  public function ‪getConstraint();
334 
343  public function ‪isEmpty($propertyName);
344 
350  public function ‪setSource(Generic\Qom\SourceInterface $source);
351 
357  public function ‪getStatement();
358 }
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\getConstraint
‪ConstraintInterface null getConstraint()
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_LIKE
‪const OPERATOR_LIKE
Definition: QueryInterface.php:70
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_GREATER_THAN_OR_EQUAL_TO
‪const OPERATOR_GREATER_THAN_OR_EQUAL_TO
Definition: QueryInterface.php:65
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\getLimit
‪int getLimit()
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\isEmpty
‪bool isEmpty($propertyName)
‪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:45
‪TYPO3\CMS\Extbase\Persistence\QueryInterface
Definition: QueryInterface.php:26
‪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:60
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\ORDER_DESCENDING
‪const ORDER_DESCENDING
Definition: QueryInterface.php:96
‪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:80
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\OrInterface
Definition: OrInterface.php:26
‪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:55
‪TYPO3\CMS\Extbase\Persistence
‪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:95
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_CONTAINS
‪const OPERATOR_CONTAINS
Definition: QueryInterface.php:75
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\matching
‪TYPO3 CMS Extbase Persistence QueryInterface matching($constraint)
‪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\QueryInterface\setQuerySettings
‪setQuerySettings(Generic\QuerySettingsInterface $querySettings)
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\ComparisonInterface
Definition: ComparisonInterface.php:61
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_IS_EMPTY
‪const OPERATOR_IS_EMPTY
Definition: QueryInterface.php:90
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\getOrderings
‪array getOrderings()
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\logicalOr
‪OrInterface logicalOr($constraint1)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_LESS_THAN
‪const OPERATOR_LESS_THAN
Definition: QueryInterface.php:50
‪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:30
‪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\setSource
‪setSource(Generic\Qom\SourceInterface $source)
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\execute
‪TYPO3 CMS Extbase Persistence QueryResultInterface array execute($returnRawQueryResult=false)
‪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:40
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface
Definition: ConstraintInterface.php:24
‪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:35
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_IS_NULL
‪const OPERATOR_IS_NULL
Definition: QueryInterface.php:85
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\count
‪int count()
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\AndInterface
Definition: AndInterface.php:24
‪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)