‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\FrontendRestrictionContainerTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\FrontendRestrictionContainerTest:
TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\AbstractRestrictionTestCase

Public Member Functions

 buildExpressionAddsCorrectClause (string $tableName, string $tableAlias, int $workspaceId, bool $hiddenPagePreview, bool $hiddenRecordPreview, array $frontendUserGroups, ?array $localContextFrontendUserGroups, string $expectedSQL)
 

Static Public Member Functions

static frontendStatesDataProvider ()
 

Protected Attributes

bool $resetSingletonInstances = true
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\AbstractRestrictionTestCase
ExpressionBuilder $expressionBuilder
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\AbstractRestrictionTestCase
 setUp ()
 

Detailed Description

Definition at line 30 of file FrontendRestrictionContainerTest.php.

Member Function Documentation

◆ buildExpressionAddsCorrectClause()

TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\FrontendRestrictionContainerTest::buildExpressionAddsCorrectClause ( string  $tableName,
string  $tableAlias,
int  $workspaceId,
bool  $hiddenPagePreview,
bool  $hiddenRecordPreview,
array  $frontendUserGroups,
?array  $localContextFrontendUserGroups,
string  $expectedSQL 
)

Definition at line 142 of file FrontendRestrictionContainerTest.php.

References $GLOBALS.

◆ frontendStatesDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\FrontendRestrictionContainerTest::frontendStatesDataProvider ( )
static

Definition at line 34 of file FrontendRestrictionContainerTest.php.

Member Data Documentation

◆ $resetSingletonInstances

bool TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\FrontendRestrictionContainerTest::$resetSingletonInstances = true
protected

Definition at line 32 of file FrontendRestrictionContainerTest.php.