4 use \TYPO3\CMS\Core\Utility\GeneralUtility;
37 public function getDocInstance() {
38 if ($this->viewHelperVariableContainer->exists(
39 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\AbstractBackendViewHelper',
43 $doc = $this->viewHelperVariableContainer->get(
44 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\AbstractBackendViewHelper',
50 $doc->backPath =
$GLOBALS[
'BACK_PATH'];
51 $this->viewHelperVariableContainer->add(
52 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\AbstractBackendViewHelper',
79 $GLOBALS[
'SOBE']->doc instanceof \
TYPO3\CMS\Backend\Template\DocumentTemplate
81 GeneralUtility::deprecationLog(
'Usage of $GLOBALS[\'SOBE\'] is deprecated since 6.0 and will be removed in 6.2 ->getDocInstance() should be used instead');
static makeInstance($className)
static deprecationLog($msg)
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]