OptionSplit

OptionSplit class.

author

Kasper Skårhøj

Methods

Implementation of the "optionSplit" feature in TypoScript (used eg. for MENU objects) What it does is to split the incoming TypoScript array so that the values are exploded by certain strings ("||" and "|*|") and each part distributed into individual TypoScript arrays with a similar structure, but individualized values.

split(array $conf, integer $splitCount) : array
static

The concept is known as "optionSplit" and is rather advanced to handle but quite powerful, in particular for creating menus in TYPO3.

author

Kasper Skårhøj

see \AdGrafik\GoogleMapsPHP\Utility\tslib_cObj::IMGTEXT(),

tslib_menu::procesItemStates()

todo

Define visibility

Arguments

$conf

array

A TypoScript array

$splitCount

integer

The number of items for which to generated individual TypoScript arrays

Response

array

The individualized TypoScript array.