‪TYPO3CMS  10.4
TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory:
TYPO3\CMS\Extbase\Persistence\Generic\QueryFactoryInterface TYPO3\CMS\Core\SingletonInterface

Public Member Functions

 __construct (ObjectManagerInterface $objectManager, ConfigurationManagerInterface $configurationManager, DataMapFactory $dataMapFactory)
 
TYPO3 CMS Extbase Persistence QueryInterface create ($className)
 

Protected Attributes

TYPO3 CMS Extbase Object ObjectManagerInterface $objectManager
 
TYPO3 CMS Extbase Configuration ConfigurationManagerInterface $configurationManager
 
TYPO3 CMS Extbase Persistence Generic Mapper DataMapFactory $dataMapFactory
 

Detailed Description

The QueryFactory used to create queries against the storage backend

only to be used within Extbase, not part of TYPO3 Core API.

Definition at line 29 of file QueryFactory.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory::__construct ( ObjectManagerInterface  $objectManager,
ConfigurationManagerInterface  $configurationManager,
DataMapFactory  $dataMapFactory 
)
Parameters
\TYPO3\CMS\Extbase\Object\ObjectManagerInterface$objectManager
\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface$configurationManager
\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapFactory$dataMapFactory

Definition at line 48 of file QueryFactory.php.

References TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory\$configurationManager, TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory\$dataMapFactory, and TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory\$objectManager.

Member Function Documentation

◆ create()

TYPO3 CMS Extbase Persistence QueryInterface TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory::create (   $className)

Creates a query object working on the given class name

Parameters
string$className‪The class name
Returns
‪\TYPO3\CMS\Extbase\Persistence\QueryInterface
Exceptions

Implements TYPO3\CMS\Extbase\Persistence\Generic\QueryFactoryInterface.

Definition at line 65 of file QueryFactory.php.

References TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface\CONFIGURATION_TYPE_FRAMEWORK, TYPO3\CMS\Core\Utility\GeneralUtility\intExplode(), and TYPO3\CMS\Extbase\Persistence\QueryInterface\setQuerySettings().

Member Data Documentation

◆ $configurationManager

TYPO3 CMS Extbase Configuration ConfigurationManagerInterface TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory::$configurationManager
protected

◆ $dataMapFactory

TYPO3 CMS Extbase Persistence Generic Mapper DataMapFactory TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory::$dataMapFactory
protected

◆ $objectManager

TYPO3 CMS Extbase Object ObjectManagerInterface TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory::$objectManager
protected