MediaWiki  REL1_24
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

Private Attributes

 $table

Detailed Description

Class to perform replacement based on a simple hashtable lookup.

Definition at line 386 of file StringUtils.php.


Constructor & Destructor Documentation

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

Definition at line 393 of file StringUtils.php.

References $index, $table, and table.


Member Function Documentation

Parameters:
array$matches
Returns:
mixed

Definition at line 402 of file StringUtils.php.

References $matches, and table.


Member Data Documentation

HashtableReplacer::$index

Definition at line 387 of file StringUtils.php.

Referenced by __construct().

HashtableReplacer::$table [private]

Definition at line 387 of file StringUtils.php.

Referenced by __construct().


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