MediaWiki REL1_31
|
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 () | |
Private Attributes | |
$index | |
$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 | ) |
array | $matches |
Reimplemented from Replacer.
Definition at line 40 of file HashtableReplacer.php.
|
private |
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().