Documentation

EmptyIf
in package
implements iTransformation

Conditionally removes parameter value

Tags
author

zozlak

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
string

transform()

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 = ''
Return values
string

        
On this page

Search results