MediaWiki
REL1_19
|
Replacement array for FSS with fallback to strtr() Supports lazy initialisation of FSS resource. More...
Public Member Functions | |
__construct ($data=array()) | |
Create an object with the specified replacement array The array should have the same form as the replacement array for strtr() | |
__sleep () | |
__wakeup () | |
getArray () | |
merge ($other) | |
mergeArray ($data) | |
removeArray ($data) | |
removePair ($from) | |
replace ($subject) | |
setArray ($data) | |
Set the whole replacement array at once. | |
setPair ($from, $to) | |
Set an element of the replacement array. | |
Public Attributes | |
$data = false | |
$fss = false |
Replacement array for FSS with fallback to strtr() Supports lazy initialisation of FSS resource.
Definition at line 269 of file StringUtils.php.
ReplacementArray::__construct | ( | $ | data = array() | ) |
Create an object with the specified replacement array The array should have the same form as the replacement array for strtr()
Definition at line 277 of file StringUtils.php.
References $data.
Definition at line 281 of file StringUtils.php.
Definition at line 285 of file StringUtils.php.
Definition at line 297 of file StringUtils.php.
ReplacementArray::merge | ( | $ | other | ) |
Definition at line 314 of file StringUtils.php.
ReplacementArray::mergeArray | ( | $ | data | ) |
Definition at line 309 of file StringUtils.php.
References $data.
ReplacementArray::removeArray | ( | $ | data | ) |
Definition at line 324 of file StringUtils.php.
References $data, and removePair().
ReplacementArray::removePair | ( | $ | from | ) |
Definition at line 319 of file StringUtils.php.
Referenced by removeArray().
ReplacementArray::replace | ( | $ | subject | ) |
Definition at line 330 of file StringUtils.php.
References $result, wfProfileIn(), and wfProfileOut().
ReplacementArray::setArray | ( | $ | data | ) |
Set the whole replacement array at once.
Definition at line 292 of file StringUtils.php.
References $data.
ReplacementArray::setPair | ( | $ | from, |
$ | to | ||
) |
Set an element of the replacement array.
Definition at line 304 of file StringUtils.php.
ReplacementArray::$data = false |
Definition at line 270 of file StringUtils.php.
Referenced by __construct(), mergeArray(), removeArray(), and setArray().
ReplacementArray::$fss = false |
Definition at line 271 of file StringUtils.php.