MediaWiki  REL1_22
HashtableReplacer Class Reference

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

Inheritance diagram for HashtableReplacer:
Collaboration diagram for HashtableReplacer:

List of all members.

Public Member Functions

 __construct ($table, $index=0)
 replace ($matches)

Public Attributes

 $index
 $table

Detailed Description

Class to perform replacement based on a simple hashtable lookup.

Definition at line 382 of file StringUtils.php.


Constructor & Destructor Documentation

HashtableReplacer::__construct ( table,
index = 0 
)
Parameters:
$table
int$index

Definition at line 389 of file StringUtils.php.

References $index, $table, and table.


Member Function Documentation

Parameters:
array$matches
Returns:
mixed

Definition at line 398 of file StringUtils.php.

References $matches, and table.


Member Data Documentation

HashtableReplacer::$index

Definition at line 383 of file StringUtils.php.

Referenced by __construct().

HashtableReplacer::$table

Definition at line 383 of file StringUtils.php.

Referenced by __construct().


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