Documentation TYPO3 par Ameos |
Public Member Functions | |
__construct () | |
t3lib_matchCondition () | |
match ($condition_line) | |
evalConditionStr ($string) | |
testNumber ($test, $value) | |
matchWild ($haystack, $needle) | |
whichDevice ($useragent) | |
browserInfo ($useragent) | |
browserInfo_version ($tmp) | |
getGlobal ($var, $source=NULL) | |
getGP_ENV_TSFE ($var) | |
Public Attributes | |
$matchAlternative = array() | |
$matchAll = 0 | |
$altRootLine = array() | |
$hookObjectsArr = array() |
Definition at line 80 of file class.t3lib_matchcondition.php.
|
Constructor for this class
Definition at line 110 of file class.t3lib_matchcondition.php. References __construct(). |
|
Constructor for this class
Definition at line 92 of file class.t3lib_matchcondition.php. References t3lib_div::getUserObj(). Referenced by t3lib_matchCondition(). |
|
Generates an array with abstracted browser information This method is used in the function match() in this class
Definition at line 503 of file class.t3lib_matchcondition.php. References browserInfo_version(). Referenced by evalConditionStr(). |
|
Returns the version of a browser; Basically getting doubleval() of the input string, stripping of any non-numeric values in the beginning of the string first.
Definition at line 616 of file class.t3lib_matchcondition.php. Referenced by browserInfo(). |
|
Evaluates a TypoScript condition given as input, eg. "[browser=net][...(other conditions)...]"
Definition at line 165 of file class.t3lib_matchcondition.php. References browserInfo(), t3lib_div::cmpFQDN(), t3lib_div::cmpIP(), t3lib_div::compat_version(), getGP_ENV_TSFE(), t3lib_div::getIndpEnv(), t3lib_div::inList(), t3lib_div::isFirstPartOfStr(), matchWild(), t3lib_div::testInt(), testNumber(), t3lib_div::trimExplode(), and whichDevice(). Referenced by match(). |
|
Return global variable where the input string $var defines array keys separated by "|" Example: $var = "HTTP_SERVER_VARS | something" will return the value $GLOBALS['HTTP_SERVER_VARS']['something'] value
Definition at line 629 of file class.t3lib_matchcondition.php. |
|
Returns GP / ENV / TSFE vars
Definition at line 663 of file class.t3lib_matchcondition.php. References t3lib_div::_GP(), and t3lib_div::getIndpEnv(). Referenced by evalConditionStr(). |
|
Matching TS condition
Definition at line 120 of file class.t3lib_matchcondition.php. References evalConditionStr(). |
|
Matching two strings against each other, supporting a "*" wildcard or (if wrapped in "/") PCRE regular expressions
Definition at line 410 of file class.t3lib_matchcondition.php. Referenced by evalConditionStr(). |
|
Will evaluate a $value based on an operator: "<", ">" or "=" (default)
Definition at line 386 of file class.t3lib_matchcondition.php. Referenced by evalConditionStr(). |
|
Returns a code for a browsing device based on the input useragent string
Definition at line 434 of file class.t3lib_matchcondition.php. References t3lib_div::getUserObj(). Referenced by evalConditionStr(). |