[TYPO3-dev] Fixing the last 20% and TypoScript annoyance
Dmitry Dulepov
dmitry.dulepov+t3ml at gmail.com
Tue Feb 9 19:42:01 CET 2010
Hi!
On 2010-02-09 16:38:50 +0200, JoH asenau said:
> This is what I first thought too, but then we will run into problems with
> any top level parameter which is NOT available as stdWrap function - unless
> you have an idea how to solve that.
But I do understand why we need this:
> source = blah
> source.stdWrap.field = blah
Instead of just:
source.field = blah
> The top level approach without stdWrap as a trigger will make checking more
> difficult, because we would have to check each and every top level parameter
> to decide if it is a stdWrap function or not.
I decided to look at tslib_cObj::stdWrap(), it checks for $conf being
array. So we are safe there. We may skip those checks.
--
Dmitry Dulepov
TYPO3 expert / TYPO3 core team member / TYPO3 security team member
Read more @ http://dmitry-dulepov.com/
More information about the TYPO3-dev
mailing list