[Typo3-dev] TypoScript 2: a bit of a RFC

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Nov 30 16:41:04 CET 2005


Dimitri Tarassenko schrieb:
> On 11/30/05, Martin Kutschker <Martin.Kutschker at n0spam-blackbox.net> wrote:
> 
>>Dimitri Tarassenko schrieb:
>>
>>>As an alternative:
>>>
>>>page.10(HTML) {
>>>    value = "HTML"
>>>}
>>
>>It's interesting that nobody objects the really ugly fact that 10 is an
>>array index.
>>
>>So it should become something like that
>>
>>page.body.10 ...
> 
> page[10](HTML) {

Still you have an anonymous property (COA). Remember, page is an object, 
not an array. page has many mor properties, not only the "body" COA.

>>If the first and last character are the same then treat them as quotes.
>>If not, it works as before (that is everythings is used after a trim).
>>Perhaps not every char should be allowed for quoting but only a few:
>>" ' #
> 
> 
> There is one problem with that - this only allows one-lined string
> values, while quotes are not dependant on line breaks.

But we have alread the brackets for that.

Masi




More information about the TYPO3-dev mailing list