+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2016
+ * @copyright CiviCRM LLC (c) 2004-2017
*/
/**
return empty($errors) ? TRUE : $errors;
}
+ /**
+ * Set the default values for the form.
+ *
+ * @return array
+ */
public function setDefaultValues() {
parent::setDefaultValues();
}
/**
+ * Get the default locale options.
+ *
* @return array
*/
public static function getDefaultLocaleOptions() {
return $_currencySymbols;
}
+ /**
+ * Update session and uf_match table when the locale is updated.
+ *
+ * @param string $oldLocale
+ * @param string $newLocale
+ * @param array $metadata
+ * @param int $domainID
+ */
public static function onChangeLcMessages($oldLocale, $newLocale, $metadata, $domainID) {
if ($oldLocale == $newLocale) {
return;