

Public Member Functions | |
| __construct () | |
Protected Member Functions | |
| initializeDeprecatedHooks () | |
| evaluateCondition ($string) | |
| getBrowserInfo ($userAgent) | |
| getDeviceType ($userAgent) | |
| getVariable ($var) | |
| getGroupList () | |
| determinePageId () | |
| determineRootline () | |
| getUserFuncClassPrefix () | |
| getUserId () | |
| isUserLoggedIn () | |
| log ($message) | |
Protected Attributes | |
| $deprecatedHooks = array() | |
Definition at line 38 of file class.t3lib_matchcondition_frontend.php.
| t3lib_matchCondition_frontend::__construct | ( | ) |
Constructor for this class
Reimplemented in t3lib_matchCondition.
Definition at line 49 of file class.t3lib_matchcondition_frontend.php.
References initializeDeprecatedHooks().
| t3lib_matchCondition_frontend::determinePageId | ( | ) | [protected] |
Determines the current page Id.
Reimplemented from t3lib_matchCondition_abstract.
Definition at line 220 of file class.t3lib_matchcondition_frontend.php.
References $GLOBALS.
| t3lib_matchCondition_frontend::determineRootline | ( | ) | [protected] |
Determines the rootline for the current page.
Reimplemented from t3lib_matchCondition_abstract.
Definition at line 229 of file class.t3lib_matchcondition_frontend.php.
References $GLOBALS, and t3lib_matchCondition_abstract::$rootline.
| t3lib_matchCondition_frontend::evaluateCondition | ( | $ | string | ) | [protected] |
Evaluates a TypoScript condition given as input, eg. "[browser=net][...(other conditions)...]"
| string | $string: The condition to match against its criterias. |
Reimplemented from t3lib_matchCondition_abstract.
Definition at line 81 of file class.t3lib_matchcondition_frontend.php.
References $key, $value, getGroupList(), t3lib_div::inList(), and t3lib_div::trimExplode().
| t3lib_matchCondition_frontend::getBrowserInfo | ( | $ | userAgent | ) | [protected] |
Generates an array with abstracted browser information
| string | $userAgent: The useragent string, t3lib_div::getIndpEnv('HTTP_USER_AGENT') |
Reimplemented from t3lib_matchCondition_abstract.
Definition at line 135 of file class.t3lib_matchcondition_frontend.php.
Referenced by initializeDeprecatedHooks().
| t3lib_matchCondition_frontend::getDeviceType | ( | $ | userAgent | ) | [protected] |
Gets a code for a browsing device based on the input useragent string.
| string | $userAgent: The useragent string, t3lib_div::getIndpEnv('HTTP_USER_AGENT') |
Reimplemented from t3lib_matchCondition_abstract.
Definition at line 156 of file class.t3lib_matchcondition_frontend.php.
References $GLOBALS, and t3lib_div::getUserObj().
Referenced by initializeDeprecatedHooks().
| t3lib_matchCondition_frontend::getGroupList | ( | ) | [protected] |
Get the usergroup list of the current user.
Reimplemented from t3lib_matchCondition_abstract.
Definition at line 210 of file class.t3lib_matchcondition_frontend.php.
References $GLOBALS.
Referenced by evaluateCondition().
| t3lib_matchCondition_frontend::getUserFuncClassPrefix | ( | ) | [protected] |
Get prefix for user functions (normally 'user_').
Reimplemented from t3lib_matchCondition_abstract.
Definition at line 239 of file class.t3lib_matchcondition_frontend.php.
References $GLOBALS.
| t3lib_matchCondition_frontend::getUserId | ( | ) | [protected] |
Get the id of the current user.
Reimplemented from t3lib_matchCondition_abstract.
Definition at line 249 of file class.t3lib_matchcondition_frontend.php.
References $GLOBALS.
| t3lib_matchCondition_frontend::getVariable | ( | $ | var | ) | [protected] |
Returns GP / ENV / TSFE vars
| string | Identifier |
Reimplemented from t3lib_matchCondition_abstract.
Definition at line 185 of file class.t3lib_matchcondition_frontend.php.
References $val, and t3lib_matchCondition_abstract::getGlobal().
| t3lib_matchCondition_frontend::initializeDeprecatedHooks | ( | ) | [protected] |
Initializes deprectated hooks that existed in t3lib_matchCondition until TYPO3 4.3.
Definition at line 58 of file class.t3lib_matchcondition_frontend.php.
References $GLOBALS, $TYPO3_CONF_VARS, t3lib_div::deprecationLog(), getBrowserInfo(), getDeviceType(), and t3lib_div::getUserObj().
Referenced by __construct().
| t3lib_matchCondition_frontend::isUserLoggedIn | ( | ) | [protected] |
Determines if a user is logged in.
Reimplemented from t3lib_matchCondition_abstract.
Definition at line 259 of file class.t3lib_matchcondition_frontend.php.
References $GLOBALS.
| t3lib_matchCondition_frontend::log | ( | $ | message | ) | [protected] |
Set/write a log message.
| string | $message: The log message to set/write |
Reimplemented from t3lib_matchCondition_abstract.
Definition at line 273 of file class.t3lib_matchcondition_frontend.php.
References $GLOBALS.
t3lib_matchCondition_frontend::$deprecatedHooks = array() [protected] |
Definition at line 42 of file class.t3lib_matchcondition_frontend.php.
1.4.7