Feature #23394 » t3lib_div.patch
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
|