‪TYPO3CMS  10.4
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

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

Protected Attributes

 $resetSingletonInstances = true
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Tests\Unit\Database\Query\Restriction\AbstractRestrictionTestCase
TYPO3 CMS Core Database Query Expression 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 28 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,
string  $expectedSQL 
)
Parameters
string$tableName
string$tableAlias
int$workspaceId
bool$hiddenPagePreview
bool$hiddenRecordPreview
array$frontendUserGroups
string$expectedSQL
Test:
‪@dataProvider frontendStatesDataProvider

Definition at line 131 of file FrontendRestrictionContainerTest.php.

References $GLOBALS.

◆ frontendStatesDataProvider()

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

Definition at line 32 of file FrontendRestrictionContainerTest.php.

Member Data Documentation

◆ $resetSingletonInstances

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

Definition at line 30 of file FrontendRestrictionContainerTest.php.