$options
$options :
toFile(\Gettext\Translations $translations, string $file, array $options = array()) : boolean
Saves the translations in a file.
\Gettext\Translations | $translations | |
string | $file | |
array | $options |
toString(\Gettext\Translations $translations, array $options = array()) : string
Generates a string with the translations ready to save in a file.
\Gettext\Translations | $translations | |
array | $options |
toArray(\Gettext\Translations $translations, boolean $includeHeaders, boolean $forceArray = false) : array
Returns a multidimensional array.
\Gettext\Translations | $translations | |
boolean | $includeHeaders | |
boolean | $forceArray |
fromArray(array $messages, \Gettext\Translations $translations)
Extract the entries from a multidimensional array.
array | $messages | |
\Gettext\Translations | $translations |