Project

General

Profile

Feature #23394 » t3lib_div.patch

Administrator Admin, 2010-08-18 10:35

View differences:

class.t3lib_div.php (working copy)
return '\'' . $escapedValue . '\'';
}
/**
* Replace the XCLASS statement at end of a class file (avoid NOTICE ERROR, fix global scope)
*
* @param string $xclassKey
* @access static
* @return void
*/
public static function XCLASS($xclassKey) {
global $TYPO3_CONF_VARS;
if (defined('TYPO3_MODE') && isset($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS'][$xclassKey]) && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS'][$xclassKey]) {
self::requireOnce($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS'][$xclassKey])
}
}
/**
* Ends and cleans all output buffers
(1-1/2)