[TYPO3-project-4-3] Variation for TypoScript "if"

Stephan Petzl spetzl at gmx.at
Wed Jun 10 14:20:09 CEST 2009


JoH asenau wrote:
>> if.value = 1
>> if.isLessThan = 4
>> if.and.not.isLessThan = 2
>> if.or.equals = 2
> 
> And maybe this can be made even more clearly by using another notation:
> 
> if {
>     value = 1
>     isLessThan = 4
>     and {
>         not.isLessThan = 2
>     }
>    or {
>         equals = 2
>     }
> }
> 
> 
> Could be nested as well:
> 
> if {
>     value = 1
>     isLessThan = 4
>     and {
>         isLessThan = 2
>         or {
>             isInList = 1,2,3
>         }
>     }
>    or {
>         equals = 2
>         and {
>             isGreaterThan = 1
>         }
>     }
> }
> 
> What do you think?
> 
> Joey
> 

would be great!

-- 
Best Regards
Stephan Petzl
http://netrabbit.at


More information about the TYPO3-project-4-3 mailing list