Documentation

Replace
in package
implements iTransformation

Runs str_replace()

Tags
author

zozlak

Table of Contents

Interfaces

iTransformation
An interface for dissemination services parameters transformation

Methods

getName()  : string
Returns transformation name
transform()  : string
Returns str_replace()

Methods

getName()

Returns transformation name

public getName() : string
Return values
string

transform()

Returns str_replace()

public transform(string $value[, string $from = '' ][, string $to = '' ][, string $sep = '' ]) : string
Parameters
$value : string

value to be transformed

$from : string = ''
$to : string = ''
$sep : string = ''

if provided, $from and $to are split into arrays using $sep as a separator

Return values
string

        
On this page

Search results