Replace
in package
implements
iTransformation
Runs str_replace()
Tags
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
stringtransform()
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