Interface that key-mangling classes must implement. More...
Public Member Functions | |
setConf ($configuration) | |
General way to pass configuration to the mangler. | |
match ($string) | |
Match strings against a pattern. | |
mangle ($data) | |
Mangles a list of message keys. | |
unMangle ($data) | |
Reverses the operation mangle() did. | |
Static Public Member Functions | |
static | EmptyMatcher () |
Interface that key-mangling classes must implement.
The operations have to be reversible so that x equals unMangle( mangle( x ) ).
Definition at line 16 of file StringMatcher.php.
static StringMangler::EmptyMatcher | ( | ) | [static] |
Implemented in StringMatcher.
StringMangler::mangle | ( | $ | data | ) |
Mangles a list of message keys.
string|string[] | $data Unmangled message keys. |
Implemented in StringMatcher.
Referenced by WikiFormatReader::parseMessages().
StringMangler::match | ( | $ | string | ) |
Match strings against a pattern.
If string matches, mangle() should mangle the key.
string | $string Message key. |
Implemented in StringMatcher.
StringMangler::setConf | ( | $ | configuration | ) |
General way to pass configuration to the mangler.
array | $configuration |
Implemented in StringMatcher.
StringMangler::unMangle | ( | $ | data | ) |
Reverses the operation mangle() did.
string|string[] | $data Mangled message keys. |
Implemented in StringMatcher.