‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Resource\Search\QueryRestrictions\FolderRestriction Class Reference
Inheritance diagram for TYPO3\CMS\Core\Resource\Search\QueryRestrictions\FolderRestriction:
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 (Folder $folder, bool $recursive)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Database\Query\Restriction\AbstractRestrictionContainer
CompositeExpression buildExpression (array $queriedTables, ExpressionBuilder $expressionBuilder)
 
 removeAll ()
 
 removeByType (string $restrictionType)
 
 add (QueryRestrictionInterface $restriction)
 

Private Member Functions

 populateRestrictions ()
 
 createHierarchicalFolderRestriction ()
 
 createFolderRestriction ()
 

Private Attributes

Folder $folder
 
bool $recursive
 

Additional Inherited Members

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

Detailed Description

Limits result to storage given by the folder and also restricts result to the given folder, respecting whether the storage has hierarchical identifiers or not.

Definition at line 29 of file FolderRestriction.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ createFolderRestriction()

TYPO3\CMS\Core\Resource\Search\QueryRestrictions\FolderRestriction::createFolderRestriction ( )
private

◆ createHierarchicalFolderRestriction()

TYPO3\CMS\Core\Resource\Search\QueryRestrictions\FolderRestriction::createHierarchicalFolderRestriction ( )
private

◆ populateRestrictions()

Member Data Documentation

◆ $folder

Folder TYPO3\CMS\Core\Resource\Search\QueryRestrictions\FolderRestriction::$folder
private

◆ $recursive

bool TYPO3\CMS\Core\Resource\Search\QueryRestrictions\FolderRestriction::$recursive
private