Actions
Feature #18107
closedHook for manipulating the cHash
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
Actions