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 () | |
setArray ($data) | |
Set the whole replacement array at once. | |
getArray () | |
setPair ($from, $to) | |
Set an element of the replacement array. | |
mergeArray ($data) | |
merge ($other) | |
removePair ($from) | |
removeArray ($data) | |
replace ($subject) | |
Public Attributes | |
$data = false | |
$fss = false |
Definition at line 248 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 256 of file StringUtils.php.
References $data.
ReplacementArray::__sleep | ( | ) |
Definition at line 260 of file StringUtils.php.
ReplacementArray::__wakeup | ( | ) |
Definition at line 264 of file StringUtils.php.
ReplacementArray::getArray | ( | ) |
Definition at line 276 of file StringUtils.php.
ReplacementArray::merge | ( | $ | other | ) |
Definition at line 293 of file StringUtils.php.
ReplacementArray::mergeArray | ( | $ | data | ) |
ReplacementArray::removeArray | ( | $ | data | ) |
ReplacementArray::removePair | ( | $ | from | ) |
ReplacementArray::replace | ( | $ | subject | ) |
Definition at line 309 of file StringUtils.php.
References $result, wfProfileIn(), and wfProfileOut().
ReplacementArray::setArray | ( | $ | data | ) |
Set the whole replacement array at once.
Definition at line 271 of file StringUtils.php.
References $data.
ReplacementArray::setPair | ( | $ | from, | |
$ | to | |||
) |
ReplacementArray::$data = false |
Definition at line 249 of file StringUtils.php.
Referenced by __construct(), mergeArray(), removeArray(), and setArray().
ReplacementArray::$fss = false |
Definition at line 250 of file StringUtils.php.