Actions
Feature #15399
closedHook needed in class.t3lib_befunc.php, function getProcessedValue
Start date:
2006-01-12
Due date:
% Done:
0%
Estimated time:
PHP Version:
4
Tags:
Complexity:
Sprint Focus:
Description
I need a hook in the function getProcessedValue to postProcess the value of a record in the list-view. That can be used to format a value in some user-defined ways without changing the database. I need it to format a number to a specially human readable format.
My proposition (insert in line 1933, class.t3lib_befunc.php, function getProcessedValue):
// Hook for post-processing the human readable output from a record
if (is_array ($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['postProcessValue'])) {
foreach ($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['postProcessValue'] as $classRef) {
$hookObj = &t3lib_div::getUserObj($classRef);
$l = $hookObj->getProcessedValue_postProcessValue($theColConf,$value);
}
}
(issue imported from #M2243)
Files
Actions