MediaWiki  REL1_20
RegexlikeReplacer Class Reference

Class to replace regex matches with a string similar to that used in preg_replace() More...

Inheritance diagram for RegexlikeReplacer:
Collaboration diagram for RegexlikeReplacer:

List of all members.

Public Member Functions

 __construct ($r)
 replace ($matches)

Public Attributes

 $r

Detailed Description

Class to replace regex matches with a string similar to that used in preg_replace()

Definition at line 244 of file StringUtils.php.


Constructor & Destructor Documentation

Parameters:
$rstring

Definition at line 250 of file StringUtils.php.

References $r.


Member Function Documentation

Parameters:
$matchesarray
Returns:
string

Definition at line 258 of file StringUtils.php.

References $matches.


Member Data Documentation

RegexlikeReplacer::$r

Definition at line 245 of file StringUtils.php.

Referenced by __construct().


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