TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
DefaultRestrictionContainer Class Reference
Inheritance diagram for DefaultRestrictionContainer:
AbstractRestrictionContainer QueryRestrictionContainerInterface QueryRestrictionInterface

Public Member Functions

 __construct ()
 
- Public Member Functions inherited from AbstractRestrictionContainer
 buildExpression (array $queriedTables, ExpressionBuilder $expressionBuilder)
 
 removeAll ()
 
 removeByType (string $restrictionType)
 
 add (QueryRestrictionInterface $restriction)
 

Protected Attributes

 $defaultRestrictionTypes
 
- Protected Attributes inherited from AbstractRestrictionContainer
 $restrictions = []
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractRestrictionContainer
 createRestriction ($restrictionClass)
 

Detailed Description

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

Definition at line 21 of file DefaultRestrictionContainer.php.

Constructor & Destructor Documentation

__construct ( )

Creates instances of the registered default restriction classes

Definition at line 38 of file DefaultRestrictionContainer.php.

References AbstractRestrictionContainer\add(), and AbstractRestrictionContainer\createRestriction().

Member Data Documentation

$defaultRestrictionTypes
protected
Initial value:
= [
DeletedRestriction::class,
HiddenRestriction::class,
StartTimeRestriction::class,
EndTimeRestriction::class
]

Definition at line 28 of file DefaultRestrictionContainer.php.