73 $this->typoScriptSetup = $this->configurationManager->getConfiguration(\
TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT);
86 public function render($typoscriptObjectPath, $data = NULL, $currentValueKey = NULL, $table =
'') {
94 if (is_object($data)) {
96 } elseif (is_string($data) || is_numeric($data)) {
97 $currentValue = (string) $data;
102 $contentObject->start($data, $table);
103 if ($currentValue !== NULL) {
104 $contentObject->setCurrentVal($currentValue);
105 } elseif ($currentValueKey !== NULL && isset($data[$currentValueKey])) {
106 $contentObject->setCurrentVal($data[$currentValueKey]);
109 $lastSegment = array_pop($pathSegments);
111 foreach ($pathSegments as $segment) {
112 if (!array_key_exists(($segment .
'.'), $setup)) {
113 throw new \TYPO3\CMS\Fluid\Core\ViewHelper\Exception(
'TypoScript object path "' . htmlspecialchars($typoscriptObjectPath) .
'" does not exist', 1253191023);
115 $setup = $setup[$segment .
'.'];
117 $content = $contentObject->cObjGetSingle($setup[$lastSegment], $setup[$lastSegment .
'.']);
133 $GLOBALS[
'TSFE']->cObjectDepthCounter = 100;
static makeInstance($className)
static trimExplode($delim, $string, $removeEmptyValues=FALSE, $limit=0)
static getGettableProperties($object)
simulateFrontendEnvironment()
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]
$escapingInterceptorEnabled
injectConfigurationManager(\TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager)
resetFrontendEnvironment()