Documentation

SetParam
in package
implements iTransformation

Assuming value is an URL, sets a given query parameter value.

If a parameter already exists in the query string, it's overwritten.

Tags
author

zozlak

Table of Contents

Interfaces

iTransformation
An interface for dissemination services parameters transformation

Methods

getName()  : string
Returns transformation name
transform()  : string
Sets a given query parameter value in the URL. If the parameter already exists, its value is overwritten.

Methods

getName()

Returns transformation name

public getName() : string
Return values
string

transform()

Sets a given query parameter value in the URL. If the parameter already exists, its value is overwritten.

public transform(string $value[, string $paramName = '' ][, string $paramValue = '' ]) : string
Parameters
$value : string

URL to be transformed

$paramName : string = ''

query parameter name

$paramValue : string = ''

query parameter value

Return values
string

        
On this page

Search results