DeletedRestriction implements QueryRestrictionInterface
Restriction to respect the soft-delete functionality of TYPO3.
Filters out records, that were marked as deleted.
Table of Contents
Interfaces
- QueryRestrictionInterface
- The main restriction interface. All restrictions (including the collections) must implement this.
Methods
- buildExpression() : CompositeExpression
- Main method to build expressions for given tables Evaluates the ctrl/delete flag of the table and adds the according restriction if set
Methods
buildExpression()
Main method to build expressions for given tables Evaluates the ctrl/delete flag of the table and adds the according restriction if set
    public
                    buildExpression(array<string|int, mixed> $queriedTables, ExpressionBuilder $expressionBuilder) : CompositeExpression
    Parameters
- $queriedTables : array<string|int, mixed>
- 
                    Array of tables, where array key is table alias and value is a table name 
- $expressionBuilder : ExpressionBuilder
- 
                    Expression builder instance to add restrictions with 
Return values
CompositeExpression —The result of query builder expression(s)