‪TYPO3CMS  11.5
TYPO3\CMS\Frontend\Configuration\TypoScript\ConditionMatching\ConditionMatcher Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Configuration\TypoScript\ConditionMatching\ConditionMatcher:
TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\ConditionMatcherInterface

Public Member Functions

 __construct (?Context $context=null, ?int $pageId=null, ?array $rootLine=null, ?array $fullRootLine=null)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher
 setPageId ($pageId)
 
int getPageId ()
 
 setRootline (array $rootline)
 
array getRootline ()
 
 setSimulateMatchResult ($simulateMatchResult)
 
 setSimulateMatchConditions (array $simulateMatchConditions)
 
bool match ($expression)
 

Protected Member Functions

 updateExpressionLanguageVariables ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher
 initializeExpressionLanguageResolver ()
 
bool evaluateExpression (string $expression)
 

Protected Attributes

Context $context
 
array $fullRootLine
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcher
int $pageId
 
array $rootline
 
bool $simulateMatchResult = false
 
array $simulateMatchConditions = array( )
 
Resolver $expressionLanguageResolver
 
array $expressionLanguageResolverVariables = array( )
 

Detailed Description

Matching TypoScript conditions for frontend disposal.

Used with the TypoScript parser. Matches browserinfo and IP numbers for use with templates.

Definition at line 29 of file ConditionMatcher.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Frontend\Configuration\TypoScript\ConditionMatching\ConditionMatcher::__construct ( ?Context  $context = null,
?int  $pageId = null,
?array  $rootLine = null,
?array  $fullRootLine = null 
)

Member Function Documentation

◆ updateExpressionLanguageVariables()

TYPO3\CMS\Frontend\Configuration\TypoScript\ConditionMatching\ConditionMatcher::updateExpressionLanguageVariables ( )
protected

Member Data Documentation

◆ $context

Context TYPO3\CMS\Frontend\Configuration\TypoScript\ConditionMatching\ConditionMatcher::$context
protected

◆ $fullRootLine

array TYPO3\CMS\Frontend\Configuration\TypoScript\ConditionMatching\ConditionMatcher::$fullRootLine
protected