‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Database\Query\Restriction\QueryRestrictionContainerInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\Database\Query\Restriction\QueryRestrictionContainerInterface:
TYPO3\CMS\Core\Database\Query\Restriction\QueryRestrictionInterface TYPO3\CMS\Core\Database\Query\Restriction\AbstractRestrictionContainer TYPO3\CMS\Core\Database\Query\Restriction\LimitToTablesRestrictionContainer TYPO3\CMS\Core\Database\Query\Restriction\DefaultRestrictionContainer TYPO3\CMS\Core\Database\Query\Restriction\FrontendRestrictionContainer TYPO3\CMS\Core\Resource\Search\QueryRestrictions\FolderMountsRestriction TYPO3\CMS\Core\Resource\Search\QueryRestrictions\FolderRestriction TYPO3\CMS\Core\Tests\Unit\Database\Mocks\InstantiatableAbstractRestrictionContainer

Public Member Functions

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

Detailed Description

Interface that all restriction collections must implement. It is an extension of the QueryRestrictionInterface, so collections can be treated as single restriction

Definition at line 24 of file QueryRestrictionContainerInterface.php.

Member Function Documentation

◆ add()

QueryRestrictionContainerInterface TYPO3\CMS\Core\Database\Query\Restriction\QueryRestrictionContainerInterface::add ( QueryRestrictionInterface  $restriction)

◆ removeAll()

QueryRestrictionContainerInterface TYPO3\CMS\Core\Database\Query\Restriction\QueryRestrictionContainerInterface::removeAll ( )

◆ removeByType()

QueryRestrictionContainerInterface TYPO3\CMS\Core\Database\Query\Restriction\QueryRestrictionContainerInterface::removeByType ( string  $restrictionType)