X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Flocale%2Fsrc%2FPoDatabaseWriter.php;fp=web%2Fcore%2Fmodules%2Flocale%2Fsrc%2FPoDatabaseWriter.php;h=6ee494d8e484015eb746136397d281dbea081e22;hp=988f7f3be11f023cf94851547b7a7ce11c34c759;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/locale/src/PoDatabaseWriter.php b/web/core/modules/locale/src/PoDatabaseWriter.php index 988f7f3be..6ee494d8e 100644 --- a/web/core/modules/locale/src/PoDatabaseWriter.php +++ b/web/core/modules/locale/src/PoDatabaseWriter.php @@ -16,7 +16,7 @@ class PoDatabaseWriter implements PoWriterInterface { * An associative array indicating what data should be overwritten, if any. * * Elements of the array: - * - override_options + * - overwrite_options * - not_customized: boolean indicating that not customized strings should * be overwritten. * - customized: boolean indicating that customized strings should be @@ -109,6 +109,16 @@ class PoDatabaseWriter implements PoWriterInterface { /** * Set the options for the current writer. + * + * @param array $options + * An associative array containing: + * - overwrite_options: An array of options. Each option contains: + * - not_customized: Boolean indicating that not customized strings should + * be overwritten. + * - customized: Boolean indicating that customized strings should be + * overwritten. + * - customized: The strings being imported should be saved as customized. + * One of LOCALE_CUSTOMIZED or LOCALE_NOT_CUSTOMIZED. */ public function setOptions(array $options) { if (!isset($options['overwrite_options'])) {