previousTranslation2::getStringID (Previous) (Next) Translation2::setCharsetnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Translation2::replaceEmptyStringsWithKeys

Translation2::replaceEmptyStringsWithKeys() – Replace the array values with their keys when empty

Synopsis

require_once 'Translation2.php';

array Translation2::replaceEmptyStringsWithKeys ( array $strings )

Description

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())

previousTranslation2::getStringID (Previous) (Next) Translation2::setCharsetnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.