HiddenRestriction

class \TYPO3\CMS\Core\Database\Query\Restriction\HiddenRestriction

Implements
QueryRestrictionInterface

Restriction to filter records that have been marked as hidden

Table of Contents

Interfaces

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

Properties

$tcaSchemaFactory  : TcaSchemaFactory

Methods

__construct()  : mixed
buildExpression()  : CompositeExpression
Main method to build expressions for given tables Evaluates the ctrl/enablecolumns/disabled flag of the table and adds the according restriction if set

Properties

Methods

buildExpression()

Main method to build expressions for given tables Evaluates the ctrl/enablecolumns/disabled flag of the table and adds the according restriction if set

public buildExpression(array $queriedTables, ExpressionBuilder $expressionBuilder) : CompositeExpression

Parameters

$queriedTables : array

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)

On this page