MediaWiki  REL1_22
PathRouterPatternReplacer Class Reference

List of all members.

Public Member Functions

 replace ($value)
 Replace keys inside path router patterns with text.

Public Attributes

 $error
 $key
 $params

Protected Member Functions

 callback ($m)

Detailed Description

Definition at line 356 of file PathRouter.php.


Member Function Documentation

Parameters:
$marray
Returns:
string

Definition at line 381 of file PathRouter.php.

Replace keys inside path router patterns with text.

We do this inside of a replacement callback because after replacement we can't tell the difference between a $1 that was not replaced and a $1 that was part of the content a $1 was replaced with.

Parameters:
$valuestring
Returns:
string

Definition at line 368 of file PathRouter.php.


Member Data Documentation

PathRouterPatternReplacer::$error

Definition at line 358 of file PathRouter.php.

PathRouterPatternReplacer::$key

Definition at line 358 of file PathRouter.php.

PathRouterPatternReplacer::$params

Definition at line 358 of file PathRouter.php.


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