![]() |
TYPO3
7.6
|
Protected Member Functions | |
evaluateCondition ($string) | |
getVariable ($var) | |
getGroupList () | |
determinePageId () | |
getPage () | |
determineRootline () | |
getUserId () | |
isUserLoggedIn () | |
log ($message) | |
getTypoScriptFrontendController () | |
getTimeTracker () | |
![]() | |
normalizeExpression ($expression) | |
evaluateConditionCommon ($key, $value) | |
parseUserFuncArguments ($arguments) | |
getVariableCommon (array $vars) | |
compareNumber ($test, $leftValue) | |
searchStringWildcard ($haystack, $needle) | |
getBrowserInfo ($userAgent) | |
getDeviceType ($userAgent) | |
getGlobal ($var, $source=null) | |
evaluateCondition ($string) | |
getVariable ($name) | |
getGroupList () | |
determinePageId () | |
getPage () | |
determineRootline () | |
getUserId () | |
isUserLoggedIn () | |
log ($message) | |
Additional Inherited Members | |
![]() | |
setPageId ($pageId) | |
getPageId () | |
setRootline (array $rootline) | |
getRootline () | |
setSimulateMatchResult ($simulateMatchResult) | |
setSimulateMatchConditions (array $simulateMatchConditions) | |
match ($expression) | |
![]() | |
$pageId | |
$rootline | |
$simulateMatchResult = false | |
$simulateMatchConditions = array() | |
Matching TypoScript conditions for frontend disposal.
Used with the TypoScript parser. Matches browserinfo and IP numbers for use with templates.
Definition at line 26 of file frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php.
|
protected |
Determines the current page Id.
Definition at line 131 of file frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php.
References ConditionMatcher\getTypoScriptFrontendController().
|
protected |
Determines the rootline for the current page.
Definition at line 151 of file frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php.
References ConditionMatcher\getTypoScriptFrontendController().
|
protected |
Evaluates a TypoScript condition given as input, eg. "[browser=net][...(other conditions)...]"
string | $string | The condition to match against its criterias. |
\TYPO3\CMS\Core\Configuration\TypoScript\Exception\InvalidTypoScriptConditionException |
Definition at line 37 of file frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php.
References AbstractConditionMatcher\evaluateConditionCommon(), ConditionMatcher\getGroupList(), GeneralUtility\inList(), and GeneralUtility\trimExplode().
|
protected |
Get the usergroup list of the current user.
Definition at line 121 of file frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php.
References ConditionMatcher\getTypoScriptFrontendController().
Referenced by ConditionMatcher\evaluateCondition().
|
protected |
Gets the properties for the current page.
Definition at line 141 of file frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php.
References ConditionMatcher\getTypoScriptFrontendController().
|
protected |
Definition at line 200 of file frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php.
References $GLOBALS.
Referenced by ConditionMatcher\log().
|
protected |
Definition at line 192 of file frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php.
References $GLOBALS.
Referenced by ConditionMatcher\determinePageId(), ConditionMatcher\determineRootline(), ConditionMatcher\getGroupList(), ConditionMatcher\getPage(), ConditionMatcher\getUserId(), and ConditionMatcher\isUserLoggedIn().
|
protected |
Get the id of the current user.
Definition at line 161 of file frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php.
References ConditionMatcher\getTypoScriptFrontendController().
|
protected |
Returns GP / ENV / TSFE vars
string | $var | Identifier |
Definition at line 97 of file frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php.
References AbstractConditionMatcher\getGlobal(), and AbstractConditionMatcher\getVariableCommon().
|
protected |
Determines if a user is logged in.
Definition at line 171 of file frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php.
References ConditionMatcher\getTypoScriptFrontendController().
|
protected |
Set/write a log message.
string | $message | The log message to set/write |
Definition at line 182 of file frontend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php.
References ConditionMatcher\getTimeTracker().