X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Flocale%2Fsrc%2FPoDatabaseWriter.php;h=6ee494d8e484015eb746136397d281dbea081e22;hb=9424afc6c1f518c301bf87a23c047d1873435d05;hp=988f7f3be11f023cf94851547b7a7ce11c34c759;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website 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'])) {