MediaWiki
1.33.0
|
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 () | |
Public Attributes | |
$index | |
Private Attributes | |
$table | |
Class to perform replacement based on a simple hashtable lookup.
Definition at line 26 of file HashtableReplacer.php.
HashtableReplacer::__construct | ( | $table, | |
$index = 0 |
|||
) |
array | $table | |
int | $index |
Definition at line 33 of file HashtableReplacer.php.
References $index, $table, table, and wfDeprecated().
HashtableReplacer::replace | ( | array | $matches | ) |
array | $matches |
Reimplemented from Replacer.
Definition at line 43 of file HashtableReplacer.php.
HashtableReplacer::$index |
Definition at line 27 of file HashtableReplacer.php.
Referenced by __construct(), and replace().
|
private |
Definition at line 27 of file HashtableReplacer.php.
Referenced by __construct().