TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Persistence\QueryResultInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Extbase\Persistence\QueryResultInterface:
Tx_Extbase_Persistence_QueryResultInterface TYPO3\CMS\Extbase\Persistence\Generic\QueryResult Tx_Extbase_Persistence_QueryResult

Public Member Functions

 getQuery ()
 
 getFirst ()
 
 toArray ()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! A lazy result list that is returned by Query::execute()

Definition at line 19 of file QueryResultInterface.php.

Member Function Documentation

◆ getFirst()

TYPO3\CMS\Extbase\Persistence\QueryResultInterface::getFirst ( )

Returns the first object in the result set

Returns
object

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\QueryResult.

◆ getQuery()

TYPO3\CMS\Extbase\Persistence\QueryResultInterface::getQuery ( )

Returns a clone of the query object

Returns

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\QueryResult.

◆ toArray()

TYPO3\CMS\Extbase\Persistence\QueryResultInterface::toArray ( )

Returns an array with the objects in the result set

Returns
array

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\QueryResult.