registerStack[] = $GLOBALS['TSFE']->register; if (is_array($conf)) { $isExecuted = []; foreach ($conf as $theKey => $theValue) { $register = rtrim($theKey, '.'); if (!isset($isExecuted[$register]) || !$isExecuted[$register]) { $registerProperties = $register . '.'; if (isset($conf[$register]) && isset($conf[$registerProperties])) { $theValue = $this->cObj->stdWrap($conf[$register], $conf[$registerProperties]); } elseif (isset($conf[$registerProperties])) { $theValue = $this->cObj->stdWrap('', $conf[$registerProperties]); } $GLOBALS['TSFE']->register[$register] = $theValue; $isExecuted[$register] = true; } } } return ''; } }