Translation2::replaceEmptyStringsWithKeys
Translation2::replaceEmptyStringsWithKeys() – Replace the array values with their keys when empty
Synopsis
require_once 'Translation2.php';
array Translation2::replaceEmptyStringsWithKeys (
array $strings
)
Описание
Replace the array values with their keys when empty, just like gettext would do.
Parameter
-
array
$strings
array of strings (e.g. as returned by getPage()) -