|
MediaWiki
master
|
Class to perform replacement based on a simple hashtable lookup. More...


Public Member Functions | |
| __construct ($table, $index=0) | |
| replace (array $matches) | |
Public Member Functions inherited from Replacer | |
| cb () | |
| replace (array $matches) | |
Public Attributes | |
| $index | |
Private Attributes | |
| $table | |
Class to perform replacement based on a simple hashtable lookup.
Definition at line 24 of file HashtableReplacer.php.
| HashtableReplacer::__construct | ( | $table, | |
$index = 0 |
|||
| ) |
| array | $table | |
| int | $index |
Definition at line 31 of file HashtableReplacer.php.
| HashtableReplacer::replace | ( | array | $matches | ) |
| HashtableReplacer::$index |
Definition at line 25 of file HashtableReplacer.php.
Referenced by __construct(), and replace().
|
private |
Definition at line 25 of file HashtableReplacer.php.
Referenced by __construct().