Package

ViewHelpers

ViewHelper Documentation

v:if.client.isSystem

Will be removed in 2.0

Please don't do user agent sniffing. This is bad practice.

Condition: Client's System

A condition ViewHelper which renders the then child if client's operating system matches the system argument.

Example

<v:condition.system system="mac">
    Thank you for using Mac!
</v:condition.system>

Arguments

then anySimpleType

Value to be returned if the condition if met.

else anySimpleType

Value to be returned if the condition if not met.

system string

ViewHelper Resources

Schema Resources