TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
QueryRestrictionInterface Interface Reference
Inheritance diagram for QueryRestrictionInterface:
BackendWorkspaceRestriction DeletedRestriction EndTimeRestriction FrontendGroupRestriction FrontendWorkspaceRestriction HiddenRestriction QueryRestrictionContainerInterface RootLevelRestriction StartTimeRestriction

Public Member Functions

 buildExpression (array $queriedTables, ExpressionBuilder $expressionBuilder)
 

Detailed Description

The main restriction interface. All restrictions (including the collections) must implement this.

Definition at line 24 of file QueryRestrictionInterface.php.

Member Function Documentation

buildExpression ( array  $queriedTables,
ExpressionBuilder  $expressionBuilder 
)

Main method to build expressions for given tables

Parameters
array$queriedTablesArray of tables, where array key is table name and value potentially an alias
ExpressionBuilder$expressionBuilderExpression builder instance to add restrictions with
Returns
CompositeExpression The result of query builder expression(s)

Implemented in FrontendWorkspaceRestriction, BackendWorkspaceRestriction, EndTimeRestriction, StartTimeRestriction, FrontendGroupRestriction, RootLevelRestriction, AbstractRestrictionContainer, DeletedRestriction, and HiddenRestriction.