media.exists ViewHelper <vhs:media.exists>
File/Directory Exists Condition ViewHelper.
Arguments
then
- DataType
- mixed
- Required
- false
- Description
- Value to be returned if the condition if met.
else
- DataType
- mixed
- Required
- false
- Description
- Value to be returned if the condition if not met.
file
- DataType
- string
- Required
- false
- Description
- Filename which must exist to trigger f:then rendering
directory
- DataType
- string
- Required
- false
- Description
- Directory which must exist to trigger f:then rendering