EmptyIf
in package
implements
iTransformation
Conditionally removes parameter value
Tags
Table of Contents
Interfaces
- iTransformation
- An interface for dissemination services parameters transformation
Methods
- getName() : string
- Returns transformation name
- transform() : string
- Returns empty value if query parameter of a given name has a given value or just is not empty if the $value is empty
Methods
getName()
Returns transformation name
public
getName() : string
Return values
stringtransform()
Returns empty value if query parameter of a given name has a given value or just is not empty if the $value is empty
public
transform(string $value[, string $varName = '' ][, string $varValue = '' ]) : string
Parameters
- $value : string
-
parameter value to be transformed
- $varName : string = ''
- $varValue : string = ''