Feature #29315 » t3lib_div.patch
t3lib/class.t3lib_div.php | ||
---|---|---|
if ($fileNotFound !== TRUE) {
|
||
$result = is_array($LOCAL_LANG) ? $LOCAL_LANG : array();
|
||
}
|
||
// Hook to post-process data read by readLLfile.
|
||
// Note that the data is overwritten with the return value of the
|
||
// hook method, so double check that your return value is correct.
|
||
if( is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_div.php']['afterReadLLfile']) ) {
|
||
foreach( $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_div.php']['afterReadLLfile'] as $classRef ) {
|
||
$hookObj = t3lib_div::getUserObj($classRef);
|
||
$result = $hookObj->afterReadLLfile( $result, $fileRef, $langKey, $charset, $errorMode );
|
||
}
|
||
}
|
||
return $result;
|
||
}
|
||