Project

General

Profile

Actions

Feature #18107

closed

Hook for manipulating the cHash

Added by Volker Graubaum about 16 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2008-02-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

In some situations it would be nice, if the cHash could be manipulated by a userfunction e.g. when you want's to have different views on a page based on a session value

HEre is the hook, but a patch is needed in cHashParams

//updated 15.10.07 by Carsten Lausen, hook to extend cHashParams
global $TYPO3_CONF_VARS;
if (is_array($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_div.php']['cHashParams'])) {
foreach($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_div.php']['cHashParams'] as $classRef) {
$hookObj = &t3lib_div::getUserObj($classRef);
if (method_exists($hookObj, 'cHashParams')) {
$hookObj->cHashParams($params, $pA);
}
}
}

(issue imported from #M7369)


Files

T3X_feature_7369-0_0_0-z-200802042226.t3x (2.7 KB) T3X_feature_7369-0_0_0-z-200802042226.t3x Administrator Admin, 2008-02-04 22:38
0007369.patch (1.07 KB) 0007369.patch Administrator Admin, 2008-02-04 22:43
Actions #1

Updated by Oliver Hader about 16 years ago

Committed to SVN Trunk (rev. 3082)

Actions

Also available in: Atom PDF