MediaWiki  1.23.0
DoubleReplacer Class Reference

Class to perform secondary replacement within each replacement string. More...

Inheritance diagram for DoubleReplacer:
Collaboration diagram for DoubleReplacer:

Public Member Functions

 __construct ( $from, $to, $index=0)
 
 replace ( $matches)
 
- Public Member Functions inherited from Replacer
 cb ()
 

Detailed Description

Class to perform secondary replacement within each replacement string.

Definition at line 362 of file StringUtils.php.

Constructor & Destructor Documentation

◆ __construct()

DoubleReplacer::__construct (   $from,
  $to,
  $index = 0 
)
Parameters
$from
$to
int$index

Definition at line 368 of file StringUtils.php.

References $from, and from.

Member Function Documentation

◆ replace()

DoubleReplacer::replace (   $matches)
Parameters
array$matches
Returns
mixed

Definition at line 378 of file StringUtils.php.

References $matches, and from.


The documentation for this class was generated from the following file: