TYPO3 API  SVNRelease
Protected Member Functions
t3lib_matchCondition_frontend Class Reference
Inheritance diagram for t3lib_matchCondition_frontend:
Inheritance graph
[legend]
Collaboration diagram for t3lib_matchCondition_frontend:
Collaboration graph
[legend]

List of all members.

Protected Member Functions

 evaluateCondition ($string)
 getVariable ($var)
 getGroupList ()
 determinePageId ()
 getPage ()
 determineRootline ()
 getUserFuncClassPrefix ()
 getUserId ()
 isUserLoggedIn ()
 log ($message)

Detailed Description

Definition at line 38 of file class.t3lib_matchcondition_frontend.php.


Member Function Documentation

t3lib_matchCondition_frontend::determinePageId ( ) [protected]

Determines the current page Id.

Returns:
integer The current page Id

Reimplemented from t3lib_matchCondition_abstract.

Definition at line 136 of file class.t3lib_matchcondition_frontend.php.

References $GLOBALS.

t3lib_matchCondition_frontend::determineRootline ( ) [protected]

Determines the rootline for the current page.

Returns:
array The rootline for the current page.

Reimplemented from t3lib_matchCondition_abstract.

Definition at line 154 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)...]"

Parameters:
string$string,:The condition to match against its criterias.
Returns:
boolean Whether the condition matched
See also:
t3lib_tsparser::parse()

Reimplemented from t3lib_matchCondition_abstract.

Definition at line 47 of file class.t3lib_matchcondition_frontend.php.

References $value, t3lib_matchCondition_abstract\evaluateConditionCommon(), getGroupList(), t3lib_div\inList(), and t3lib_div\trimExplode().

t3lib_matchCondition_frontend::getGroupList ( ) [protected]

Get the usergroup list of the current user.

Returns:
string The usergroup list of the current user

Reimplemented from t3lib_matchCondition_abstract.

Definition at line 126 of file class.t3lib_matchcondition_frontend.php.

References $GLOBALS.

Referenced by evaluateCondition().

t3lib_matchCondition_frontend::getPage ( ) [protected]

Gets the properties for the current page.

Returns:
array The properties for the current page.

Reimplemented from t3lib_matchCondition_abstract.

Definition at line 145 of file class.t3lib_matchcondition_frontend.php.

References $GLOBALS.

t3lib_matchCondition_frontend::getUserFuncClassPrefix ( ) [protected]

Get prefix for user functions (normally 'user_').

Returns:
string The prefix for user functions (normally 'user_').

Reimplemented from t3lib_matchCondition_abstract.

Definition at line 164 of file class.t3lib_matchcondition_frontend.php.

References $GLOBALS.

t3lib_matchCondition_frontend::getUserId ( ) [protected]

Get the id of the current user.

Returns:
integer The id of the current user

Reimplemented from t3lib_matchCondition_abstract.

Definition at line 174 of file class.t3lib_matchcondition_frontend.php.

References $GLOBALS.

t3lib_matchCondition_frontend::getVariable ( var) [protected]

Returns GP / ENV / TSFE vars

Parameters:
stringIdentifier
Returns:
mixed The value of the variable pointed to.

Reimplemented from t3lib_matchCondition_abstract.

Definition at line 101 of file class.t3lib_matchcondition_frontend.php.

References t3lib_matchCondition_abstract\getGlobal(), and t3lib_matchCondition_abstract\getVariableCommon().

t3lib_matchCondition_frontend::isUserLoggedIn ( ) [protected]

Determines if a user is logged in.

Returns:
boolean Determines if a user is logged in

Reimplemented from t3lib_matchCondition_abstract.

Definition at line 184 of file class.t3lib_matchcondition_frontend.php.

References $GLOBALS.

t3lib_matchCondition_frontend::log ( message) [protected]

Set/write a log message.

Parameters:
string$message,:The log message to set/write
Returns:
void

Reimplemented from t3lib_matchCondition_abstract.

Definition at line 198 of file class.t3lib_matchcondition_frontend.php.

References $GLOBALS.


The documentation for this class was generated from the following file: