TypoScript Utility
Load and progress faster with TypoScript.
- get ( $path = null, $pageUid = null, $populated = false)
-
Loads current TypoScript like TypoScriptUtility::get('plugin.tx_jarfeditor.settings')
- param string|null $path
-
Dot notated TypoScript path.
- param int|null $pageUid
-
PageUid from which page the TypoScript should be loaded (optional in Frontend).
- param bool $populated
-
should the Data be populated (f.e. "element = TEXT / element.value = Bla" => "element = Bla").
- Returns
-
The plain TypoScript array.
- convertTypoScriptArrayToPlainArray ( $typoscriptArray)
-
Wrapper for the Core convertTypoScriptArrayToPlainArray
- param array $typoscriptArray
-
A TypoScript array.
- Returns
-
The plain TypoScript array or "null" when not found.
- populateTypoScriptConfiguration ( $conf, $cObj = null)
-
Resolves cObjects and leaves values without deeper configuration as they are
- param array $conf
-
Plain TypoScript array.
- param null|ContentObjectRenderer $cObj
-
ContentObject which should be used.
Example:
# converts this typoscript array from ... hello = world element = TEXT element.value = Bla tree.value = Blupp # ... to this: hello = world element = Bla tree.value = Blupp
Copied!- Returns
-
The plain populated TypoScript array.