MediaWiki REL1_31
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 (array $matches)
 
- Public Member Functions inherited from Replacer
 cb ()
 

Detailed Description

Class to perform secondary replacement within each replacement string.

Definition at line 24 of file DoubleReplacer.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 30 of file DoubleReplacer.php.

Member Function Documentation

◆ replace()

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

Reimplemented from Replacer.

Definition at line 40 of file DoubleReplacer.php.

References $matches.


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