TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
QueryFactory Class Reference
Inheritance diagram for QueryFactory:
QueryFactoryInterface SingletonInterface

Public Member Functions

 injectObjectManager (\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
 
 injectConfigurationManager (\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager)
 
 injectDataMapper (\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper $dataMapper)
 
 create ($className)
 

Protected Attributes

 $objectManager
 
 $configurationManager
 
 $dataMapper
 

Detailed Description

The QueryFactory used to create queries against the storage backend

Definition at line 20 of file QueryFactory.php.

Member Function Documentation

create (   $className)

Creates a query object working on the given class name

Parameters
string$classNameThe class name
Returns
Exceptions
TYPO3

Implements QueryFactoryInterface.

Definition at line 68 of file QueryFactory.php.

References GeneralUtility\intExplode().

injectConfigurationManager ( \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface  $configurationManager)
Parameters
\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface$configurationManager

Definition at line 48 of file QueryFactory.php.

References QueryFactory\$configurationManager.

injectDataMapper ( \TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper  $dataMapper)
Parameters
\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper$dataMapper

Definition at line 56 of file QueryFactory.php.

References QueryFactory\$dataMapper.

injectObjectManager ( \TYPO3\CMS\Extbase\Object\ObjectManagerInterface  $objectManager)
Parameters
\TYPO3\CMS\Extbase\Object\ObjectManagerInterface$objectManager

Definition at line 40 of file QueryFactory.php.

References QueryFactory\$objectManager.

Member Data Documentation

$configurationManager
protected

Definition at line 30 of file QueryFactory.php.

Referenced by QueryFactory\injectConfigurationManager().

$dataMapper
protected

Definition at line 35 of file QueryFactory.php.

Referenced by QueryFactory\injectDataMapper().

$objectManager
protected

Definition at line 25 of file QueryFactory.php.

Referenced by QueryFactory\injectObjectManager().