#45488Support meaningful COA keys
Description
This patch add the possibility to use meaningful COA Keys.
It would be possible to use TypoScript like this:
@
plugin.tx_foobar.10_heading.10_bordertop.wrap = |
plugin.tx_foobar.30_footer.100_innertext.value = lorem ipsum
@
instead of:
@
plugin.tx_foobar.10.10.wrap = |
plugin.tx_foobar.30.100.value = lorem ipsum
@
This is way better to understand.
The Patch changes the sortedKeyList function in t3lib/class.t3lib_tstemplate.php.
Basically replacing t3lib_utility_Math::canBeInterpretedAsInteger($key) with preg_match('/^\d+.*/', $key) wich will match on all Integer values and every string beginning with an Integer.
This is a use-it-if-you-want-to feature, means you could user the actual way with integer-only keys in COA as well as the named keys.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.