‪TYPO3CMS  10.4
TYPO3\CMS\Core\Database\Query\Restriction\DefaultRestrictionContainer Class Reference
Inheritance diagram for TYPO3\CMS\Core\Database\Query\Restriction\DefaultRestrictionContainer:
TYPO3\CMS\Core\Database\Query\Restriction\AbstractRestrictionContainer TYPO3\CMS\Core\Database\Query\Restriction\QueryRestrictionContainerInterface TYPO3\CMS\Core\Database\Query\Restriction\QueryRestrictionInterface

Public Member Functions

 __construct ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Database\Query\Restriction\AbstractRestrictionContainer
CompositeExpression buildExpression (array $queriedTables, ExpressionBuilder $expressionBuilder)
 
QueryRestrictionContainerInterface removeAll ()
 
QueryRestrictionContainerInterface removeByType (string $restrictionType)
 
QueryRestrictionContainerInterface add (QueryRestrictionInterface $restriction)
 

Protected Attributes

string[] $defaultRestrictionTypes
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Database\Query\Restriction\AbstractRestrictionContainer
QueryRestrictionInterface[] $restrictions = array( )
 
QueryRestrictionInterface[] $enforcedRestrictions = array( )
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Database\Query\Restriction\AbstractRestrictionContainer
QueryRestrictionInterface createRestriction ($restrictionClass)
 

Detailed Description

This is the container with restrictions, that are added to any doctrine query

Definition at line 23 of file DefaultRestrictionContainer.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Database\Query\Restriction\DefaultRestrictionContainer::__construct ( )

Member Data Documentation

◆ $defaultRestrictionTypes

string [] TYPO3\CMS\Core\Database\Query\Restriction\DefaultRestrictionContainer::$defaultRestrictionTypes
protected
Initial value:
= array(
DeletedRestriction::class,
HiddenRestriction::class,
StartTimeRestriction::class,
EndTimeRestriction::class
)

Default restriction classes.

Definition at line 29 of file DefaultRestrictionContainer.php.